Block Diagram of Digital Computer: Central Processing Unit (CPU) 1. 2. 3
Block Diagram of Digital Computer: Central Processing Unit (CPU) 1. 2. 3
Input units
1) A device used to enter information into a computer or other data processing device
2) Input device are used to feed data into the computer
3) Input device are used to enter the command, program, image as well as the device which are
used tom control various operation related to game and graphics
4) Digital computers need to receive data and instruction in order to solve any problem so they
need to input data and instructions. Input can be entered from a keyboard, a mouse pointing
device, a USB stick and the various types of photo storage cards used by digital cameras.
Input can also be downloaded from the Internet via a communications device.
All input peripheral devices perform the following functions:
Accept the data and instructions from the outside world.
Convert it to a form that the computer can understand.
Supply that converted data to the computer system for further processing.
Storage Units
The storage units of a digital computer hold data and instructions that have been entered through the
input units before and whilst they are being processed. They preserve the intermediate and final
results before they are sent to the output devices. They also save the data for the later use. The
various storage devices of a computer system are divided into two categories:
2. Secondary Storage.
1. It stores several programs, documents, data bases etc. The programs that you run on
the
2. Computer are first transferred to the primary memory before it is actually run.
Whenever the
3. results are saved, again they get stored in the secondary memory. The secondary
memory is slower and cheaper than the primary memory.
3.. Speed of this memory is slow. But we can use a vest amount of secondary memory to story
long size data.
5. Cost of Secondary memory is low.
6. Some of the commonly used secondary memory devices are Hard disk, CD, DVD, etc.
Output Units
Primary Storage:
Any storage unit of a computer is ranked according to the following criteria:
1. Access Time: This is the time required to locate and retrieve stored data from the storage unit in
response to a program instruction. A fast access time is preferred.
2. Storage capacity: It is the amount of data that can be stored in the storage unit. A large capacity
is desired.
3. Cost per bit of storage: Main goal is to minimize the cost of per bit storage.
1. RAM:
a) Stands for Random access Memory.
b) It stores temporary data into memory.
c) When the power supply is switched off, the information stored inside the RAM is Lost.
d) It stores essential data required to run programs, such as information and calculation.
e) It is also referred to as read/write memory because information can be read from a RAM
chip and also be written into it.
f) There are two type of RAM
1. S-RAM (Static RAM)
a Made by flip-flops , an electronic device ,which stores a bit as a voltage.
B Stores temporary data.
c. Costly-cost of per bit storage is high
d High speed
2. ROM:
a) Stands for Red only memory
b) typically used in computers to permanently hold data
c) The information from the memory can only be read and it is not possible to write fresh
information into it
d) It is supplied by the computer manufacturer and user can not modify the program stored
inside the ROM.
e) When the power supply is switched off, the information stored inside the RAM is Lost.
f) Read Only Memory is constructed from “hard-wire logic,” in a similar way to the processor,
meaning that it cannot be reprogrammed or changed. This is because it is designed to
perform a specific function, and does not need to be altered.
g) Example of ROM is a commercial CD purchased from a store; the manufacturers do not
want you to alter what is stored on the disk.
h) Type of ROM
a. Programmable Read only memory (PROM): User can write programs at one time and
read it many times. Once the chip has been programmed the recorded information cannot be
changed.
b. Erasable Programmable Read Only Memory (EPROM): Program can be read, erase and
reprogrammed. This type of ROM can only be reprogrammed using a special type of ultra-
violet light, and therefore is only reprogrammed by manufacturers.
Cache Memory
1. Cache (pronounced cash) memory is extremely fast memory that is built into a
computer’s central processing unit (CPU), or located next to it on a separate chip.
2. The CPU uses cache memory to store instructions that are repeatedly required to run
programs, improving overall system speed. As the microprocessor processes data, it looks
first in the cache memory.
Registers
1. Register is a special- purpose memory.CPU uses these registers to handle the process of
execution effectively and efficiently.
2. They are a part of the central processing unit but cannot be considered as a part of main
memory.
3. They can hold only one piece of data at a time.
4. Registers receive the information, hold it temporarily and pass it to other as directed by the
control unit.
5. The number of registers varies from computer to computer, each one designed to perform a
specific function. Registers have a specific storage capacity normally 14 registers are
present in a microcomputer. The most commonly used registers are:
1. Accumulator: stores the result of the last processing step of the ALU.
2. Instruction register: holds the instruction while it is being executed.
3. Address register: holds the location of the next piece of data.
4. Program counter: holds the address of the next instruction to e executed.
5. Input/output register: communicates with the input/output devices.
1. Secondary memory (or secondary storage) is the slowest and cheapest form of memory. It
cannot be processed directly by the CPU. It must first be copied into primary storage (also
known as RAM ).
2. Secondary memory devices include magnetic disks like hard drives and floppy
disks ; optical disks such as CDs and CDROMs ; and magnetic tapes, which were the first
forms of secondary memory.
System software
1) Syatem software are program which help in effective operation of the computer system
and improve its performance utilization
2) A set of one ro more program designed to the control the operation of a computer
system. They are general program written to assists human in the use of computer
system and for making the operation of the computer system more efficient.
3) System software is a set of one or more programs designed to control the operation of a
computer system.
Systems software includes the operating system and all the utilities that enable the
computer to function. For example Operating System, compiler, assembler, utilities etc
Application software
1) A application software is used to particaulr operation task
2) Application software is a set of one or more programs designed to carry out operations
for specific applications.
Or we can say Applications software includes programs that do real work
for users.
For example, word processors, spreadsheets, and database management
systems.
Operating System:
2. An Operating System (O.S.) is a set of programs that is used to manage the various resource
and overall operations of a computer installation.
3. Its prime objective is to improve the performance and efficiency of a computer system and
increase facility.
4. OS is responsible for the smooth and efficient operation of the entire computer system.
5. It makes the computer system user friendly.
6. It is considered the backbone of a computer, managing both software and hardware
resources.
7. An O.S. provides an environment for the execution of the program.
8. It works as a layer between hardware and application program.
User
Application Program
Operating System
Hardware
Functions of Operating System:
1. Process Management :
2. Memory Management :
3. Input / Output Management:
4. File Management :
5. Network Management :
6. Secondary storage management
7. Protection and security management
8. User interface
9. Communication Management
10. Interpretation of command and instructions.
Services of Operating System:
O.s. provides services for the convenience of the programmer, to make the programming task
easier. Some of these services are .
1. Program execution services
2. I/O operation services
3. File System services
4. Communication services
5. Error Detection services
6. Protection services
7. Accounting Services
7. Distributed System:
1. A recent trend in computer system is to distribute computation among several
processors. In contrast to tightly coupled system the processors do not share memory
or a clock. Instead each processor has its own memory and clock.
2. The processors communicate with one another through various communication lines
such as high speed buses or telephone lines.
3. These systems are usually referred to as distributed system or loosely coupled
system.
4. The processors in a distributed system may vary in size and function.
5. They may include small micro processors, work stations, mini computers and large
general purpose computer systems.
6. These processors are referred to by a number of different names, such as sites, nodes,
computers, and so on depending on the context in which they mentioned.
7. There are variety of reasons for building distributed system, the major ones being:
o Resource Sharing.
o Computation Speedup.
o Reliability and
o Communication.
Generations of Computer:
First Generation (1945-1955)
1. In this generation Vacuum tubes were used to design the computer
2. Too bulky in size
3. Not portable
4. Limited commercial used
5. Large amount of heat generated
6. Air conditioning required
7. High Electricity Consumption
8. Very costly
9. Perform computations in milliseconds
10. Prone to Frequent hardware failures , so constant maintenance required
11. Unreliable
Ex: UNIVAC I (UNIVersal Automatic Computer).