ITB - Unit 1
ITB - Unit 1
ITB - Unit 1
Modern computers are electronic and digital. The actual machinery - wires, transistors,
and circuits – is called hardware; the instructions and data are called software.
In addition to these components, many others make it possible for the basic components
of a computer to work together efficiently.
Types of Computers
Computers can be classified by their size and power as follows:
• Personal computer: A small, single-user computer based on a microprocessor. In addition
to the microprocessor, a personal computer has a keyboard for entering data, a monitor for
displaying information, and a storage device for saving data.
• Workstation: A powerful, single-user computer. A workstation is like a personal
computer, but it has a more powerful microprocessor and a higher-quality monitor.
• Minicomputer: A multi-user computer capable of supporting 10 to hundred of users
simultaneously.
• Mainframe: A powerful multi-user computer capable of supporting many
hundreds ofusers simultaneously.
• Supercomputer: An extremely fast computer that can perform hundreds of
millions ofinstructions per second.
[‘/Characteristics of Computers:
All computers have certain common characteristics irrespective of their type and size.
Computers are not just adding machines; they are capable of doing complex activities and
operations. They can be programmed to do complex, tedious and monotonous tasks. Computes
are what they are because of the following characteristics.
Word Length:
A digital computer operates on binary digits – 0 and 1. It can understand information
onlyin terms of 0’s and 1’s. A binary digit is called a bit; a group of 8 bits is called a byte. The
number of bits that a computer can process at a time in parallel it called its word length.
Commonly used word lengths are 8, 16, 32, 64 bits. Word length is the measure of the
computing power of a computer.
Speed:
Computer can calculate at very high speeds. A microcomputer, for example, can execute
millions of instructions per second over and over again without any mistake. As the power of
the computer increase, the speed also increases.
Storage:
Computers have their main memory and auxiliary memory systems. A computer can
store a large amount of data. With more and more auxiliary storage devices, which are capable
of storing huge amounts of data, the storage capacity of a computer is virtually unlimited. The
factor that makes computer storage unique is not that it can store vast amount of data, but the
fact that it can retrieve the information that the user wants in a few seconds.
Accuracy:
The accuracy of a computer system is very high, Errors in hardware can occur, but error
detecting and correcting techniques will prevent false results. In most cases, the errors are
dueto the human factor rather than the technological flaws.
Versatility:
Computers are very versatile machines. They can perform activities ranging from simple
calculations to performing complex CAD modeling and simulation to navigating missiles and
satellites. In other words, they are capable of performing almost any task, provided the task
can be reduced to a series of logical steps. Computers can communicate with other computers
and cam receive and send data in various forms like text, sound, video, graphics, etc. This
computer to communicate to one another has led to the development of computer
networks,Internet, WWW and so on.
Automation:
The level of automation achieved in a computer is phenomenal. Once a task is initiated,
computers can proceed on its own till its completion. Computers can be programmed to
performa series of complex tasks involving multiple programs. Computers will perform these
things flawlessly.
They will execute the programs in the correct sequence, they will switch on/off the
machines at the appropriate time, they will monitor the operational parameters, and they will
send warning signals or take corrective actions if the parameters exceed the control level, and
soon. Computers are capable of these levels of automation, provided they are programmed
correctly.
Diligence:
Diligence means being constant and earnest in effort and application. Human beings
suffer from weakness like tiredness, lack of concentration, etc. Being a machine, a computer
does not have any of these human weaknesses.
They will not go into depression or lose concentration. They will perform the tasks that
are given to them, irrespective of whether it is interesting, creative, and monotonous or boring,
irrespective of whether it is the first time or the millionth time, with exactly the same accuracy
and speed.
CLASSIFICATION OF DIGITAL COMPUTER
Computer systems are classified as Microcomputers, Minicomputers, Mainframes and
Supercomputers.
Micro Computers:
The most familiar kind of computer is the microcomputer. In the past, microcomputers
have been considered to be of two types- Personal Computers and Workstations.
Personal Computers (PCs):
PCs were desktop or portable machines. These machines ran comparatively easy-to-use
applications software such as the word processors, spreadsheets, and etc. they were usually easier
to use and more affordable than workstations. However, they had less sophisticated video display
screens, operating systems and networking capabilities. Most important, they did not have the
processing power that workstations did. Examples of personal computers are Acer’s Aspire,
Compaq Presario, etc.
Workstations:
Workstations are, expensive, powerful machines used by engineers, scientists, and other
professionals who processed a lot of data. People who need to run complex programs and display
both work in progress and results graphically also use workstations. Workstations use
sophisticated display screens featuring high-resolution colour graphics and operating systems
such as UNIX that permitted multitasking workstations also use powerful networking links to
other computers. It has powerful processor, which could churn out results much faster than the
PCs. Example Sun, Apollo, Hewlett-Packard, NeXt and IBM.
Portable Computers:
Now, computers are becoming smaller yet more powerful. The portable computer, can be
easily carried around. There are three categories of portable computers: Laptops or Notebook
PCs, Sub notebooks and Personal Digital Assistants.
Laptops / Notebooks:
Laptops may be either AC-powered, battery-powered, or both. These computers are ideal
for users who have to work away from their offices. The uses of these computers might be an
executive on the move, a student, a journalist, a salesperson, etc. These computes combine the
power of the PC with mobility. An example is IBM ThinkPad.
Subnotebooks:
Subnotebooks are for frequent flyers and life-on-the-road professionals. Subnotebook users
give up a full display screen and keyboard in exchange for less weight. These computers fit easily
into any briefcase. They typically have an external floppy disk drive and monochrome monitor,
although of late colour models are available.
Personal Digital Assistant (PDAs):
PDAs are much smaller than the subnotebooks. They combine pen input, writing
recognition, personal organizational tools, and communication capabilities in a very small
package.
Typical users are executives, businessmen, etc. who use these machines for their day-to-
day activities – scheduling, organization, etc. an example of a PDA is Apple’s ipad.
Minicomputers:
Minicomputers are special purpose mainframe computers, they were used to control
machine in a manufacturing unit. However, now they are widely used as general-purpose
computes. Minicomputers work well in what are known as Distributed Data Processing g (DDP).
That is, a company’s processing power is decentralized, or distributed across different computers.
Mainframes:
Mainframe computers can process several million-program instructions per second, large
organizations rely on these room-size systems to handle large programs with lots of data.
Mainframes are mainly used by insurance companies, banks, airline and railway
reservation system, etc.
Supercomputers:
Supercomputers are the fastest calculation devices ever invented. A supercomputer can
operate at speeds measured in nanoseconds and even in picoseconds. These machines are for
applications requiring very large programs and huge amounts of data that must be processed
quickly. Examples of such task are weather forecasting, oil exploration, weapons research, and
large-scale simulation.
The chief difference between a supercomputer and a mainframe is that a supercomputer
channels all its power into executing a few programs as fast as possible, whereas as mainframe
uses its power to execute many programs concurrently. More powerful supercomputer thousands
of integrated microprocessors.
Network Computers:
Network computers are computers with minimal memory, disk storage and processor
power designed to connect to a network, especially the Internet. The idea behind network
computers is that many users who are connected to a network don’t need all the computer power
they get from a typical personal computer. Instead, they can rely on the power of the network
servers. Network computers minimizing the amount of memory and processor power required by
the workstation.
Input Unit:
In this unit devices are connected externally to entering data into the computer. It is
medium for making connection between user and interface. It transfer data, which is made by
human being and make them understandable form for computers. Examples of input devices:
• Memory
• Arithmetic and logical unit
• Control Unit
Memory:
It is term, which is used in data storage, and also stored important information of data for
future use and also transfer to another device when needed. We can say that it is primary type of
storage or internal memory. Internal memory is executed through two types of memory
technology
Control Unit:
It defines by controlling all operation of all parts of computer. It takes information from
memory and determines where is to be taken. It gives result in the output form in memory
section.
Computer Architecture
Working principle
ROM RAM
06 00:
07 01:
02:
08 . .
.. . .
.. . .
Data Bus
I/O Instruction:
➢ Special I/O instructions are used to instruct the processor that data has to becommunicated to IO.
➢ There can be a spate address and Data bus for the I/O devices.
I/O Processor:-
➢ The most efficient way to connect to peripheral devices without tying up processortime.
➢ I/O processors are separate devices.
➢ Processor stores the data to be sent to a peripheral in separate places.
➢ Then it instructs the I/O processor to take care of the data
Memory Cache:-
➢ Memory cache is a block of fast RAM placed between processor and slower memory
➢ Processor issues the I/O command and instructs the cache to hold data until thetransaction is finished
so that µp can go to next instruction.
MEMORY UNITS
RAM
RAM ROM
SRAM DRAM
Classification of
Memory
➢ Auxiliary storage or secondary storage is the memory that supplements the main
storage.
➢ They are non-volatile memory.
➢ Unlike RAM or ROM, these memory devices are Read-Write memory and can
store datasemi permanently.
➢ They are useful to transfer data from one computer to another.
➢ They can also function as backup devices.
➢ There are 2 types of auxiliary storage devices based on type of data access.
i) Sequential Access Media
ii) Random Access Media
➢ In sequential access media, the data can be read in sequence and to get to a
particularpoint, you have to go through all the preceding points.
E.g.: Magnetic Tape
➢ In random access (direct access), a disk drive can access any point at random
withouthaving to pass through the preceding points.
E.g.: CD, DVD, etc.
➢ Various storage devices are:
Magnetic Tape, Winchester Disk, Hard Disk, Floppy Disk, Zip Disk, Jaz Disk, Super
Disk, Optical Disk, CD-ROM, CD-R, CD-RW, Mo Drive, DVD, Blue Ray Disk,
Pen Drive,SD Card, etc.
Note: Number System and Compliments were discussed and done in
class…Refer class notes
Truth Tables
Truth tables are used to help show the function of a logic gate. If you are unsure
about truth tables and need guidance on how go about drawing them for individual
gates or logic circuits then use the truth table section link.
Logic gates
Digital systems are said to be constructed by using logic gates. These gates are the
AND, OR, NOT, NAND, NOR, EXOR and EXNOR gates. The basic operations are
described below with the aid of truth tables.
AND gate
The AND gate is an electronic circuit that gives a high output (1) only
if all its inputs are high. A dot (.) is used to show the AND operation
i.e. A.B. Bear in mind that this dot is sometimes omitted i.e. AB
OR gate
The OR gate is an electronic circuit that gives a high output (1) if one
or more of its inputs are high. A plus (+) is used to show the OR
operation.
NOT gate
The NOT gate is an electronic circuit that produces an inverted version of the
input at its output. It is also known as an inverter. If the input variable is A,
the inverted output is known as NOT A. This is also shown as A', or A with
a bar over the top, as shown at the outputs. The diagrams below show two
ways that the NAND logic gate can be configured to produce a NOT gate. It
can also be done using NOR logic gates in the same way.
NAND gate
NOR gate
EXOR gate
The 'Exclusive-OR' gate is a circuit which will give a high output
if either, but not both, of its two inputs are high. An encircled plus
sign ( ) is used to show the EOR operation.
EXNOR gate
The 'Exclusive-NOR' gate circuit does the opposite to the EOR gate. It will give a
low output if either, but not both, of its two inputs are high. The symbol is an
EXOR gate with a small circle on the output. The small circle represents inversion.
The NAND and NOR gates are called universal functions since with either one the
AND and OR functions and NOT can be generated.
Note:
Table 2 is a summary truth table of the input/output combinations for the NOT gate
together with all possible input/output combinations for the other gate functions.
Also note that a truth table with 'n' inputs has 2n rows. You can compare the outputs
of different gates.
BOOLEAN ALGEBRA
Using the theorems of Boolean Algebra, the algebraic forms of functions can
often be simplified, which leads to simpler (and cheaper) implementations.
Example 1
= A. (B + B) + B.C
= A.1 + B.C
= A + B.C
Example 2
A + AB
= A.1 + A.B
= A. (1 + B)
= A. 1
=A
https://www.gatevidyalay.com/tag/karnaugh-map-pdf-notes/