HTML & CSS
718 subscribers
728 photos
1 video
4 files
54 links
πŸ‘Œ HTML & CSS
@html_css_tut

πŸ‘ŒJavaScript
@javascript_tut

πŸ‘Œ PHP
@php_tut


πŸ‘ŒAll About Coding
@codingWithElias
Download Telegram
Operating system (OS)

πŸ’Ž Operating system coordinates the activity between the user and the computer.

πŸ’Ž It serves as an intermediary between programs and hardwares.

Types of Operating Systems:

i. Single-user / Single tasking OS
πŸ“Œ Only one program can be
run on a computer at a time.
πŸ“Œ Also can serve only
one user at a time.

ii. Single-user / multi-tasking OS
πŸ“Œ desktop and laptop computers now day
πŸ“Œ popular OS's Like
πŸ’ŽLinux (Ubuntu)
πŸ’ŽWindows
πŸ’ŽmacOS

iii. Multi-user
πŸ“Œ Unix, VMS and mainframe operating systems, such as MVS (Multiple Virtual Storage).

iv. Real Time Operating System
πŸ“Œ is capable of processing data so quickly that the results are available to influence the activity currently taking place.

πŸ“Œ are used to control machinery, scientific instruments and industrial systems.

@Computer_science_course
2. Language Software

πŸ’ŽAre software which are used by programmers to develop application software and translate programs to machine code.

πŸ’ŽLanguage software is a generic name consisting of various programs that serve as
πŸ“Œ editors
πŸ“Œ and translators to develop programs in a number of programming languages.

@Computer_science_course
Translator

πŸ’Ž program that converts one or more languages to another language.
▢️ Three types of translators
I) Assemblers:
is a program that translates assembly languages into machine code.

II) Compiler:
is a program that translates a high level language into machine code.
>> creates an executable program.
πŸ“Œ C++, JAVA, C# and e.t.c

III) Interpreter:
is a program that translates each instruction of high level language & executes the instruction before translating the next instruction.
πŸ“Œ PHP, JAVASCRIPT, PYTHON and e.t.c

@Computer_science_course
▢️ High-level programming languages
Vs
▢️ Low-level programming languages


▢️ A High-level language
is a programming language designed to simplify computer programming.

πŸ’Ž High-level source code contains easy-to-read syntax for human.
πŸ’Ž Most common programming languages are considered
high-level languages.
C++, C#, Java, JavaScript, PHP, Python...

▢️ A Low-level language
πŸ’Ž is a programming language that deals with a computer's hardware components and constraints.

πŸ’Ž May also be referred to as a computer’s native language.

πŸ’Ž Machine language and assembly language are popular examples of low-level languages.

@Computer_science_course
▢️ Procedural
Vs ▢️ Object Oriented
Vs ▢️ Structured programming languages

▢️ A procedural programming language
πŸ’Žconsists of a set of procedure calls and a set of code for each procedure. Example: BASIC

▢️ A structural programming language emphasizes on separating a program’s data from its functionality. Example: C

▢️ Object oriented languages are based on entities known as objects. Example: Java

@Computer_science_course
Application Software

πŸ“Œ Is software that is designed to perform tasks for the specific area or areas by using more than one installation.

πŸ“Œ Are usually called application packages as they may include a number of programs along with operating instruction, documentation and so forth.

@Computer_science_course
Malwares

⚠️ Are computer programs that interfere with a computer's hardware and operating system.

⚠️ There are different types of malware that contain unique traits and characteristics.
Virus

⚠️ Is the most common type of malware,
and it's defined as a malicious program that can execute itself and spreads by infecting other programs or files.

⚠️ A virus is a piece of software that can "infect" other programs by modifying them.

⚠️ Similar to biological virus: Replicates and Spreads Some exists to simply replicate
themselves.

⚠️ Others can do serious damage such as erasing file…

@Computer_science_course
Worm

⚠️Is a type of malware that can self-replicate without a host program.

⚠️ Worms typically spread without any human interaction or directives from the malware authors.

⚠️ A Trojan horse is a malicious program that is designed to appear as a legitimate program.

⚠️ once activated following installation, Trojans can execute their malicious functions.

@Computer_science_course
Spyware

⚠️ Is a kind of malware that is designed to collect information and data on users and observe their activity without users' knowledge.


Other types of malware include functions or features designed for a specific purpose.

Ransomware

⚠️ for example, is designed to infect a user's system and encrypt the data.

⚠️ Cybercriminals then demand a ransom payment from the victim in exchange for decrypting the system's data.

@Computer_science_course
Computer Number System

1. Bit:
πŸ“Œ Is the smallest unit of data representation.
πŸ“Œ Is a space that can hold a single state.

2. Byte:
πŸ“Œ Is the smallest unit of data measurement.
πŸ“Œ Is a single group of 8 bits. [1 Byte = 8 Bits.]

3. Word:
πŸ“Œ Is a group of 8 Bytes. [1 word = 8 Bytes.]

@Computer_science_course
Decimal Number System

Z = {0,1,2,3,4,5,6,7,8,9};
Base = 10

πŸ“Œ Each position to the left of a digit increases by a power of 10.

πŸ“Œ Each position to the right of a digit decreases by a power of 10.

@Computer_science_course
Binary Number System

πŸ“Œ Has two states 1(ON state)
and 0(OFF state).

Z = {0,1};
Base = 2

Unsigned number representation

With n bits we can represent 2^n unsigned integer numbers.

⚠️Remember: This ^ Indicates The Power Of

❗️ Range: from 0 to 2^n -1

So with 8 bits we can represent 2^8 = (256) numbers from 0 to 2^8 -1 = (255).

πŸ“Œ Each position to the left of a digit increases by a power of 2.
πŸ“Œ Each position to the right of a digit decreases by a power of 2.

Example:
(11001)2 = 1*2^0 + 0*2^1 + 0*2^2 + 1*2^3 + 1*2^4
= (25)10

@Computer_science_course
Signed number representation

▢️ Here we would need to consider sign, meaning we represent both positive and negative numbers.

πŸ“Œ Sign and magnitude
With this method we reserve the most significant bit of the left most bit for sign.

This bit is called sign bit.

range becomes from -2^n-1 -1 to 2^n-1 -1

@Computer_science_course
▢️ Binary to decimal conversion
πŸ“ŒExample @Computer_science_course