HTML & CSS
719 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
Hard Disk Drive(HDD)

πŸ’Ž is part of a computer system which reads from and writes data on a disk which in turn becomes a file.

πŸ“Œ A high capacity magnetic disk made up of metal which can be fixed in the system unit of the computer.

πŸ“Œ Serves as a secondary storage.

πŸ“Œ The amount of time it takes to retrieve (or store) data from (or to) disk is called the disk access time.

@Computer_science_course
4. Input/Output (IO) Devices

▢️ Input Devices

πŸ“Œ Is the unit used to enter data into the computer so that it can be processed.

πŸ“Œ It converts information from a form suitable to human beings to one understandable by the computer.
πŸ“ŒKeyboard
πŸ“ŒMouse
πŸ“ŒScanner and etc.

▢️ Output Devices

πŸ“Œ Used to get data out of a computer so that it can be examined, analyzed or distributed to others.

πŸ“Œ Convert the result of the only-machine understandable form to a form understandable by human beings.
πŸ“ŒThe Visual Display Unit (VDU) or monitor or screen,
πŸ“ŒPrinters and etc

@Computer_science_course
5. Communication Bus

πŸ’Ž We have seen that there are different components of a computer and each performs a specific function.

πŸ’Ž But to perform a given task in synchronized form there should be some mechanism of communication.

πŸ’Ž For this reason, there is an electronic circuit which produces communication path between the different components of a computer system along which
data are transferred, that is Bus.

▢️ Internal Bus
which communicates the different parts of the CPU.

▢️ External Bus
which communicates the CPU with memory and peripheral devices.

πŸ’Ž The size of the bus determines the speed of
efficiency of the computer.

@Computer_science_course
Computer Software

πŸ“Œ Software serves as an interface between a user and a computer.

πŸ“Œ Hardware needs instructions in order to solve problem.

πŸ“Œ The finite set of instructions (steps) that the computer follows to perform a given job is called a program.

πŸ“Œ Any program to be executed first it should reside / loaded/ in the memory.

@Computer_science_course
Computer software is classified into two

1. System Software
2. Application Software

@Computer_science_course
1. System Software

Constitutes those programs which facilitates the work of the computer hardware.

πŸ’Ž It organizes and manages the machine’s resources, handles the input/output devices.

πŸ’Ž It controls the hardware by performing functions that users shouldn’t have to or are unable to handle.

πŸ’Ž System programs make complex hardware more users friendly.

πŸ’Ž It acts as intermediate between the user and the hardware.

πŸ’Ž It enables the computer understand programming languages i.e. it serves as means of communication between user and a computer.

πŸ’ŽThe important categories of system software are:

I. Operating system
II. Language software

@Computer_science_course
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