DIT 222 Support Lesson
DIT 222 Support Lesson
Introduction
A computer is an electronic machine that accepts data from
the user, processes the data by performing calculations and
operations on it, and generates the desired output results.
An integrated circuit
Third Generation (1963 To 1972)
Using Integrated Circuits
• This computers used less power and generated less heat than the
second generation computers.
Analog computers may be more flexible but generally less precise than
digital computers.
Continued…
C. Hybrid Computers
Are computers that exhibit features of analog
computer and digital computers. The digital component normally serves as
the controller and provides logical operations, while the analog component
normally serves as a solver of differential equations.
Classification Based On Purpose
permanently stored into the internal memory, so that it can perform the given task on a
single command.
Classification Based On Purpose
B. General Purpose Computers
General Purpose computers are designed to meet the needs of many different
applications. In these computers, the instructions needed to perform a particular task
are wired permanently into the internal memory.
Classification Based On Size, Processing
Power, Storage Capacity.
A. Supercomputer
• Supercomputers are the fastest and the most expensive machines. They have high
processing speed compared to other computers. The speed of a supercomputer is
generally measured in FLOPS (Floating point Operations Per Second).
• Supercomputers are used for highly calculation-intensive tasks, such as, weather
forecasting, climate research etc.
The users can access the minicomputer through their PCs or terminal. They are used
for real-time applications in industries, research centers, etc. PDP 11, IBM (8000
series) are some of the widely used minicomputers.
D. Microcomputers
Microcomputers are small, low-cost and single-user digital computer.
They consist of CPU, input unit, output unit, storage unit and the software. Although
microcomputers are stand-alone machines, they can be connected together to
create a network of computers that can serve more than one user.
a. Hardware
b. Software
c. Data
d. Users
Hardware
• The hardware consists of physical devices of the computer.
significance.
• Example: the data ‘29, January, and 1994’ just represent values.
some meaningful information. For example: 29, January and 1994 are processed
It performs some actions on the data by using the instructions or program given by the
user of the data.
The action could be an arithmetic or logic calculation, editing, modifying a document, etc.
During processing, the data, instructions and the output are stored temporarily in the
computer’s main memory.
The Input-Process-Output
• Output Concept
The output is the result generated after the processing of data. The output may
be in the form of text, sound, image, document, etc. The computer may display
the output on a monitor, send output to the printer for printing, play the output,
etc.
• Storage
The input data, instructions and output are stored permanently in the secondary
storage devices like disk or tape. The stored data can be retrieved later,
whenever needed.
Components of Computer
Hardware
• The computer system hardware
comprises of three main components:
a) Input/output (I/O) Unit
c) Memory Unit.
Application of Computers
• Computers have proliferated into various areas of our lives. For a user,
how the hardware components operate and the way they are connected to
of parts.
Hardware
• A computer consists of three main components:
• The most common input device and the one you will probably have to learn
how to use is the keyboard.
These devices control the position of the cursor –pointer on the screen. Pointing devices
include:
• Light pens
• Digitizing tablets
• Pen-based systems
Keyboard
The keyboard is the commonest input device. It is usually connected to the
system unit of the computer through a serial port with a cable.
The keys on the keyboard can be divided into four groups namely:
• Standard keys
• Cursor-movement keys
• Numeric keys
• Function keys
Keyboard
Keyboard
• The Standard typing keys are similar to that of the typewriter
with the familiar QWERTY arrangement of letter, number, and
punctuation keys.
The Caps Lock, Shift, and Tab keys and also the Space bar
work the same way as they do on a typewriter keyboard.
Keys labeled Page Up and Page Down move the cursor the
equivalent of one screen (page) up (backward) and down
(forward) at a time respectively
Keyboard
• Numeric keys are laid out separately on the numeric keypad–a
separate set of keys, 0 through 9 like those on a calculator –on
the standard 101-key keyboard previously known as the AT-
style keyboard
And when the Num Lock is on, the keys may be used for
entering numbers, as on a calculator.
• It looks like the mouse turn upside down; instead of moving the
mouse around, you move the trackball with the tips of your
fingers.
• Impact printers (e.g. Dot Matrix) are very cheap and getting out
of the market while the non-impact (laser, bubble jet, etc.) are
expensive and produce quality output
(GHz).
• Registers
Arithmetic Logic Unit
ALU performs Arithmetic and Logic Operations, and uses registers to hold
the data that is being processed. It consists of arithmetic unit and logic
unit.
●
It directs the computer to carry out stored program
instructions by communicating with the ALU and the
registers.
●
CU uses the instructions in the Instruction Register (IR) to
decide which circuit needs to be activated.
●
It also instructs the ALU to perform the arithmetic or logic
operations.
Register
• Registers are high-speed storage areas within the CPU, but have
the least storage capacity.
●
The size of register, also called word size, indicates the
amount of data with which the computer can work at any
given time. The bigger the size, the more quickly it can
process data. The size of a register may be 8, 15, 32 or
54 bits.
Memory Unit
• Memory unit consists of cache memory and primary memory.
Primary Memory/Main Memory of the computer is used to
store the data and instructions during execution of the
instructions.
Stores the basic input output system (BIOS). BIOS provides the processor with the
information required to boot the system.
Power On Self Test (POST) is a program that runs automatically when the system is
booted
Bootstrap Loader is a program whose purpose is to start the computer software for
operation when the power is turned on.
Kinds Of ROM
Instruction Cycle.
• The data, instructions and the signals are carried between the
different components via a bus.
Features and Functions of a Bus
A bus is a set of wires used for interconnection, where each wire can
carry one bit of data.
A computer bus can be divided into two types Internal Bus and
External Bus.
• Data Bus is used to transfer data between I/O devices and CPU.
• The exchange of data between CPU and I/O devices is according to the industry
standard data buses.
• Address Bus carries the addresses of different I/O devices to be accessed like
the hard disk, CD ROM, etc.
• Control Bus is used to carry read/write commands, status of I/O devices, etc.
External Ports
The connections to the bus from the peripheral devices are
made via the ports and sockets.
• PCs nowadays have a bus speed varying from 100 MHz to 400 MHz.
• Cache Memory Two of the main factors that affect a cache’s performance
are its size (amount of cache memory) and level L1, L2 and L3. Larger the
size of cache, the better it is
Inside the Microcomputer
For now let us concern ourselves with the following parts of the
system unit:
• Power supply
• Motherboard
• Microprocessor
• RAM chips
• ROM chips
• Other forms of memory -cache, VRAM, flash
• Expansion slots and boards
• Buses, PC slots and cards
Power Supply Unit
• The power supply is the device that converts
power from AC to DC to run the computer.
The motherboard may be characterized by the form factor, chipset and type of
processor socket used.
• CMOS Chip CMOS chip saves some system information, such as time, system date
and essential system settings. CMOS is kept powered by a button battery located
on the motherboard.
Ports And Interfaces
• Motherboard has a certain number
of I/O sockets that are connected to
the ports and interfaces found on
the rear side of a computer and
connect external devices to the ports
and interfaces, to the motherboard
Ports and Interfaces
• Serial Port to connect old peripherals.
• Firewire is another bus, used today mostly for video cameras and
external hard drives.
• SCSI port for connecting the hard disk drives and network connectors.
Expansion Slots
• DRAM gets its name from the refresh operation that it requires to store the information;
otherwise it will lose what it is holding. The refresh operation occurs automatically
thousands of times per second.
•SRAM uses multiple transistors. It does not have a capacitor in each cell.
•A SRAM memory cell has more parts so it takes more space on a chip than DRAM cell.
• A character consists of eight bits thus occupies eight bits of memory space.
• As data are keyed into the computer in characters, bits are grouped into eight
bits –1 byte.
• The lesser the access time, the faster is the speed of memory
Memory Hierarchy
• The internal memory and external memory are the two broad
categories of memory used in the computer.
Registers, cache memory, and primary memory constitute the internal memory.
Primary Memory is further of two kinds RAM and ROM. Registers are the fastest
and the most expensive among all the memory types.
Secondary Memory
The key features of secondary memory storage devices are
• (4) Stores Data And Instructions That Are Not Currently Being Used By CPU But May Be
Required Later For Processing
For example, Magnetic Tape Drive and Magnetic Tape, Magnetic Disk Drive and Disk,
and, Optical Disk Drive and Disk.
Secondary Memory Cont…
• With respect to CPU, the memory is organized as follows:
• Registers are placed inside the CPU (small capacity, high cost, very high
speed)
• Cache memory is placed next in the hierarchy (inside and outside the
CPU)
• Secondary memory is the farthest from CPU (large capacity, low cost,
low speed)
Secondary Memory
• Secondary memory is also called the storage device of computer.
Then you open the drawer, take out the appropriate folder or file, and
place it on top of your desk (in primary storage, or RAM), where you
work on it –either to write some few things on it or to remove and throw
some few pages away.
• After working on the file, you take it off the desktop (out of primary
storage) and return it to the cabinet (secondary storage). Thus the updated
file replaces the original file.
• Cassettes use sequential method; music tracks are stored sequentially on them.
• On the other hand, CDs use direct access as such you can play any track by going
directly to it without having to fast forward or rewind to the track as with tapes.
Storage Devices: Method of Access
• However, these days magnetic tape is used mainly on large systems for
backup and archiving, maintaining historical records and on some
microcomputers for backup.
• These types of devices are so named because of the shape of their storage medium. The
storage medium is called a disk; round platter on which information is written on tracks in
the form of concentric circles.
• The storage capacity of disk storage devices is measured in the same way as the internal
memory; kilobytes (KB), megabytes (MB), and gigabytes (GB).
• The storage capacity of magnetic disks ranges from few megabytes to several gigabytes;
billions of characters.
• Variations of magnetic disks include the floppy disks, internal hard disks and compact
Optical Disks
Optical disks are removable disks on which data is written and read using laser
technology These disks store much more data than floppies. A single optical disk of
type called CD-ROM can hold up to 700 MB of data.
• CD-ROM disks
• CD-R disks
• CD-RW disks
• DVD/DVD-ROM
CD-ROM
• One of the most popular of optical disks is the CD-ROM –compact disk-read-only
memory.
• Read-only means once data or information –which may include visuals and sound is
written on the disk from the factory, it cannot be overwritten or erased by the user.
• The faster the drive spins, the more quickly it can deliver data to the processor.
CD-R
• CD-R, which stands for compact disk-recordable, is a CD format that
allows users with CD-R drives to write data, only once, onto a specially
manufactured disk that can then be read by a standard CD-ROM drive.
• CD-R are now becoming the industry standard for backing up files on
the hard disk and for coping large volume of software programs and
data including audio visuals.
• DVD is a silvery, 5-inch optically readable digital disk that looks like an audio compact
Seek time –the time it takes for read-write heads to move to the
correct track –measured in milliseconds (1000th of a second).
After the head reaches the desired data, it must wait for the disk to
rotate so the head is positioned over the correct sector; this rotation
time is called latency, which may be about 1 to 2ms for a hard
drive.
Hard Disks
• Access time is the sum of seek time and latency.
• USB flash drives are typically removable and rewritable, much smaller
than a floppy disk, and most USB flash drives weigh less than an ounce
(30 g)
A network card
Computer Communication
• Computer communication is accomplished in
two ways. We have wired connection and
wireless connection.
• Wired connection is implemented with the use of
telephone lines and cables
• Wireless connection with the use of microwaves and radio waves
• The latest of the versions is the ASCII-16 coding scheme which uses 16 bits.
ASCII is the most widely coding scheme used in microcomputers.
Internal Data Representation
• Unicode or ASCII-16 which is a version of ASCII uses 2 bytes (16 bits) to
represent a character, instead of 1 byte (8 bits) and therefore can handle
65,536 characters rather than just 256
Codes in these high level languages such as BASIC or C++ are then
translated by system software programs called language translators
( Assemblers, Interpreters and compilers) into the machine language
that the particular type of processor can “understand”.
Types of Files
A file is a collection of related data or information that is identified by a unique
name and treated as a unit by the computer.
• The format in which a file is saved must be compatible with the particular software
for the software to be able to use or process the file.
• Each file is given a unique named and a ― ”tag” (PC-based) or extension names
added after a period such as .DOC added onto the name of a Microsoft word-
processed document file (MYFILE.DOC).
• These are files containing software instructions. Source program files contain high-
level computer instructions in their original form, written in a programming
language by computer programmers.
• Files that contain the machine language instructions are called executable files (or
binary files).
• These files are given extension names by the software that was used to create them.
• Example is spreadsheet files created with Excel having .xls extensions or documents created
• Video Files:
Video files contain digitized video images. Common extensions
are .MPG (Moving Pictures Expert Groups) and also .AVI.