Professional Documents
Culture Documents
Lecture 2
Lecture 2
Lecture 2
Yasir Sajjad
4.1 – CONTROL UNIT (CU)
2
ARITHMETIC/LOGIC UNIT -
ALU
The arithmetic/logic unit is responsible of performing arithmetic and
Subtraction
Multiplication
Division
3
Basis Control Unit Arithmetic Logic Unit
It is responsible to direct the system and execute It is responsible to perform all the tasks to
Relation the instructions. complete the CU instruction.
4
BITS AND BIT PATTERNS
Text characters
Images
Sound
And others
BOOLEAN OPERATIONS
true/false values
Specific operations
AND
OR
NOT
THE BOOLEAN OPERATIONS AND, OR,
AND XOR (EXCLUSIVE OR)
LOGIC GATES
A device that performs a basic operation on electrical signals, accepting one
or more input signals and producing a single output
Signal each input and output value is either 0 or 1
0 for a low-voltage signal
1 for a high-voltage signal
8
9
CIRCUIT
A combination of interacting gates designed to accomplish a specific
logical function is known as a circuit.
10
FLIP-FLOPS
Flip-flop: A circuit built from gates that can store one bit.
While both input lines are 0, the most recently stored value is preserved
A SIMPLE FLIP-FLOP CIRCUIT
SOFTWARE
Computer instructions or data, anything that can be stored electronically
is Software. For Example. MS Word, MS Excel, Firefox etc.
System Software: Set of programs that coordinates activities and
functions of the hardware and various other programs
Application Software: Programs that help users solve particular
computing problems. In most cases, application software resides
on the computer’s hard disk. Application software can also be
stored on CDs, DVDs, and flash or keychain storage devices
Application
Application Systems
Systems
software
software software
software
Users
Hardware
SYSTEM SOFTWARE
work.
hardware.
Examples: Windows, Linux, Unix and Mac OS, etc.,
OPERATING SYSTEM– USER
INTERFACE
User interface
A function of the operating system that allows individuals to
access and command the computer
Command-based user interface
A particular user interface that requires text commands be given to
the computer to perform basic activities
E.g., Unix, DOS
Graphical user interface (GUI)
A user interface that uses pictures (icons) and menus displayed on
the screen to send commands to the computer system
E.g. Windows, MAC OS
OPERATING SYSTEM
FUNCTIONS
Perform common computer hardware functions
Manage files
OPERATING SYSTEM
CONCEPTS
Hardware independence
software
When the hardware is changed, the operating system is changed so that the
Example: