Typesof Computer
Typesof Computer
By
Dr. Munish Vashishath
Professor in Electronics Engg.
YMCA University of Science & Technology,
Faridabad
ALU
OUTPUT
INPUT Devices
Devices
Control Unit
DATAPATH CONTROLSIGNALS
CPU
The main function of ALU is to perform arithmetic and
logical operations on binary numbers.
BUS
The interconnections (known as Interfacing) between the 5
units of computer system is carried by 3 basic buses i)
Address Bus ii) Data Bus iii) Control Bus. A bus(from the
Latin omnibus, meaning "for all") is essentially a set of wires
which is used in computer system to carry information of the
same logical functionality. The function of the 3 buses is
The address bus selects memory location or an I/O
device for the CPU.
The data bus transfers information between the
microprocessor and its memory or I/O device. Data transfer
can vary in size, from 8-bits wide to 64 bits wide in various
members of microprocessors.
The Control bus generates command signals to
synchronise the CPU operation with IO and Memory
devices.
Clarification of Digital Computers
• Multiple displays
• The computer recognizes and operates in the binary language. The binary
is written in the form of 0s and 1s. The 0s and 1s are called as bits. The bit
is an abbreviation of binary digit. The group of 4 bits is called as nibble
while the group of 8 bits is called as byte.
The user can easily write the programs in hexadecimal system than
the binary system.
• The program has to translate to the machine level language before the
execution. A program which translates the assembly level language
into the machine level language is known as an assembler.
• Self or resident assembler is program which produce the object code for
the same microprocessor for which it is written. Cross assembler is a
program which produces the object code for the other microprocessors
also.
• The assembly level language programs are used for moderate size of
programming in real time applications, and where small data is to be
handled, microprocessor-based system for industrial control etc.
Demerits:
• Programming is difficult and time consuming.
• It has to translate into machine level language. So an assembler is required.
• Assemble level language is machine oriented. The user should have the
knowledge of architecture of that particular microcomputer.
• Assembly level language is not portable. The program written for one
microcomputer cannot be used for other microcomputer as each microcomputer
has its own instruction set.
• Library facility is not available for the assembly level language programs.
• Assembly level language programs are lengthy as compared to high level
language programs.
Friday, April 8, 2022 21
High Level Language
• To overcome the difficulties in writing the assembly level language the
programmer can use the high level language.
• The instruction in high level language are known as statements.
• The high level languages are procedure oriented not the computer oriented
i.e. the knowledge of architecture of that particular microcomputer is not
needed for the programmer for programming.
• The high level languages are portable i.e. the program written for one
microcomputer can be used for other microcomputer.
• Writing a program in a high level language is easier and faster because one
statement in high level language corresponds to many mnemonics in the
assembly level language.
• As the computers recognize the machine level language, the high level
language/ source program must be transferred to machine level language/
object code before execution. The high level languages are FORTRAN, C,
C+, COBOL, PASCAL, and BASIC etc.