Hardware
π Is the physical equipment of the computer
you see, you use to and the parts you can touch.
πBasic Physical components of a computer system.
πThe basic units of a computer system include
πCentral Processing Unit
(CPU),
πStorage Devices,
πInput Devices,
πOutput Devices
πand Communication Bus.
@Computer_science_course
π Is the physical equipment of the computer
you see, you use to and the parts you can touch.
πBasic Physical components of a computer system.
πThe basic units of a computer system include
πCentral Processing Unit
(CPU),
πStorage Devices,
πInput Devices,
πOutput Devices
πand Communication Bus.
@Computer_science_course
1β£Central Processing Unit (CPU) or Processor
π Brain of the system
π Depending on the instructions
of input devices it performs
operations on the data.
π It also controls the flow of data through the
system, directing the data to enter the system, placing it in memory and retrieving it when
required and directing the output.
@Computer_science_course
π Brain of the system
π Depending on the instructions
of input devices it performs
operations on the data.
π It also controls the flow of data through the
system, directing the data to enter the system, placing it in memory and retrieving it when
required and directing the output.
@Computer_science_course
π The CPU consists of Arithmetical Logic Unit and Control Unit
βΆοΈ ALU (Arithmetical Logic Unit):
It takes logical decision and performs all type of arithmetical calculations.
βΆοΈ CU (Control unit):
πIt controls all the activities of other units of computer system.
π It receives instructions from memory unit.
π It decodes these instructions.
π It decides the routing and storage of these instructions.
@Computer_science_course
βΆοΈ ALU (Arithmetical Logic Unit):
It takes logical decision and performs all type of arithmetical calculations.
βΆοΈ CU (Control unit):
πIt controls all the activities of other units of computer system.
π It receives instructions from memory unit.
π It decodes these instructions.
π It decides the routing and storage of these instructions.
@Computer_science_course
2β£Primary Storage Devices / Main Memory
βΆοΈ RAM (Random Access Memory)
π directly accessible by the CU and ALU
π Usually referred as Random Access Memory (RAM) because each memory location can be accessed without having to work sequentially through hundreds or even
thousands of memory locations called addresses;
π Holds instructions and data elements which are currently being used by the computer.
π The data Will be lost when the power is off;
βΆοΈ ROM (Read Only Memory)
π This type of memory is integrated into the circuitry of the computer and cannot be altered without altering the computer circuitry.
π Used to store basic hardware information.
@Computer_science_course
βΆοΈ RAM (Random Access Memory)
π directly accessible by the CU and ALU
π Usually referred as Random Access Memory (RAM) because each memory location can be accessed without having to work sequentially through hundreds or even
thousands of memory locations called addresses;
π Holds instructions and data elements which are currently being used by the computer.
π The data Will be lost when the power is off;
βΆοΈ ROM (Read Only Memory)
π This type of memory is integrated into the circuitry of the computer and cannot be altered without altering the computer circuitry.
π Used to store basic hardware information.
@Computer_science_course
3β£Secondary Storage Devices/ Auxiliary Memory
Secondary storage can take many forms, which have traditionally included
πpunched cards
πpapers tape
πmagnetic tape
πmagnetic disk
πHDD (hard disk drive)
πand magnetic drum.
This storage media are stores data and information permanently.
@Computer_science_course
Secondary storage can take many forms, which have traditionally included
πpunched cards
πpapers tape
πmagnetic tape
πmagnetic disk
πHDD (hard disk drive)
πand magnetic drum.
This storage media are stores data and information permanently.
@Computer_science_course
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
π 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
βΆοΈ 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
π 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
π 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
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
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
π 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
π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
π 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
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
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
π 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
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
β οΈ 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
β οΈ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