Introduction to Computers and ICT
Introduction to Computers and ICT
INTRODUCTION TO COMPUTERS
1.1 Introduction
The term computer is derived from the Latin word ‘compute’ which means to calculate. A computer is
an electronic machine, devised for performing calculations and controlling operations that can be
expressed either in logical or numeric terms. A computer is an electronic device designed to accept
data or instruction (input), performs prescribed mathematical & logical operations at high speed
(processing) and supply the results of these operations to the outside world (output) or store the data.
In simple words it is an electronic device that performs mathematical & logical operations with the
help of instructions to process the information in order to achieve the desired results. Computers have
entered in every sphere of human life and found applications in various fields such as medicine and
health care, business, education, science, technology, government, entertainment, engineering,
architecture and agriculture.
Information & Communication Technology is technology that merges computing with high-speed
communications links carrying data and information in the form of text audio, or video. The most
important consequence of information technology is that it is producing a gradual fusion of several
important industries in a phenomenon that has been called technological convergence. Technological
convergence is derived from a combination of two recent technologies computers and
communications.
Automatic. Computers are automatic; once started on a job, they carry on until the job is finished,
normally without any human intervention.
Speed. A computer is a very fast device. Units of time are microseconds (10-6 second),
nanoseconds (10-9 second) or even picoseconds (10-12). A powerful computer is capable of
performing several billion (109) simple arithmetic operations per second.
Accuracy. The accuracy of a computer is consistently high and the degree of accuracy of a
particular computer depends upon its design.
Diligence. Unlike human beings, a computer is free from boredom, tiredness, lack of
concentration, etc., and hence can work for hours without creating any error and without
grumbling.
Versatility. A computer is capable of performing almost any task provided that the task can be
reduced to a series of logical steps. A computer can be used to calculate spreadsheet, store data,
process text, listen music etc.
1
Power of Remembering. A computer can store and recall huge amount of information because of
its secondary storage capability.
No I.Q. A computer is not a magical device. It can only perform tasks that a human being can. The
difference is that it performs these tasks with unthinkable speed and accuracy. It possesses no
intelligence of its own. Its I.Q. is zero. It has to be told what to do and in what sequence. Hence,
only the user can determine what tasks a computer will perform.
No Feelings. Computers are devoid of emotion. They have no feelings and no instincts because
they are machines. Computers cannot make judgments on their own. Their judgment is based on
the instructions given to them in the form of programs that are written by us.
1.6 Classification of Computers: Computers can be categorized broadly by their application, the
type of data they process and their size.
Classification of
computers
Super
General-purpose computers can be used for different purposes. We need only have appropriate
software to use a general-purpose computer to perform a particular task. For example, the personal
computers (PCs) currently in wide use are general-purpose computers.
Special-purpose computers are specifically designed to perform one particular task. A computer that
guides a missile is, for example, a special-purpose computer.
2
1.6.2 Classification According to the type of Data-Handled Techniques:
Analog computers: Process data that vary continuously with time, such as variations in temperature,
speed, chemical composition of petroleum products, or current flowing through a conductor. Used for
scientific & engineering purpose
Digital computers: Process digital data. All the PCs currently in wide use are digital computers.
Hybrid Computers: Incorporate the measuring feature of an analog computer and counting feature of
digital computer. For computational purposes, these computers use the analog components and for the
storage of intermediate results, digital memories are used. So they process both analog and digital
data.
Supercomputers: Supercomputers are the most powerful and expensive computers; they are used for
problems requiring complex calculations. The CRAY and CYBER are typical examples of the
supercomputers. They can process a great deal of information and make extensive calculations very,
very quickly. They are the fastest, costliest and most powerful computers available today.
Mainframe computers: These are mainly found in large organizations. They can serve hundreds or
thousands of users, handling massive amounts of input, output and storage. They are used as e-
commerce servers handling transactions over the Internet. They are housed in special rooms, as they
require special power and environmental control. Mainframes are the second largest (in capability &
size) of the computer family. Mainframe allows its user to maintain a large information storage at a
centralize location and be able to access and process this data from different computers located at
different locations.
Minicomputers: A mini computer is a small digital computer, which normally is able to process and
store less data than a mainframe but more than a microcomputer. Generally Minis perform many of the
tasks that a mainframe can, but on a reduced scale. These are used as desktop devices that are often
connected to a mainframe in order to perform auxiliary operations. These are multi-user computers
designed to meet the computing needs for several people simultaneously in a small to medium size
business environment.
Workstations are powerful single-user computers used for tasks that require a great deal of number-
crunching power, such as product design and computer animation. They are often used as network
and Internet servers.
Micro Computers: A micro computer is a small, low cost digital computer, which usually consists of
a microprocessor, a storage unit, an input channel and an output channel, all of which may be on one
chip inserted into one or several PC Boards. The microcomputer is generally the smallest of the
computer family. Originally these were designed for individual users only, but nowadays they have
become a powerful tool for many businesses that, when networked together, can serve more than one
user. Microcomputers include desktop, laptop and hand held models such as PDAs (Personal Digital
Assistants).
3
Chapter-2
DATA REPRESENTATION
Number systems have been around for thousand of years. It defines a set of values used to represent
the quantity, and other special characters. Number systems are basically of two types: Non positional
and positional number systems. In a non positional number system, special symbols or characters are
used to indicate the values. It is very difficult to perform arithmetic with such a numbers as it has no
symbol for zero. In a positional number system, the value of each digit in a number is defined not only
by the symbol but also by the symbol’s position. These symbols are called digits. Positional number
systems have a base or radix. The base or radix tells the number of symbols used in the system.
The number system we use in our day-to-day life is called the decimal number system. In this system,
the base is equal to 10 because there are ten symbols or digits (0, 1, 2, 3, 4, 5, 6, 7, 8, and 9).
Computers use the binary number system. We have two symbols or digits (0, 1) that we can use in
this system. The smallest unit of data is called it (Binary digit) and is represented by an on (1) or off
(0) state of a switch. The octal number system with its eight symbols 0,1,2,3,4,5,6 and 7 is a base 8
system. Hexadecimal is another number system having base as 16.
[Link] Conversion of Decimal to Binary: The method which is used for the conversion of decimal
into binary, is often called as the remainder method. This method involves the following steps:
1. Begin by dividing the decimal number by 2 ( the base of binary number system)
2. Note the remainder separately as the rightmost digit of the binary equivalent.
3. Continually repeat the process of dividing by 2 until the quotient is zero and keep writing the
remainders after each step of division (these remainders will either be 1 or 0).
4
4. Finally, when no more division can occur, write down the remainders in reverse order (last
remainder written first)
Remainder
2 36
2 18
2 9
2 4
2 2
2 1
0
0
Least significant bit
0
1
0
1
Most Significant bit
Taking remainder in reverse order, we have 100100. Thus binary equivalent of 36 is 100100.
5
When data is stored, processed, or communicated within the computer system, it is “packed” in
units. Arranged from the smallest to the largest, the units are called bits, bytes, and words.
These units are based on the binary number system where large numbers can be conveyed
using only two digits, 0 and 1. Information to be processed or stored in a computer is first
assigned a binary number using only these two digits.
2.2.1 Bit
The smallest unit is the bit, a contraction of the more descriptive phrase binary digit.
Computers use binary number system. We have two symbols or digits (0,1) that we can use in
this system. Each binary digit (bit) is represented by an on (1) or off state of a switch.
2.2.2Byte
Bits are small units and can convey only two possible states; they can be organized into larger
units to convey more information. This larger unit is called a byte and is the basic unit of
information in a computer system. It usually contains 8 bits. Since each bit has two states and
there are 8 bits in a byte, the total amount of information that can be conveyed is 2 8 or 256
possible combinations. These combinations can represent letters, numbers, and symbols such
as +,-,? etc… Most reference to computer’s memory processing, storage, and communication
use the byte as a unit of measurement. The number of bytes is usually given to indicate the
size of memory like 128,000 bytes or 128K bytes. The K is used to indicate a magnitude of
1000. As memory increase, the K (for Kilobyte) is replaced by an M (for Megabyte) to
indicate a magnitude of 1,000,000. For example, you can say that the computer’s memory is
1,000,000 bytes, 1000 kilobytes, or begin to encounter the next level of magnitude, the
Gigabyte, or 1 billion bytes.
When referring to bytes in this way, the numbers are rounded off. Bytes are calculated by
raising the number 2 to various powers. For example, the number 2 raise to tenth power is
1024. This is rounded off to 1000 (or 1k) for most discussions. But 1KB exactly mean 1024B
2.2.3 Words
It refers to the number of bits that a computer processes at once. Although bytes speed the
transmission of messages, they can be conveyed even faster by sending more than one byte at a
time, two bytes, or four bytes. Generally, however, word length is given in bits, so the
equivalent word length is 8 bits, 16 bits, or 32 bits. The larger word length a computer has, the
more powerful it is.
In the BCD system, the digit in each position of a decimal number is represented by four bits
and is converted as a separate entity. For example, 13 is represented in BCD as
1 3
0001 0011
256 is represented as:
2 5 6
0010 0101 0110
The ASCII code is the basis for the internal coding scheme of most computer system. The BCD
system uses only four bits which are inadequate to represent all 10 numeric characters (digits),
alphabetic characters (upper and lowercase) and many special characters such as $,?,%, etc.. The
ASCII code uses eight bits, which is four bits more than BCD system, so as to represent 2 8
alphanumeric characters. For example,
Character B8 B7 B6 B5 B4 B3 B2 B1
? 0 0 1 1 1 1 1 1
+ 0 0 1 0 1 0 1 1
1 0 0 1 1 0 0 0 1
F 0 1 0 0 0 1 1 0
H 0 1 0 0 1 0 0 0
7
2.3.4 Unicode:
This code was standardized to accommodate special symbols such as Greek characters α, β, γ etc.
It uses 16 bits to represent each character or symbol. Thus, 2 16 distinct symbols can be represented
with Unicode. Virtually every character of every language can be represented by using this code.
Chapter-3
COMPUTER SYSTEM
3.1 Introduction:
A Computer system is a group of hardware components and associated software, designed and
assembled to perform a specific function or group of functions. It is a complete, working computer
that includes not only the computer, but also any software and peripheral devices that are necessary to
make the computer function. In general a complete computer system includes four distinct parts: Data,
Users, Hardware and Software.
3.2 Data
Data are raw facts which the computer can manipulate and process into information that is useful to
people. Computer data is digital, or in the form of digits or numbers. Data may be simple numbers for
mathematical calculations, text such as names and addresses or more complex structures such as
pictures or drawings. The instructions that make up the program define what data is to be processed, in
what form and at what time. The computer reads and stores all data as numbers.
Data can be semi information that need to be processed more and generates complete information.
Information is the out put of the computer that can be used by human beings to do some decisions.
3.3 Users
The users are the people operating the computers.
3.4 Hardware
The term hardware embraces the physical components of the system that you can touch and fill:
1 The box which contains the printed circuit boards, power supply, etc.
2 The display screen, keyboard and mouse for user interaction.
3 The peripheral devices such as disks and printers.
The internal electronic circuits of modern computers are made up from a number of integrated circuit
chips and other components. An integrated circuit chip is a small packaged device a few centimeters
square which contains complex electronic circuits. The heart of the modern computer is the
microprocessor which is an integrated circuit chip containing the central processing unit (the basic
8
control and processing circuits) of a small computer system. A complete microcomputer system
contains a microprocessor plus memory, input/output devices, power supplies, etc. However, before
the computer hardware can perform a task (for example add numbers or read a character from a
keyboard), it requires a program to tell it what to do.
3.5 Software
Software comprises the programs that tell the hardware what to do. A program is a sequence of
instructions stored in the memory of the computer system. The central processing unit fetches an
instruction, decodes it and then executes the required operation (e.g. to add two numbers). When an
instruction has been executed the next instruction is fetched, decoded and executed, etc. A program
may be very simple, for example, to calculate the average of ten numbers, or very complex, as would
be required to draw a television quality picture on a display screen.
The Hardware and Software components of computer systems are described at the next two
chapters in detail.
Chapter-4
COMPUTER HARDWARE
4.1 Introduction:
Computer hardware is one component of computer system which is the physical components of the
computer. It is the part of the computer or any accessory attached to the computer called “peripheral”
which you can touch or feel. The computer case, monitor, keyboard, mouse, printer, modem and
scanner all constitute hardware.
9
into expansion slots in the motherboard (a board into which most of the basic components of the
computer are built).
i) PCI (Peripheral Component Interconnect) is a local bus system that allows devices to be inserted
quickly and easily (plug–and–play compatible). Most of the computers today come with PCI slots and
cards.
ii) AGP (Accelerated Graphics Port) is a new platform bus specification that enables high
performance graphics capabilities, especially 3D graphical display applications.
iii) USB (Universal Serial Bus) defines a class of hardware that makes it easy to add serial devices to
your computer. It provides an instant, no-hassle way to connect a new digital joystick, a scanner, a set
of digital speakers, a digital camera or a PC telephone to their computer. To install a USB device, plug
the cord from the device into any USB Port on your computer.
10
Storage Unit
Secondary Storage
Primary Storage
Indicates flow of
Control Unit instructions and
data
11
Registers can be thought of as CPU’s working memory. The important registers within CPU are
Program Counter, Instruction Register, Accumulator, Memory Address Register, Memory
Buffer Register and Data Register.
12
iv) Touch screen – is a type of display screen device that is placed on the computer monitor in order
to allow the direct selection or activation of the computer when somebody touches the screen.
4.4.3 Speech Recognition: Speech recognition is the technology by which sounds, words or phrases
spoken by humans are converted into digital signals, and these signals are transformed into coding
patterns where the meaning has been assigned. It is more generally called as sound recognition.
4.4.4 Digital Camera: Digital camera stores images digitally rather than recording them on a film.
Once a picture has been taken, it can be downloaded to a computer system and then manipulated with
an image editing software and printed.
4.4.5 Scanner: A scanner is a device that scans an image and transforms the image into ASCII code.
These images can be edited, manipulated, combined and printed. The common types of scanners are
hand held scanners and flat bed scanner.
Other devices like devices for hand- include pens, and game controllers; optical input
devices- include bar code readers; audio devices- include microphones also used as input device.
13
Output Devices
14
Resolution – number of pixels on the screen. This is important especially for graphics, page
layout and CAD.
o VGA (Video Graphics Array) monitors have resolution of 640 X 480 pixels.
o SVGA (Super VGA) monitors have resolutions ranging from 800 X 600 pixels to 1024 X
768 pixels or more.
Refresh rate – indicates how often the picture is redrawn on the monitor. If the rate is low, the
picture will appear to flicker. Flicker is not only annoying but also causes eye strain and nausea.
So, a high refresh rate is desirable. 60 times per second is tolerable at low resolutions for most
people. 75 times per second or more is better and is necessary for high resolutions.
Dot pitch – is the distance between phosphor dots that make up a single pixel. A dot pitch
of .28 is very common and .26 should be good for nearly all purposes, however it is measured.
When the same image is displayed on a monitor for a long time, it leaves a “shadow” or “screen
burn”. To avoid this effect, “screen saver” program that blanks out the monitor or displays a
moving image or text when not in use for a prolonged time, is used.
4.5.2 Video Adapter Cards: Video adapter cards convert information from the CPU into a format
used by the monitor and the monitor displays the information sent to it by the video adapter card. The
video adapter card can be built into the motherboard but, in most cases, it is installed as an expansion
card.
Video adapter and monitor standards ensure that your video adapter card and monitor are compatible
with all popular programs and operating systems. The following standards exist at the moment.
VGA (Video Graphics Array), which is suitable for low–budget home and business applications. It
has a resolution of 640 X 480 pixels.
SVGA (Super VGA), which is ideal for business applications, has greater resolution (800 X 600
pixels) than VGA and also supports true colors.
XGA (eXtended Graphics Array), which is ideal for more graphic–intensive applications like
desktop publications and CAD/CAM, has a resolution of 1024 X 768 pixels.
Video adapter cards come with their own memory, separate from the computer’s main memory. The
amount of memory installed on the video adapter card determines the maximum number of colors that
can be displayed at a given resolution. For example, a video adapter card with 1MB video memory
can display up to 16.7 million colors at VGA resolution but only up to 256 colors at SVGA resolution.
At the moment, video adapter cards may come with up to 16MB video memory. The minimum
amount of video memory required for windows applications is 1MB.
4.5.3 Printers:
Printers are used to produce “hard copy” of documents, programs and data. Some printers use serial
communication (RS232 standard) while others use parallel communication to transfer information
from the PC to the printer. In serial communication, data is transferred one bit at a time while in the
case of parallel communication; one byte (8 bits) is transferred at one time.
15
The printing method (the actual forming of characters) also varies. Based on the printing method used,
printers are categorized as impact printers and non-impact printers. Impact printers strike an inked
ribbon, pressing ink from the ribbon onto the paper while non-impact printers use different methods to
place ink on paper.
Dot–matrix printers are common types of impact printers. The print head has an assembly of
tiny pins that are activated in a row and physically “hit” the paper through the ribbon to produce
the desired impression. Speeds are expressed in characters per second (cps) and vary between
180cps and 400cps. These printers are loud, inexpensive and slow. The quality of the printout
is not so good as that of inkjet or Laser printers. But, we can have carbon copies and printouts
on stencils from these printers.
Inkjet printers are non-impact printers. Tiny particles of ink are electrically charged after
leaving the nozzle. The droplets are then guided to the right position on paper by electrically
charged deflection plates. The print quality is very good. We cannot use them with stencils nor
can we produce carbon copies using these printers. Inkjet printers are available for color or
black and white.
Laser (Light Amplification by Simulated Emission of Radiation) printers are the most advanced
of all. In this printer the laser beam forms an image of the characters to be printed on to the
light sensitive drum. Ink then sticks to the character images and is transferred from the drum
and fused onto the paper. Laser printer speeds are specified in pages per minute (PPM), e.g.
6PPM, 12PPM or 24PPM.
Factors to be considered while selecting printers include: speed (measured in PPM or CPS), quality
(measured in dots per inch – dpi), initial cost, cost of operation and special features like support for
color and large page formats.
Other Output Devices: PC Projector – connects to a PC and is used to project images on a large
screen; Sound systems – multimedia PCs come with a sound card, speakers and a CD-ROM or DVD
drive. A sound card translates digital signals into analog that drive the speakers.
16
normally has limited storage capacity because it is very expensive. The primary storage of modern
computer systems is made up of semiconductor devices.
RAM contains a large number of cells (or locations) in which are the data and instructions
stored. Each location is specified by an address.
ROM (Read Only Memory) is a non-volatile memory whose contents cannot be changed
by the user and contains minimum instructions that the computer needs to get started
There exist two technologies for secondary storage: magnetic and optical. Floppy disk, hard disk,
magnetic tape is examples of magnetic storage. CD-ROM, DVD-ROM, CD-R, CD-RW are examples
of optical storage.
[Link] Magnetic storage devices – the medium contains iron particles, which can be polarized, i.e.
given magnetic charge in one of two directions. Each particle’s direction represents a 1 or a 0,
representing each bit of data that the CPU can recognize. A disk drive uses read/write heads
containing electromagnets to create magnetic charges on the medium.
o Formatting maps the disk’s surface and determines how data will be stored. During
formatting, the drive creates circular tracks around the disk’s surface, and then divides each
into sections called sectors. The OS organizes sectors into groups, called clusters, then tracks
each file’s location according to the cluster it occupies. Formatting also deletes any
information that exists on the disk.
o During formatting, the OS creates four areas on its surface.
Boot sector – stores the master boot record, a small program that runs when you first start
the computer.
File allocation table (FAT) – a log that records each file’s location and each sector’s
status.
Root folder – enables the user to store data on disk in a logical way.
Data area – the portion of the disk that actually holds the data.
i) Hard disk drive:
Inside the case of the hard disk drive are a set of rigid rotating disks, called platters, stacked on a
spindle. As the platters rotate at high speed, Read/Write heads move back and forth recording or
reading magnetic information on both sides of the platters.
The speed with which the heads can find data is called
17
“average access time”.
Hard disk drives are normally installed inside the
computer case although external hard disk drives, which
connect to the computer by a cable, are also available.
Hard disk drive is selected based on its storage capacity (measured in “Gigabytes” (GB)) and its
access time (measured in milliseconds (ms)). The larger the capacity and the smaller the access
time, the better. Today, it is not uncommon to have hard disks with capacity in excess of 200GB.
Operating system and application software normally reside in hard disk drives. Documents created
using application software may also be placed on hard disk drives.
Write-protect
ii) Floppy disk drive: Window
Although some years back, we had two standards as far as physical size is
concerned, namely 3½” and 5¼”, the standard size these days is invariably 3½”. With respect to
the amount of information that a 3½” diskette can store, a few years back diskettes were coming
with sizes of 720KB and 1.44MB; now they come only with 1.44MB.
It is possible for someone to format a diskette, or write information on a diskette unintentionally
and important information could be lost in certain situations. To avoid such unintentional loss of
information, diskettes are write–protected. To write–protect a 3½” diskette, open the write–protect
window by sliding the plastic tab covering the window. We can read information that is stored in
write–protected diskettes, but we cannot write onto them.
Software used to come in floppies some years ago. Now, floppies are rarely used to carry software
unless the software happens to be very small. Floppies are mainly used to carry personal files, to
transfer information from one PC to another or as backup media for small files.
Previously, a good number of removable (floppy–like) drives have made their way into the
computer business, but nowadays it is out of the market (becoming obsolete). Their capacities
range from 100MB (Iomega Zip) to 1.5GB (SyQuest SyJet). Indeed, the larger capacity drives are
considered “portable equivalent of the hard drive”. They may be used to supplement the hard disk
drive, to carry private files, to transport personal files and core applications between home and
office and to backup important files.
iii) Magnetic Tape:
Information stored in a hard disk or floppy disk may be damaged for various reasons. To protect
against losing any of your files, you should make a backup copy of all your data. Small files
(1MB) can be backed up to a floppy disk. For larger files or groups of files, it is more convenient
to use CD–R/W or magnetic tape unit. Magnetic tape systems offer very slow data access, but
provide large capacities and low cost. Thus, they are particularly convenient if we want to backup
the entire hard disk.
18
Tape backup units are available as either internal or external models. Tapes must be formatted
before you can use them. Backed up information could be compressed, where compression ratios
vary for different types of data.
[Link] Optical Storage Devices – offer high-capacity storage medium. Optical drives use reflected
light to read data. The disk’s metal surface is covered with dents (pits) and flat spots (lands), which
cause light t be reflected differently. Light cannot be reflected back from pits (data = 0) and lands
reflect light back to its source (data = 1).
o CD–ROM (Compact Disk Read Only Memory) discs can hold large amounts of information
(text, graphics and hi–fi stereo sound), which cannot be altered. They are designed to last
indefinitely, but finger marks or scratches can damage the disk’s surface. CD–ROM drives
read programs and data stored on removable CD–ROM disks.
The first CD–ROM drives transferred data at 150KB per [Link] speed then doubled to
300KB (2X), then quad speed at 600KB (4X). Today, we have as much as 52X (78000 KBps).
A single CD–ROM can hold up to 650MB information. Time to retrieve information off the
CD–ROM is much slower than from a hard disc (5-15 MBps). Most of today's newer
CD─ROM’s can be used in multimedia applications.
CD–ROM drives are often installed inside the computer case although external units, which
connect to the computer by a cable, are also available.
o CD–R is a standard and technology allowing you to write to and read from a Compact Disc,
but not erase or change what you record. This technology is compatible with existing CDs, i.e.
you are able to read these discs in existing CD–players.
o CD–RW is rewritable CD–ROM technology. CD–R/W drives can also be used to write CD–R
discs, and they can read CD–ROMs. But, CD–R/W disks have a lower reflectivity than CD–
ROMs, and CD–ROM drives must be of the newer multiread variety in order to read them.
CD–R/W was initially known as CD–E (or CD–Erasable).
o Digital Video Disc (DVD), also called Digital Versatile Disc, is similar to CD–ROMs but able
to store far more music, video or data. DVDs are of the same physical size as today's CDs but
are able to store as much as 17GB, compared to the 650MB on today's CD–ROMs.
4.7 The Bus System:
In computer architecture, a bus is a subsystem that transfers data or power between computer
components inside a computer or between computers. Unlike a point-to-point connection, a bus
can logically connect several peripherals over the same set of wires. Each bus defines its set of
connectors to physically plug devices, cards or cables together. It includes:
Data bus- transfer data from CPU to other components and vise versa
Address bus - transfer the address of the ongoing executable data or instruction.
Control bus - sends the control over each executable code and data
19
RAM – has direct effect on system’s speed. The more the RAM size, the faster. These days,
PCs come with RAM sizes of 128MB – 512MB.
System clock – sets the pace for the CPU by using a vibrating quartz crystal. A single “tick” of
the clock is the time required to turn a transistor off and back on. This is a clock cycle
measured in hertz (Hz). The faster the PC’s clock runs, the more instructions the PC can
execute each second. Today, PC clock speeds exceed 3GHz (3 X 109 Hz).
Bus width – determines how many bits can be transmitted between the CPU and other devices.
The bus refers to the path between components of a computer. The larger the bus width, the
faster the computer.
Cache memory – cache is a high speed memory that holds the most recent data and instructions
that have been loaded by the CPU. It is located directly on the CPU (L1 cache) or between the
CPU and RAM (L2 cache). Amount of cache memory has tremendous impact on the computer
speed. The larger the cache size, the faster the computer.
Chapter-5
COMPUTER SOFTWARE
5.1 Introduction:
As we know, a computer can not think or perform on its own. It performs various operations only
when the user instructs it to do so. The user issues instructions and the CPU acts in accordance with
the instructions. Such a sequence of instructions written in a language that can be understood by a
computer is called a program. It is the program that controls the processing activity of computers, and
computer performs precisely what the programs want it to do. The term software refers to the set of
computer programs, procedures and associated documents. The sets of instructions which control the
sequence of operations are known as programs and collectively programs are called software.
Application Software
System Software
Hardwar
e
System
System development
management
program
21
ii) Device Drivers: Device drivers are system programs, which are responsible for proper
functioning of devices. Every device or hardware, whether it is printer, monitor, mouse or
keyboard, has a driver program for support. Whenever a new device is added to the
computer system, a new device driver must be installed before the device can be used. In
modern operating systems, most hardware drivers such as keyboard driver, comes with the
operating system. For other devices like printer, a user must load the device driver of that
particular printer. A driver acts like a translator between the device and programs that use
the device.
iii) System Utilities: Utility programs or utilities are a set of programs that help users in
system maintenance tasks and in performing tasks of routine nature. Some of the tasks
commonly performed by utility programs include the following:
Formatting hard disks or floppy disks.
Reorganizing files on hard disk to conserve storage space.
Taking back up of files stored on hard disk
Checking the amount of available memory
Checking the amount of available storage space on hard disk.
Scanning the system for computer viruses.
iv) System Development Programs: System development programs consist of system
software, which are associated with the development of computer programs. These
program development tools allow programmers to write and construct programs that the
operating system can execute. Examples are computer languages, language translators,
linkers and loaders.
a. Programming Language: A programming language is a primary interface of a
programmer with a computer. A program is an ordered list of instructions that, when
executed, causes the computer to behave in a predetermined manner. A programming
language includes a series of commands, which are used in development of software.
Programming language are further divided into three categories namely, Machine
language, assembly language and high level language.
b. Language Translator: Computers only understand a language consisting of only 0s
and 1s called machine language. To ease the burden of programming entirely in 0s and
1s, a special programming language called high level programming languages were
developed that resembled natural languages like English. Therefore a tool was required
which could translate a program written in a programming language to machine
language. This program is referred to as language translator. It helps in converting
programming language to machine language. There are three types of translators.
22
c. Linker: A linker is a system program that links together several object modules and
libraries to form a single, coherent program (executable)
d. Loader: Loader is a kind of system software, which is responsible for loading and
relocation of the executable program in the main memory. The functions of loader
include assigning load time space for storage, that is storage allocation and to assist a
program, to execute properly
The most often used software by a general user is the application software. It is used to accomplish
specific tasks rather than just managing a computer system. Application software may consist of a
single program such as Microsoft’s Notepad for writing and editing simple text. It may also consists of
a collection of programs called a software package, which work together to accomplish a task such as
a spreadsheet package. Application software may also include a larger collection of programs ( a
software suite), related but independent programs, which have a common user interface, such as
Microsoft Office Suite.
Application software are in turn controlled by system software, which manages hardware devices and
perform, background tasks for them. Fig. given below illustrates that application layer executes on the
system software layer, which lies on the hardware layer.
Application Software
System
Software
Hardware
Fig. Relationship of Application and System Software, and Hardware part of the computer
You can save a spreadsheet model and use it again whenever you need it. Never again
will you forget how a specific analysis was done and how to reconstruct it from scratch
the next time you need to use it. You will find ways to modify your models so that they
can grow in power and simplicity. You can save each revision to provide the base for
the next step forward in your understanding and analysis. There ate many spreadsheet
programs available and more are sure to come. Each spreadsheet is slightly different
from the others.
Examples are Microsoft Excel, Lotus 1-2-3 etc.
Binary (base 2) uses two symbols: 0 and 1. Octal (base 8) uses eight symbols: 0 through 7. Hexadecimal (base 16) uses sixteen symbols: 0 through 9 and A through F .
Hardware refers to the physical components of a computer, while software comprises the programs that control these components. Software sends instructions to hardware to perform tasks. The synergy between software and hardware allows a computer to function efficiently .
Converting binary numbers to decimal is crucial because computers use binary internally, while human-readable outputs typically require decimal numbers. This conversion enables effective interaction between human users and computer systems .
To convert a decimal number to binary, divide the decimal number by 2, note the remainder, and continue dividing the quotient by 2 until it reaches zero. Record each remainder as either 1 or 0. The binary equivalent is the sequence of remainders read in reverse order .
Unicode uses 16 bits, providing 65,536 possible combinations, allowing it to represent virtually every character in all languages. In contrast, ASCII uses 8 bits for 256 combinations. Unicode's advantage is its capacity for internationalization and support for diverse characters and symbols .
The register size, or word size, determines how much data a CPU can process at one time. Larger word sizes allow for more data to be handled per cycle, thereby increasing the computer's processing capabilities. Most PCs use 32-bit registers for efficient processing .
The bus width determines the number of bits that can be transmitted simultaneously between the CPU and other components. A wider bus can transmit more data per cycle, enhancing the computer's overall speed and performance .
Cache memory stores frequently accessed data and instructions close to the CPU, reducing the need to fetch data from slower RAM. It's implemented as L1 (on the CPU) and L2 (between CPU and RAM) and significantly speeds up processing by decreasing data retrieval times .
An Operating System manages process creation, deletion, suspension, memory allocation, file creation, and access, as well as device management and security. It also provides a user interface for interaction with hardware .
ASCII uses 8 bits, allowing it to represent 256 different characters, including alphanumeric and special characters, while BCD uses only 4 bits, limiting it to representing 10 numeric characters. This makes ASCII more versatile for general character encoding in computing .