Professional Documents
Culture Documents
5554113
COMPUTER SCIENCE
COMPUTER ARCHITECTURE
CHAPTER # 5
COMPUTER ARCHITECTURE:
Computer architecture means Structure of Computer. Computer
architecture describes a computer system by specifying its parts and their
relations.
Main Memory:
Memory or computer storage is an electronic file that is used to place
data until needed.
Also called Primary memory or Internal memory.
Memory is used to store data temporary or permanently.
Data stored in memory can be used for required task.
RAM and ROM are most commonly used as main memory.
Input Unit:
Input unit is used to communicate with computer.
Input unit is used to feed Instructions/Commands in computer.
Output Unit:
These are also peripheral devices that transfer data from main memory
to user.
Output unit receives data from main memory in binary form and
converts it into user readable form.
Some common output devices are
Monitors
Printers
Plotters
Speaker
Fax Machine (etc).
BUSES:
Buses are wires, which used to carry data from one location to other
inside the CPU.
Three main buses are
Data Bus
Address Bus
Control Bus
Data Bus:
It is 8-bit bus.
It is Bi-Directional bus.
Data sent from Processor to Memory (Write operation) or from Memory
to Processor (Read operation).
Address Bus:
It is 16-bit bus.
It is Uni-Directional bus.
It carries 16-bit address code from “Processor to Memory”, which is
accessing for a Read or Write operation.
Control Bus:
It is grouping of timing and control signals of processor.
It synchronizes the speed of processor with the other units of
computer.
PORTS:
Port is a hole or connection found on the front or back of
a computer that allows computers to access external devices such as
printers.
Ports are combination of wires through which data travels.
Some Common types of ports are
Parallel Port
Serial Port
USB Port
Parallel Port:
Connection of 8 or more wires through which data bits can flow at
once.
It can handle large amount of data.
Serial Port:
Data bits can flow one at a time.
It can handle less data than Parallel port.
USB Ports:
Universal Serial Bus (USB) is a high speed connection between computers
and I/O devices.
REGISTERS:
Registers are very high-speed memory inside the CPU.
Very small in size.
Temporary storage for memory Addresses and Instructions during the
execution of the program.
Read and execute the instructions.
Processing speed depends upon the size of register.
Some common registers are
Instruction Register (IR)
Data Address Register (DAR)
Program Counter (PC)
Accumulator(A) and Data Register (DR)
SYSTEM SOFTWARE:
Three types of system software are
Operating Systems
Operating Environment
Utilities
Operating Systems:
Main tasks of operating system are
Disk Operations (Storing Programs and data on disk).
Network Operations (Sharing of Hardware and Software Resources).
Multi-tasking (Many tasks can be handle at same time).
Multi-user (Many people can use computer at same time).
Operating Environment:
Enable user to communicate with computer.
Two common types are
Command-Line Interfaces
Graphical User Interfaces (GUI)
Example:
MS-DOS
Utilities:
Carrying out operating system tasks in a more efficient and easier way.
Examples are
Windows Explorer
All Control Panel programs (Data and Time, Add/Remove
Programs, installing new Hardware, Display, Sound etc.)