You are on page 1of 22

Path Wala

Computer
System Overview

1.1 Introduction 1.3 Mobile System Organization


1.2 Computer Components and 1.4 Types of Software
Basic Computer Organization

1.1 INTRODUCTION
Computers are the machines that have revolutionised the world around us. The way we used to
live around 25-30 years ago is very different from how we live today. A modern age student
cannot even imagine life, without email, Internet, print outs, playing music on computers or
smartphones, photos just a click away in the form of smartphones and so on. In short, in every
aspect of life around us, we see computers play a :i;ole directly or indirectly.
Computers deliver so much, diligently and efficiently, all thanks to the wonderful combination
of their hardware and software.
¢) Hardware.The physical electronic components of a computer are called hardware, e.g.,
keyboard, CPU, monitor, printer etc.
¢) _Software. These are the recorded instructions and programs that govern the working of a
computer. Recall that a program is a set of instructions to carry out a specific task or achieve a
special work goal.
In this chapter, we shall discuss computer's functioning in broad sense by discussing computer
system organization and how various types of software aid in computer's overall performance.

1.2 COMPUTER COMPONENTS AND BASIC COMPUTER ORGANIZATION


A computer system comprises of five basic components (see Fig. 1.1) :
(i) Input Unit. It is responsible for taking input for the computer. The input devices
attached to the computer system make the input unit.
(ii) Output Unit. It is responsible for taking input for the computer. The output devices
attached to the computer system make the output unit.
\ 2
Path Wala Of-.i

It · responsible for proces mg th d ta nd


(iii) Central Processing Unit (CPU). _1s
. . It comprises of two parts .
mstruchons. . . U 1·t (ALU). It is responsible for carrying out the anthm ti
nd
(a) Arithmetic a Logbic ~ ltiply divide) and making logic decisions (great r than,
instructions (add, su trac, mu ,
less than, equal to).
(b) Control Unit. It is respo_n~ible for Secondary Storage
controlling and supervising the
processing.
Central Processing Unit
(iv) Primary Memory. It is the internal volatile
memory where data and instructions are Control Unit
stored during processing.
(v) Secondary Storage Unit. It refers Input Output
Device Arithmetic/Logic Unit Device
to the external storage devices
which provide permanent
memory to the computer system.
Pnmary Memory
The components of a computer system
make the physical structure of a
computer whereas the logical structure Figure 1.1 Components of a computer system.
of a computer system is defined as
Computer Organisation.

l .2 l Computer Organisation
Computer organization refers to the logical structure of a computer describing how its
components are connected to one another ; how they affect one another's functioning, and
contribute to overall performance of the computer.
Computers, as you must be knowing, follow the 'IPO' principle i.e., Input ➔ Process ➔ Output
(a certain input is processed to generate specific output). So, the computer organization is
also like this - there are component(s) dedicated to obtain input in different forms,
component(s) dedicated to perform processing part and component(s) to produce output
in different forms.
Thus basic computer organization is as shown in Fig. 1.2. To see the interconnections and basic
working of computer (Computer Organization), scan this QR Code with SIPO app .
To see CPU
Computer Organization
in action
~ j Registers I
A computer runs on

-
.
[!]
Scan
QR Code
•.
I

BUS
Memory
electricity power.

Input
Output
unit Storage
unit
unit

Figure 1.2 Basic Computer Organization.


l ct u t lk about the
Path Wala
funct1onal compon nts of a computer, on by on

l 2 I put Unit
The_ mput unit i~ formed by the input devices attached to the computer. Exampl of p
de\ ices and media are : keyboard, mouse, magnetic ink character reader (MICR), optical m rk
reader (OMR), optical character reader (OCR), joystick etc.
The input unit is responsible for taking input and converting
.• into computer understandable form (the binary code). Since
a computer operates on electricity, it can understand only the An input unit takes the
language of electricity i.e., either Oi\. or OFF or high voltage or converts ,t into b n ry form
low voltage. That means a computer can understand two that It can be understood by t
computer.
stages ON/OFF or High/Low voltage or the binary language
that uses just two symbols: 1 for OJ\; and O for OFF.
All the inputs consisted of data (on which the action was to be performed) as well as the instruction
(the action to be taken).
On th e same lines, the computer input also consists of data and instructions. For example, if
the given input to the computer is Add 2 and 3 then data consists of 2 an d 3 an d instruction is
Add . Similarly, if the given input is Print "Hello World" then data consists of "Hello World"
and instruction is Print.
The input unit is comprised of different input devices th at take the input in different forms and
pass them in digital form to CPU for processing.
Some common input devices are:
(i) Keyboard. Keyboard is a typewriter like device which is used to type in the letters,
digits and commands. For visually challenged people, Braille keyboards are also available
these d ays.
(ii) Mouse. Mouse is pointing device with either a roller on its base or some laser
mechanism. Mouse controls movement of pointer (also called mouse pointer) on screen.
(iii) Microphone (Mic). We can send sound input to computer through a special input
device called microphone or mic in short. A mic converts the sound received into
computer's format, which is called digitiz ed sound or digital audio.
A mic can work if your computer has a special hardware known as sound card.

1.2.3 Output Unit


The output unit is formed by the output devices attached to
the computer. The output coming from the CPU is in the form Output Unit converts the
output in binary form to
of electronic binary signals which needs conversion in some
human readable form.
form which can be easily understood by human beings i.e.,
characters, graphical or audio visual form. This function of
conversion is performed by output units.
Some popular output devices are :
(i) Monitors. Monitor (or "screen") is the most common form of output from a computer.
It displays information in a similar way to that shown on a television screen. The
picture on a monitor is made up of thousands of tiny coloured dots called pixels.
For visually challenged people, Braille monitors are also available these days.
4
Path Wala COMPUTER SCIE"JCE WITH PYTHON
X

. Printers are the devices tha t deli ver


(ii) Pnnters. info rma tion by mea ns of printed
.
cl1aracters on Pap er · Prin ters com e m van•ety o f form s, e.g., m
· k' I ·
Jet, asel')et,
printers etc. Unlike old style pri_nters, . . dotrnatri'x
whi ch prm ted on a pap er, these day s
are also available whi ch can prm t/cr eate 3D printers
3D mo del s.
(iii) Spe akers. Speakers receive the
sou nd in_ form of electric cur ren t from
and then convert it to sou nd form at the sou nd card
aud ible to user.
1.2.4 The CPU (Central Processing Unit
}
The CPU or the Cen tral Proces sing Uni
t is the mai n con trol cen tre and proces
also called brain of the com put er as it sing unit. It is
gui des, directs, con trol s and gov ern s
a computer. The CPU has som e sub -co the per formance of
mp one nts tha t hel p in carr yin g out the
task. These are : processing of a
(i) Arithmetic Logic Uni t (ALU)
(ii) Con trol Uni t (CU ) (iii) Registers
(i) Arithmetic Logic Unit {ALU)
The ALU per form s all the four arit
hm etic (+, -,* ,/) and som e log ica l(<
operations. Wh en two num ber s are req ,>,= ,<= ,>= ,!= )
uire d to be add ed, thes e num ber s are
to ALU whe re add itio n takes place and sen t from memory
the resu lt is put bac k in the mem ory .
other arithmetic ope rati ons are per form In the sam e way,
ed (thr oug h AL U only).
For logical operations also, the num ber
s to be compared are sen t
from memory to ALU whe re the compari
son takes place and the ALU performs arithmetic
result is retu rne d to the mem ory . The resu (+, -, *,/) and logic
lt of a logical ope ration
is either TRUE or FALSE. These operatio operati ons.
ns provide the capability
of decision-making to the computer.
{ii} Control Unit (CU)
The CU control s and gui des the inte
rpre tati on, flow and man ipu lati on
information. The CU sen ds control sign of all data and
als unt il the req uire d ope rations are don
ALU and memory. Ano ther imp orta nt e pro perl y by
fun ctio n of CU is the program execut
out all the inst ruc tion s stor ed in the pro ion i.e., carrying
gra m. The CU gets pro gra m inst ruc tion
and executes them one after the other. s from memory
After gett ing the inst ruc tion s from mem
inst ruction is decoded and inte rpre ted ory in CU, the
i.e., whi ch ope rati on is to be per form ed.
ope rati on is carried out. After the wor Then the asked
k of this inst ruc tion is com plet ed, con
signal to mem ory to sen d the next instruc trol uni t sends
tion in seq uen ce to CU.
The control uni t eve n controls the flow CU acts as a supervisor by
of dat a from inp ut
devices to mem ory and from mem ory controlling and guiding
to out put devices.
(i ii} Registers the operation taking place.

Registers or processor registers are sma


ll
units of data holding places. The CPU
uses
registers to temporarily hol d som Modern days' smart machines (e.g.
e , washing machines,
impo.~tant processing-information dur microwave oven etc.) also come with
embedded CPUs. In
ing fact, these embedded CPUs are more
the time the processing is taking plac than the CPU as
e. these also contain little ROM, RAM
CPU may store some par t data or som and other required
e circuitry containing some embedde
d instructions. These
memory address or some instruction in
its embedded CPUs with accompa
nying memory and
processor registers. embedded instructions are called mlcr
ocontrollers.
COMPUTER SYSTEM OVERVIEW
Path Wala 5
1.2 5 The Memory [Main Memory/Pri·mory Memory]
The memory of a computer is more like a predefined working place, where it temporarily keeps
information and data to facilitate its performance. Each memory location has a unique memory
address. When the task is performed, it clears its memory and memory space is then available
for the next task to be performed. When the power is switched off, everything stored in the
memory gets erased and cannot be recalled.
The memory of a computer can be thought of as 'cells'. Each of these cells is further broken
down into smaller parts known as bits (see Fig. 1.3). A bit means a binary digit i.e., either Oor 1.
A number of bits·together are used to store data instructions by their combination.

. . . . . . ···· ··· ········ ··- ········r··r r=


. .. . . ·· . Bit
Cell 0
0 1 0 0 0 1 1 0 Cell 1
The memory of computer Is
................. . .......... . often called main memory or
primary memory.

Figure 1..3 Memory cells.


A bit is an elementary unit of the memory. Eight bits together form a byte.
One byte is the smallest unit which can represent a data item or ~BYTE OR NIBBLE ' .
a character. Other units of memory are KB, MB, GB, TB etc.
A group of 8 bits is called a byte
Every higher memory unit is equal to 2 10 of its lower unit. and a group of 4 bits is called a
Following Table 1.1 lists various memory units used. nibble.

T ab le 1.1 Units of Computer Memory Measurements

Unit Short Name Full Name Unit Short Name Full Name
10
1 Bit Bit Binary Digit I 2 i.e., 1024 GB 1 TB Terra Byte
8 Bits 1 Byte Byte 2 10 i.e., 1024 TB 1 PB Peta Byte
I

210 i.e., 1024 Bytes 1 KB Kilo Byte I 2 10 i.e., 1024 PB 1 EB Exa Byte
210 i.e., 1024 KB 1 MB Mega Byte 2 10 i.e., 1024 EB 1 ZB Zetta Byte
210 i.e., 1024 MB 1 GB Giga Byte 210 i.e., 1024 ZB 1 YB Yotta Byte

Since computer's main memory (primary memory) is temporary, secondary memory space is
needed to store data and information permanently for later use. Some most common secondary
storage media are the hard disk, CD-RWs, pen drive etc. The secondary memory devices are
also known as storage devices.
l .2.5A Parts of Main Memory/Primary Memory
In the random-access memory (RAM), the memory cells can be accessed for information
transfer from any desired random location. That is, the process of locating a word in memory is
the same and requires an equal amount of memory, thus the name "random access".
The main drawback of RAM memory is that it is a volatile memory. That is, when the power
goes off, the contents of RAM get erased. ·
6 COMPUTER SCIENCE WITH P(THON - Xi
Path Wala
The RAM chips in a com pute r can be of two basi
c type s:
(i) Dynamic RAM (DRAM). These are_ mad e
up of tran sisto rs and capacitors. The amount
f t' e take n to prod uce data requ ired from mem
ory, from the star t of access until the
~va~:bility of data is called memory access time
. Tod ay's DRA M chip s hav e access times
ranging from below 20 to 70 nanoseconds.
(ii) Static RAM. These are mad e up of flip- MEMCfaY ACCESS Tl ME
flops 1 and offer
faster access times (abo ut 10 nan osec ond s) than The amo unt of time ta ken to
DRAMs.
Static RAMs are thus used in spec ializ ed app produce data requ ired from
lica tion s
while dyn ami c RAMs are use d in the prim ary mem ory, from the start of access
stor age until the availabilit y of dat a, is
sections of mos t com pute rs.
called Mem ory Access Time .
Read Only Memory (ROM)
As the nam e implies, a read -onl y mem ory (RO
M) is a mem ory unit that perf orm s the read
operation only; it doe s not hav e a writ e capa
bility. This imp lies that the bina ry information
stor ed in a ROM is mad e perm ane nt duri ng the
hard war e pro duc tion of the unit and cannot be
altered by writ ing diff eren t wor ds into it (hen
ce non-volatile). Wh erea s a RAM is a general-
purp ose device who se con tent s can be alte red
duri ng the com puta tion al proc ess, a ROM is
restricted to read ing wor ds that are perm ane
ntly stor ed with in the unit . ROM s are used for
applications in whi ch it is kno wn that the info rma
tion nev er nee ds to be alte red, for example, a
mon itor prog ram con troll ing a machine. These,
how ever , are slow er than RAM.
There are vari ous type s of ROM whi ch are give
n belo w :
(i) PROM (programmab le ROM). Also call
ed OTP (One Time Programmab le). PROM is a
user -pro gram mab le mem ory in whi ch info rma
tion is bur nt usin g special equipment
called a ROM burner.
(ii) EPROM (erasabl e program mab le ROM
). In EPROM, one can prog ram the memory
chip (thr oug h various mec han isms e.g., UV
radi atio n) and eras e it man y times as
need ed. The UV-EPROM can take up to 20 min
utes for eras ing EPROM contents.
(iii) EEPROM (electrically erasable prog
rammab le RO M). In EEPROM, the EPROM
- erased electrically whi ch is faster. Also, with is
EEPROM, selective bytes can be erased
unlike UV-EPROM which erases fully .
(iv) Fla~h EEPROM. It is like EEPROM but
is very fast com para tively (the eras ure of the
entire contents take s less than a seco nd) . Also
, it eras es fully and not selectively.
(v) Mask ROM. Mask ROM refers to a kind of
ROM in whi ch the con tent s are programmed
by the IC manufacturer. It is not a user -pro gram
mab le ROM.
1.2.6 Cache Memory
Pronounced as ~ash, the cache mem ory is a spec
storag ial high -spe ed
e mec h~s m. It can be either a rese rved sect ion CAC HE MEM ORY
of mai n
memory or an mde pen den t high -spe ed stor age The Cache Mem ory is a high
device or eve n
on CP:1 chip. Whe~e:7e~ som e data is requ ired speed mem ory available inside
, the CPU first
look s m the cache, if it is ther e or not. If the data CPU in orde r to speed up access
is foun d in
cache, CPU does not access mem ory and hen to data and instructions stored
becomes very fast. ce in RAM mem ory.
the proc ess
1. A flip-flop ia a b
Chapter 1 : COMPUTER SYSTEM OVERVIEW 7
Path Wala
A memory cache, sometimes called a cache store or RAM cache, is a portion of memory made of
high-speed static RAM (SRAM) instead of the slower and cheaper dynamic RAM (DRAM) used
for main memory. Memory caching is effective because most programs access the same data or
instructions over and over. By keeping as much of this information as possible in SRAM, the
computer avoids accessing the slower DRAM.
When data is found in the cache, it is called a cache hit, and the effectiveness of a cache is judged
by its hit rate. 95% of the time the processor is working, it is accessing information from cache.

1.2.7 The Storage Unit


Computers need to store and retrieve data for processing.
Since primary memory has a limited storage capacity and is ti•foN iui-tilt~
not permanent, secondary storage devices are used to store Wi•• 1tf$J · · ·
❖ Hard disks -_, Magnetic
large amount of data permanently. There are various types of
Media
secondary devices available these days.
To specify the storage capacity of storage devices, same units
of memory are used, which are used for measuring primary
❖ CD ROMs
❖ DVDs
J Optical
Media

Flash
memory. That is, we can represent the storage capacity of
storage devices in terms of kilo bytes (KBs), mega bytes (MBs),
❖ Pen drive
J memory

gigabytes (GBs) and tera bytes (TBs) as we do for main memory.


Let us now talk about some most common storage devices.
1. Hard Disks
The hard disk memories store information on one or more
circular platters (or disks) which are continually spinning.
1. (i) Storage of 1 KB means the
These rotating disks are coated with a magnetic material
following number of bytes :
and stacked with space between them. Information is
(a) 1000 (b) 964 (c) 1024 (d) 1064
recorded on the surface of rotating disks by magnetic heads
(ii) One Megabyte is equivalent to
(a) 210 bytes (b) 220 bytes
as tiny magnetic spots.
(c) 230 bytes (d) none of the above The hard disks of today have storage capacity measured in
2. What are the functional components of giga bytes upto tera bytes.
a digital computer ?
2. Compact Disks (CDs)
3. What are the components of CPU ?
What is its role ? What is the function The compact disks or CDs are optical media. The CDs are
of control unit of CPU ? relatively cheap and have a storage capacity of upto 700
4. What role does the input unit play in a Mb. There are three main types of CDs:
computer ? (i) CD-ROM (Compact Disk-Read Only Memory).
5. What is the function of ALU ? This is used only to store information and cannot
6. What role does the output unit play in be used to store data. It is mainly used for CD
a computer ? distribution e.g., software, games, e-books etc.
7. What is the function of main memory ? (ii) CD-R (Compact Disk-Recordable). It is !li.ainly used
What are the measuring units of memory ?
for CD-Rand can be written on only once and disk
8. What are different types of ROM ? can't be erased.
9. What is the role of cache memory ? (iii) CD-RW (Compact Disk-Rewritable). CD-RW is an
10. Which storage device is considered a erasable disk you can write on multiple times.
portable device ?
• I VI~ x,
8
Path Wala
3. DVDs . th t 1 ks the same as a compact disc but is able to hold ab
DVD is an optical storage de:7ice ~ t oonsfer it to the computer about 20 times as fast out
15 times as much informatidon an r;ensity disk (SD), can hold upto 17 gigabytes of da:s a
CD ROM A DVD also calle a 5uper . . aor
- · '. 'd DVDs also come in three varieties.
four hours of movies on a si e. . .. .
. . d 1 DVDs i e 1 once recorded 1mt1ally, you cannot write on it
(i) DVD-ROM. Th is 1s rea on y ·· , • •

(ii) DVD-R (DVD-Recordable). DVD-R similar to CD-Rs allow users to write on the disc
once but read it many times.
(iii) DVD-RW (DVD-Rewritable). Most writable DVD drives are DVD-RW You can erase
and read many times on them.
4. Flash Memory
A flash drive is a small, ultra-portable storage device with
a 'solid state' memory i.e., it has no
moving parts unlike magnetic storage devices, nor does it m~ke use of_ lasers - u~like ~ptical
drives. Instead, it works in a similar way to RAM. The key difference 1s that data 1s retamed in
Flash memory even when the power is switched off. They are now fairly inexpensive, costing from
~ 250/- upwards. Typical sizes range from 256 Mbytes up to 128 GB and beyond.

5. Blu Ray Disk


Blu-ray Disc (also known as Blu-ray or BO) is an optical disc storage media format. Its main uses
are high-definition video and data storage. The disc has the same dimensions as a standard
DVD or CD. While current optical disc technologies such as DVD, DVD± R, DVD± RW, and
DVD-RAM rely on a red laser to read and write data, the new format uses a blue-violet laser
instead, hence the name Blu-ray. The benefit of using a blue-violet laser (405 nm) is that it has a
shorter wavelength than a red laser (650 nm), which makes it possible to focus the laser spot with
even greater precision. This allows data to be packed more tightly and stored in less space, so it's
possible to fit more data on the disc even though it's the same size as a CD/DVD. Blu Ray disks of
today are capable of storing upto 128 GB of data.
l .2 .8 The System Bus
The system bus_ (or the bus) is an electronic pathway composed of connecting cables and that
connects the ma1or components of a computer system. Through system bus, data and instructions
are passed among the computer system components.
¢) The data carrying part of system bus is called data bus.
¢) The control instruction carrying part of system bus is called control bus.
¢) The memory address carrying part of system bus is called Address bus.
¢) Ad s~parate htype of bus called 1/0 Bus connects the Input Output and other external
ev1ces to t e system. '

1.3 MOBILE SYSTEM ORGANIZATION


Modem mobile system are tiny com t . ·
power compared to their b · P1:1 ers m your hand. Although they have less computing
igger versions they handl d 1· ch as
making calls through radio signals, offer~ ca ~. _verse type of applications su
display audio/video/graphical cont t b hg _mer~ utilities, handling touch sensitive screen,
en ut avmg httle batte b d
Thus, the system organizatio f b' ry ase power etc.
.
d iagram °
n a mo 1le system has
of a mobile system is as show . p· components to handle all these. Thebo
1 ck
nm 1g. 1.4.
Path Wala
Chapter 1 : COMPUTER SYSTEM OVE RVIEW 9
Olaplay Subsystem

Touch sensitive Interface Camera Unit


(Image Signal
Processor)
Keyboard Display screen

,- -----
- - - - - - - - -CPU
RF Transceiver
APU (Application
Processing Unit) Storage
I COMMUNICATIONS
SIM PROCESSOR

Radio Signal (Digital Signal


Processor) External
Management GPU (Graphic
Storage
Processing Unit)

Power Management

Battery Battery
pack management
CODEC

These days major


DAC Memory
Charger components of a mobile
Audio Subsystem syst em are integrated on
a single ch ip called
System on a Chip (SoC) .
Mic Speaker The Soc chips consume
less power compared to
Figure 1.4 Mobile System Organization.
othe r alternatives .

Let us talk about these functional components of a mobile system one by one.
A mobile system's CPU handles diverse types of applications but has a little power compared to
computers as mobile systems run on battery power.

l . Mobile Processor (Mobile CPU)


This is the brain of a smartphone. The CPU receives commands, makes instant calculations,
plays audio/video, stores information and sends signals throughout the device.
The CPU of a mobile system has majorly two sub-processor 2 types : (i) Communications
Processing Unit (ii) Applications Processing Unit (APU)
(i) Communications Processing Unit. [Mobile System I/O Unit] This subsystem is
responsible for making and receiving phone calls on a mobile handset. It has a digital
signal processor that helps it work with RF Transceiver and the Audio subsystem.
¢) Radio Signal Management Unit is responsible for connecting SIM (which
provides a type of modem) to the base stations through radio signals. (3GILTE/4G
based cellular networks).
(ii) Applications Processing Unit (APU). This subsystem is responsible for governing,
controlling all types of operations taking place on a mobile system by running various
types of mobile applications (apps).

2. I n fact , major subsystems are like processors in themselves e.g., Radio Signal Management system can be termed as Radio
signal processor .
COVP R
10 Path Wala
. "din display facilities, touch sensitive interface and
This subsystem is responsible for prov1 g
touch sensitive keyboards.

3 s ni
.
Thi ubunit is designed to d e1·iver a tightly bound image processing package. andI enable an
ss . d •deo experience. It has an integrated Image S1gna Processor
improved overall picture an v1 . b ·1 · . d th
.
ensures things l'k · tan t image capture, high-resolution support, zmage sta z zzatzo11, an o er
1 e ms
image enhancements.
4 f A-1....·I <;, --L-- Mom rm,
Like its other counterparts, a mobile system also needs memory to work. A mobile system's
memory is comprised of following two types of memories :
(i) RAM (Random Access Memory). It is the work memory of your mobile system. The
installed mobile apps, when run, are first loaded in the RAM and then executed. These apps
remain in the RAM after you are no longer using them and then they are shifted to background.
The more RAM you have on a smartphone, the better the performance and faster the phone will
generally be. RAM does not store information once the device is turned off.

(ii) ROM (Read Only memory). The ROM or Read Only Memory is a part of mobile system's
internal storage and it is not accessible for users to write on and is thus referred to as Read Only
Memory. The ROM is basically Flash memory or technically EEPROM (electrically erasable and
programmable read only memory).
This ROM part of a mobile system internal storage is where
operating system resides. It also has some preinstalled apps in
RAM memory is volatile, it loses
this memory sections which cannot be deleted on users' end
its contents when you switch off
either. ~sis the reason why you don't get full internal memory the device .
as advertised on the Box, because a part of it has been used to
house operating system and other pre-installed apps.

5 . Storage
.. ,...,..,6-~ The external storage of a mobile system is also called
~ 1.2 ex~andable storage. It comes in the form of SD cards, or
1. What are major functional components micro SD cards etc. It is the storage which can be removed
of a mobile system ? · e~sily by you and can be used for storing pictures, music,
2. What is the role of Communication videos and the likes. To an extent, even the cloud storage
processor of a mobile system ? can also be categorized as external storage.
3. How does a mobile system manage and 6
draw power ? · _Power Management Subsystem (Battery)
4. What is the role of display management This subsystem is 'bl
b .1 responsi e for providing power to a
mo ~ e system. The mobile systems work on limited power
unit of a mobile system ?
5. How does memory of mobile function ? provided through ch
6. How does t he CPU of a mobile system
has a batte m an atta ed battery unit. This subsystem
work? charger ryd anagement system that works with a battery
an a battery unit d
mobile syst . . , an provides power to th e
em m required form.
Chapter 1 · COMPUTER SYSTEM O ✓ERYIEW
Path Wala 11
1.4 TYPES OF SOFTWARE

A computer sy 5t em consists of hardware and software for its proper functioning.


Ha rdware represents the physical and tangible components of the computer i.e., the components
that can be seen and touched. Input devices, output devices, CPU, hard disk, printer etc. are
examples of computer hard}vare.
Sofhoare represents the set of programs that govern the operation of a computer system and
make the hardware run. Software can be classified broadly into two categories.
1. System Software 2. Application Software

Follm, ing sections discuss system software and application software in details.

1.4.1 System Software


A computer is mere a machine that knows nothing of itself. Rather it requires instructions for
each and e\ erything it performs. These instructions are provided to it through software. The
sotn,·are that controls internal computer operations (viz. reading data from input devices,
transmitting processed information to the output devices, checking system components, converting
data, instructions to computer understandable form etc.) is known as system software.
The system software can further be classified into two categories : SYSTEM~SOfTWARE
1. Operating System 2. Language Processor. The software that controls
internal computer operations is
Let us discuss each one of these individually. called System Software.

1.4. l A Operating System


The primary goal of an operating system is thus to make the computer system convenient to use
and secondary goal is to use computer hardware in an efficient manner. An operating system is
an important component of a computer system which controls all other components of the
computer system.
Major components of a computer system are :
OPERATING' Sys'fEM
1. The Hardware An Operating System is a
2. The Operating System program which acts as an
interface between a user and
3. The Application program routines (compiler, linkers,
the hardware (i.e., all computer
database management systems, utility programs) resources).
4. The Humanware (users)
where hardware provides th<.· basic computing resources, the 11pplicatio11 program ro11ti11es define the
ways in which these resources arc used to solvt.• the computing problems of the users and the
Operating System controls and coordinates the use of the hardware among the various
application programs for the various users.
An operating system's major role is to execute a program. How an operating system executes a
program, is covered in chapter 4.
There are different types of operating systems available today to cater to varied type of
requirements. These are : Single user OS, M11/tiuser OS, Time sharing OS, Real time OS,
Multiprocessing OS, Distributed OS etc.
We are not discussing these operating systems types here as it is beyond the scope of the syllabus.
l .4.1 B Language Proce~sors
Path Wala
. 1t)rpe of a computer softv.,are that can translate the source cod
ocessor is a spec1a . f h
A language pr ch ' ode Here you should know the meaning o t e terms source cod
into an object code or ma me c . e
or object code. . .
fers to the program-code written by a programmer m a high level
e) A source co de re C
programming language (HLL) such as in C, Jav~, ++ etc. .
e) An object code refers to a code usually in machme language or bmary code, a language
that computer can understand easily and run on hardware.
So, you can safely say that language processors are software that conve_r t sourdc~ codes into object
codes. There are three types of language processors : assembler, compz 1er an mterpreter.
(i) Assembler. This language processor converts the program written in assembly language
into machine language.
(ii) Interpreter. An interpreter is a type of system software that translates and executes
instructions written in a computer program line-by-line, unit by unit etc.
(iii) Compiler. A Cqmpiler is another type of system software that translates and executes
instructions written in a computer program in one go.
The translated machine code runs fast (faster execution time) as now computer does not require
any type of conversion to run it i unlike source code which requires con version into
object/machine code before it can be executed.
Chapter 4 (section 4.3) discusses the working of compilers and interpreters in details.
1.4 .2 Applicati on Software
This type of software pertains to one specific application. For instance, a software that can
perform railway reservation functions cannot prepare result for a school.
These are the programs written by p rogrammers to enable computer to perform a specific task
such as_ pro~ess~g words, inventory control, handling calcu lations and figures, medical
accounting, financial accounting, result p reparation, railw ay reservation, billing etc.
Application software can further be subdivided into four categories : ~>APPLICATION SOFTWARE
l. Packages 2. Utilities An Application Software is the
3. Customised Software 4. Developer Tools set of programs necessary to
carry out operations for a
1.4 .2A Packages
specified application.
Only syste~ software does not suffice for efficient use of computers because t_h_e _s_y_st-em -
so=are eXIsts m_ostly for the benefit of the computer. Other programs i e the application
~tt aret adre ralmeqmred to make the computer useful for people. Application. s~ftware has been
en o o ost every task imagm·able fr d
. . , om wor processing to selecting a college to attend ·
As applications may be numerous (fr th ds
software for each one of them. Rathe:: ousan to millions of them), it is not feasible to design
individual users in the mann ·t .
er i
om:
suits their
general software are designed that may be used by
needs and ·
software are known as packages. requirements. Such general-app1·ica ti'0 n
Some major and most common cate ories O f
(i) Word Process· S f g general application software (packages) are:
mg o tware ("") 5
(iii) Database Man zz preadsheets
agement Systems (i ) D k
(v) Graphics, multimedia and . v es top Publishing Software
, presentation applications.
CO\I\PU 13

1.4 .28 Utilities


Path Wala
Utilities are those helpful program s that ensure the
s~ooth fu~~t~oning of the compute r. Utility programs or
Utilities are those application
simply Uhhhes are meant to assist your compute r. Some
programs that assist the computer by
utilities h~lp you backup data, some help remove performing housekeeping functions
outdated files or recover data that has been accidentally like backing up disk or scanning /
~rased. ~ome make it easier to find and arrange the cleaning viruses or arrangingj
mforma hon you need. And some help you avoid virus Informatio n etc.
attacks or clean viruses, if any. In other words, the utility
program s perform house-k eeping functions.
It is an establish ed truth that everythi ng comes with certain pros and cons. Software also are not
an exceptio n to it. Utilities bridge the gaps by helping to solve the problem s and maximiz e your
compute r's potentia l. Some importa nt utilities are being discusse d below.
1. Text Editor. This utility program is used for creating, editing text files.
2. Backup Utility. This utility program facilitates the backing -up of disk. Back-up means
duplicat ing the disk informa tion so that in case of any damage or data-loss, this backed
up data may be used.
3. Compre ssion Utility. This utility program facilitates compres sion of files. Large files can
be compres sed so that they take less storage area.
4. Disk Defragmentor. A file is fragmen ted when it becomes too large for your compute r
to store in a single location on a disk. When this happens , your compute r splits the file
up and stores it in pieces. You can use fragmen ted files, but it takes your compute r
longer to access them.
Disk Defragmentor utility program speeds up disk access by rearrang ing the files and
free space on your compute r, so that files are stored in contiguo us units and free space
is consolid ated in one contiguo us block.
s. Antivirus Software. This utility program ensures virus-free work environment. A computer
virus is a maliciou s compute r program that disrupts normal function ing of a compute r.
An antivirus software scans your disk for viruses and removes them, if any virus is
found. Moreove r, some antivirus software remains present in memory all the time so
that they can detect the viruses (as soon as they occur) and countera ttack them.

Application Software
Word processors

Spreadsheets Databases
System Software

Hardware
Graphic Operating Presentation
design Utilities
System CPU, disks, mouse, software
software
printer, etc.

Language Device
processors drivers

Figure 1.5 Working hierarchy in a computer.


Path Wala COMPUTER SCIENCE WITH PYTHO

14
1.4 .2C Business Software. .
. to a business
cifically created software according .
reqmrements ,.,_!
This type of software IS spe . . . ..tJUS
. d veloped to meet the general reqmrements of a busmess. For instance
type of so ftware IS e uterize its' Accounts' department and gets a software that can scr\'c ,ita
o cOmpis business software. There are many readymade busmess
company wan ts tftware . softwares
nee d s. Suc h a So to a variety of business needs. Examples of these software are Inventory.
These can cater
Management System (for managing inventory details of a company), Payroll system (for
handling payroll of a company's employees), Financial Accounting, Hotel Management and
Reservation System etc. Although there are standard business software available in market, yet
some companies prefer getting customized (tailor~made) software as per their sprcific
requirements. However, such softwares cannot be directly installed at any o ther user's
workplace as the requirements of the second user may differ from tlw first and tlw software
may not fit in the requirements of the new user.

l .4 .3 Software Libraries
When programmers develop software and programs, lhcy h,wL~ a prl'w l'illl'l1 sl'l of
~ode/~nctions, classes, scr!pts etc. available to do a variety of tasks, which they l'.1 11 rnw dirl•clly
m the1~ code. These ?redefmed sets of codes are ca lled software liL>rtHit•s. /\ softw.ue librnry is 11
1
predefined_ and av~1lable to use, suitt;? of data and prngr:u. .... t4 codl' in llw for m of pn wrillt•11
code/funct1ons/scnpts/classcs etc. th al can be ust.·d in the devl'lopnw nl of 1ww soflwnn'
programs and applica ti ons.
The c:,oftware libra ri es combine codes/ fun ct ion s / scrip ts / clnssL'H dr. 0 11 tlw h.11-, is 1)1 tlwir
common
. . .
domain. In order to use lht• rcwri lt·en , (unc•t·1nrw 1·tt y, u progrnrnnwr lll'L'd 8 to ,1dd tli,11
~ibranec:, to itc:, cod_c. For instance, if yo u r sofl wnn• l'l'CJUi l'L'H1-,onw lw.ivy rn.1l lw 111 i1 t ic,1l w ork llu•11
yr>u r:d.;d n<Jt ~nlc the ~un cli onH/m d, , c> lc. for <'0111pl vx 11 w tli1·m.i tic.i l lu 1H·lio11H. 1-!.itill'I' wl111t
y <JtJ n.:td t<) do 1s lh,1t t·o 1n r lucl e/impor l ;111 nvu il ,ihlt• SOrTWARE LIBRARIES
math babCc.l c.,<Jflware Ji brn ry in your prngrn in . Tlll'n I\ .,oftw arn llbr,iry h ., pr 1•d1 ll111•d ,111d 1

y<>u r~n ,~~,e all th" avn il nb l< · f1111l'lio11H n11d fpn fu1·(•H o1v,1ll,11Jlt• to 11w, •,1ilt1 o l d.il.i .11111 1

' 1 ~ ~~i i,. librnry in y<,t l l' cod<• witl10 11I lw vi 11 1', to PtoKI o11111nlr1H (()de• In I lw lu t 111 t> I 111 c<W t It t,•11
r< ~ntc thc•m (<,u r,1 11 11 1-11• " Hoft w .11'(' liliniry it1 11 " "' '' / /1111( /1011•, / \I I /J) I\ / ( ,,,., ••,., t•I 1 , I h,11
1
v,m,•ty o( pre,)"<,, .. ( ,111 111· 11•,c•d In 1111• dl'v1•l11p1111 •11I lll 111 W
•,rillw.111• 11111~:111111•, ,11 1d ,, ppl lc,11 11111 •, ,

11
•1ll' ('X.t n111l1 •, ,
l'y ll 1111 1, ,11111 1•n 1•1 p1q· 11'( 'd wdli 111,111 y H11flw,111•
ld,rni'l, •11. ~,01111 · of ll11 ·L11• ,1 1•1, :
1. How c.:<i , ,r P Jll r '1ft u,,r,. fi,, , I,, •.11,, ,cl (
I . N11111l'y
. . •<1
(N1rnwl'i <,, ii I' YII 1011 ). 11 11rov1d1 ,1 11 ,il,11111l ,111n '
2 ~/'r t ,HA t,rr, r INJl)I JI•', 111 ,yt l1 •111
<,ft nor : () I II Hl'lltl 11 •111111·1 1• I . •, Im· , 1111 •1·,1111,1l'l ,111
.i11 1 I I 111u· l11111
J 111 Ill( •t·lc • ,...i y1111 111 I 111 , iltll '1•t1 Ill l 'y tl,<11 1.
,,r,, 1 lfn,, ll / t i c111 ' Wh ,11 ,-: I 11

') , Hdl'y
. (Sd,·111lfic• I' YII 1011) . ,,.111Py 1•11111 ti 11 s 11111d1tl1• 1111 1
,

4. Wh
H ,,ft Witfl , Wh at ,u,, I111('.tl .. ' , () I ,1 J1111 1:, il1011 , 111(f') ', l.tl i(lfl , ., 11 d l.i ft ~llc "-,
1,,,, ,1,1•1 I

6 ,,t it i1pll1 at Ion


I. l',111d.1 l.lh1•,11y . I' II IC I, II, .111 ,I I I y tli,111 11o1,•k,11•1• 1lt•sir 11 1·d
J t l !H,. : I

I () (I" wot '•I w ill 1 " I l I " '


'§, Dlff"'"' t1 t" bf!tw,,m d(••i j,, , I . "" ' "" " ,111d " 11 •l.il11111 , d " cl.il ,1, If I~
ttrpnrt.rr. a r.: urnpller 11nrJ ,, 111 ( 1(If ' <jlll< ,. Ill I I I
••PJ''' ''' ti • ' ' 1 •,my , ,11 ., 111.111 l 1'11 .1111111
"Wha v 10ttware , , , n" 1111, illl< 1 VIH1t,tli :;,,.rf11111
7 w re II How are W1fl, 11,i,1 w., Il,I Vl'<o1111 • loll1L• 1·111l 11 I
to prnoram <jllll'kly n •vl ,-1i1 wlti1t w,• Ii 1 I ll R < h,q ,11 •1, I I I 11
,1v1.• 1t•i1111t c,:, t.11
]
COMPUTER SYSHM OVERVIEW Path Wala
LET Us REVISE

re and software.
Computers , an deliver performance because of an efficient co111bi11at1011 of hardwa
e represent the reco rded
While hardware refers to physical electronic components of a computer, softwar
inscructionslsoftware that govern its operation.
interconnections and work
Computer organization refers to logical structure of a computer describing their
dependency.
Unit, Output Unit.
~ The {unctional components of a computer include : input unit, CPU, Memory, Storage
<& The Input unit is responsible for obtaining input from user and converti
ng it to digital form.

<& The CPU (Central Processing Unit) processes the received input as per
a set of instructions and produces output.

<& The CPU has these sub-components : ALU, Control Unit and Register
s.
<& The ALU (Arithmetic of Logic Unit) is responsible for carrying out arithme
tic operations and logic operations (e.g.,
comparing two values).
% The Control Unit controls or supervises the processing taking place.
memory address during the
~ Registers are small data holding areas within CPU that hold data, instructions and
processing.
% The main memory or memory holds the data and programs for the
processing.

% Main memory can either be ROM or RAM.


~ ROM is read only memory that stores some prewritten
instructions.
'<& RAM is Random access memory that can be read and written and is used
for manipulating data during processing.

'<& The primary memo,y (RAM) is volatile in nature as all contents are erased
as soon as power goes off.

<& The cache memory is a special high speed memory storing the most
recently accessed data.
% The storage unit stores the contents permanently.
% Major storage devices are hard disks, CD, DVD, flash drive and Blue-Ra
y discs.

<& A mobile system handles complex types of operations including input,


output and processing.

% Major functional components of a mobile system are Radio Signal


Management subsystem, Display subsystem,
power management subsystem, CPU, Memory and storage subsystems.
'Q. Software represents the set of programs that govern the operatio
n of a computer system and make the hardware run.
'a: The software that controls internal computer operations is called system
software.

% An operating system is a program which acts as an interface between


the user and the hardware.

'<'u TherP are different types of OSs available - single program OS, multiprogram
OS, time-sharing OS, real-time OS,
multiprocessing OS etc.
'<'u A language processor converts a program written in high level language
to machine language.

% ThPre ar<' three language prcx·Pssors: (i) assembler which converts assembly
language code to machine code, (ii) compiler
and (iii) interpreter which convert high level language code to machine code.
% Application software is a set of programs necessary to carry out operatio
ns for a specified application.
% There are three categories of application software : (i) packages (ii) utilities
and (iii) customised software.
~ Utility programs assist the computer in maintaining its performance. Some
of the utilities are : text editors, backup
utilities, compression utilities, disk defragmentors, and antivirus software.
<:t. Customised software is tailor made software according to user's requirem
ents.

'<& Software libraries are sets of prewritten code/functions/classes etc.


available to programmers for use in the
development of new code.
. I.

{._ ) bj e ct i v e TYPe Qu e s t '· o n s


Path Wala
OTQs
Multiple Choice Questions . ?

Of h following components is the mam memory of computer .


1. Which t e (b) DVD
(a) CD (d) RAM
(c) Internal hard drive
2 Which component of a comPuter connects the processor to the other hardware ? .
· (a) System Bus (b) CPU (c) Memory (d) Input Umt
3 Which of the following is referred to the brain of computer ?
· (a) Processor (b) RAM (c) ROM (d) Hard drive
4. What is the name of programs that control the computer system ?
(a) Hardware (b) Keyboard (c) Software (d) Mouse
5. The physical components of a computer are called ?
(a) Software (b) Hardware (c) ALU (d) CPU
6. Which of the following is the common measurement of unit or computer memory ?
(a) IQ (b) Byte (c) Terabyte · (d) Gigabyte
7. What is the name of the component that used to both read and writes data ?
(a) ROM (b) RAM
(c) Hard Drive
(d) Cache Memory
8. The CPU is also known as:
(a) The Brain
(b) The Processor
(c) The Central Processing Unit
(d) All of these
9. Which smaller unit of the CPU directs and coordinates all activities within it and determines the
sequence in which instructions are executed, sending instructions sequence to other smaller unit.
(a) CU (b) ALU
(c) PROCESSOR . (d) All of these.
JO. Which smaller unit of the CPU performs all arithmetic and logic functions in a computer?
(a) CU (b) ALU
(c) PROCESSOR
(d) All of these.
11. Component of CPU which is responsible for comparing the contents of two pieces of data is
(a) ALU (b) CU (c) memory (d) register
12. In a computer, CU stands for
(a) control unit
(c) calculating unit (b) cache unit
(d) communication unit
13. Arithmetic and logic unit alo ·th I · ·
kn own as ngwi contra umt of a computer' combined into a single unit, 15
(a) central processing unit
(c) I/0 unit (b) memory unit
(d) operating unit
Path Wala
J,apter 1 · COMPUTER SYSTEM OVERVIEW 17

14. \Vnrd Processor and Desktop Publishing program are the examples of
(11) H,miwc1re (/J) software (c) cpu (d) none of these
1, Opt' rc1tmg System is an example of
(11) Applic-.1tion Software (b) System software
(c) Utilit) program (d) none of these
lo. \ dis!-. fragnwntor is an example of
(t1)Application Software (b) System software
(t) Utilit) program (d) none of these
17. Flash memor> and Blu Ray disk are the examples of
(t!) Hardw,1re (lJ) software (c) cpu (d) none of these

lS. Fl.1sh memor) is a type of ___ memory


(11) Pnmar) (b) RAM (c) secondary (d) all of these
14. Which of the following memory types will store the data or information permanently?
( •) RAM (b) cache
(c) Flash Memory (d) Hard disk

20. \ \ hich of the following memory types cannot store the data or information permanently ?
\'') RAM (b) cache
(L, Flash Memory (d) Hard disk

Fill in the Blanks


1. _ _ refers to the logical structure of a computer describing their interconnections and dependency.
2. RAM and ROM are the types of _ _ _ memory .
3. The _ __ is responsible for carrying out arithmetic and logic operations.
4. The _ _ _ of the CPU controls or supervises the processing taking places.
5 The small memory providing units inside the CPU are called the _ __
6. The _ __ memory is a special high speed memory storing the most recently accessed data.
7. The power unit of a mobile system is called _ __
8. The set of programs nccl'ssary to carry out operations/tasks pertaining to a specific application, are
called ______
9. Software that control s and manages inll'm,11 computer opL'rations is called ______
10. Utility progrnm s Ml' a typt• of ______ .
11. Antivirus software is a tnw of ______ .
12. Windows OS is a type of ______ .

True/False Questions
1. A computer system consists of both hardware and software.
2. Hardware is a set of instructions called programs that the computer uses to carry out tasks while
Softwar(' are all thl' parts of the computer you can see and touch, also known as peripherals.
3. Thl' two smallL'r units of the Processor are CU and ALU.
18
Path Wala
\1 m M mory hold d t nd m tru t1 b n pr d t
t: 1bl by the CPU

A mob ile y tern also cont ains a CPL: .


A mob ile syste m work s with elec tnaty .
7 A mobile system has its own Jittle pow er unit
8. A cache mem ory is a type of RAM.
9 f ;inguagc processors are a type of applicati
on software.
IC c ustum iscd softw are is a type of sy.-:,tem sofh-vare.

NOTE : Answers for OTQs are given at the end of the


book.

S"oh,e~ ProbleW1s

I. Slate the basic units of t/ie computer. Name the s11bu11its that
make up the CPU, and give Ille funcJ,on of
of the units.
Solu tion. The basic units of a com pute r ar(!:
1. Inpu t unit 2. Cent ral Proc essin g Unit (C PU) 3. Outp ut Unit 4. Memory.
The CPU has two subu nits: the control unit (CU)
and the arithmetic logic unit (ALU ).
The control unit cont rols the entire oper ation bein
g ca rried out.
The ALU perfo rms the arith meti c and logical o pera
tions.
2. What is the ftmction of memory ? What are its meas uring
units ?
Solution . The mem ory temp orari ly hold s the data
and infor mati on duri ng proc essing.
The smal lest unit of mem ory is a byte (8 bits). A
byte can store one char acter in bina ry form . Other
meas uring units are kilobyte (KB) equa l to 1024 10
(2 ) byte s, Meg abyt e (MB) equa l to 1024
Giga byte (GB) equa l to 1024 MB and Tera byte (TB) KB,
equa l to 1024 GB.
3. Give examples for each of system software and applicatio
n software. Explain the function of each type.
Solu tion. Exam ples of syste m softw are are :
(i) Oper ating syste m (ii) Lang uage Proc esso r (iii) App licat ion Softw are
Exam ples of Ope ratio n Syst em are: Single user OS,
multiuser OS, batch processing OS, multiprocessing
OS etc.
As the nam es suggest, single user OS supp orts singl
e user wher eas multiuser OS can supp ort m_ultipl;
users. The batch processing OS processes the batch
es (grou ps) of jobs (processes given to it) an
multiprocessing OS is capable of hand ling mult iple CPU
s at the same time.
The examples of language processors are : (i) Inter prete r
(ii) Com piler (iiL) Assembler
An interpreter conv erts and executes an HLL prog
ram into object prog ram line by line whert:'.as a
compiler converts an HLL prog ram into object prog ram
in one go and once the prog ram is error frCC
it can be executed later. An assembler conv erts an assem
bly lang uage prog ram into object program
Lxamples of application software are : (i) Cust omis ed Softw
are (ii} Gen('ral soft" are.
The cuE.tomised software perta ins to the requ irem ents
of a specific user for who m the sott\, are ha~
been developed. General software is deve lope d keep
ing in mind gc>neral spe1.. itications of J problel11•
MPUTER SYSTEM OVERVIEW Path Wala 19

4 \\11y zs. p1 i111ary 111c11rnrii , . write


• lermccl ac; ,c1LSfmctrvc . , J111'111CJ1 I/ /111/ '11m1 d1•.,f 11u /,vc rtad' 111i:111ory ?
S o Iuhon. When a memory
\\'llt d remain the
. read from in the primc1ry memory, the rnntl'nl'l of the: m mory
. loc a fion is
destructive, read' same , they . are n< )t aIt ercc.I ·rI1crc fore, .i prirn<1ry . memory ii;; h.'rmcd a 'nm
. memory smcc the re a d opera t.10n cIoes not cIestruct the cnnlcnlo of a memory word.
When th,
Th a wnte. operation takes 1
. Pace, .
the prC'v1ous contents of the memory word .irc ovcrwntttm.
us,
, c pn
t t. fmary memory 15 term e·d as 'd •
estruct1Ve wntc · opcr,1tion destructs
· , memory as the wntc
th c con ens o a memory word.
5. What is the difference between RAM and ROM ?
th RA
B tRAM
Solution. refers. to ra n d.om access memory where both read and write operations ct1n t.1kc
Pace.
1 u e MIS a volatile memory; its contents are lost when power is turned off.
ROM ref~rs to read only memory where only read operation can take place. The ROM is a
non-volatile memory.
Both RAM and ROM are parts of the primary memory.

6 What is Cache memory? Why is it considered crucial for a microprocessor's performance?


Solution. Cach e memory is a special high-speed memory that stores most recently used d a ta in
o rd er to speed u p the process of instruction execution. A cache can speed up d a ta re trieval
b ecau se recently used data is likely to be used again by the computer.

7. Wh at is the role of CPU of a mobile system ?


Solution. A mobile system has to cater to a variety of operations and applications and its CPU h as to
m an age all these. Thus th e CPU of a mobile system has many sub-processors that h elp it control and
manage diverse applications. The CPU of a mobile manages all these types of applications and operations :
~ M an ages communications while connecting to radio transceivers and SIM.
~ Manages audio through ADC (analog to digital converter) and DAC (digital to analog converter).
~ M anages display and touch sensitive sensors and in terface.
~ Works in tandem w ith memory and storage.

8. Wha t are various categories of software ?


Solution. There are broadly two categories of software :
1. System Software. This type of software controls internal computer operations. The system
software can further be classified in two categories :
(i) Operating System. An operating system is a program which acts as an interface between a user
and the hardware.
(ii) Language Processor. This program is responsible for converting an HLL code (High Level
Language code) into machine understandable code.
2. Application Software. An application software is the set of programs necessary to carry out
operations for a specified application.
9. What is the difference between an interpreter and a compiler ? nd
Solution. An interpreter converts an HLL program into machine language line by line ath
simultaneously executes the converted line. Also, an interpreter must always be present in e
memory along with the program for its execution. If an error occurs in a line, the line is displayed
and interpreter does not proceed unless the error is rectified. th
A compiler converts an HLL program in machine language in one go. If there are errors in e
program, it gives the error list along with the line numbers. Once the errors are removed, error-free
obj<.> ct code is made available and after this compiler is no more needed m the memory.
20
• n
Path Wala
7 Why is 11 requm~d ?
10 Wl,nt is nppl1cnt1011 ,oftwa11:. . hat pertains to one application.
• · ftw ire 1s a software t h rout
"olut1on. Apphcat1on so ( stem software cannot carry out t
. . required because sy .
Appli ca tion so ft ware is I' t' n software can easily do.
Performed by the user which app ica io 1· t· n software comes in various categon
To perform various kind s of act1.v1·r,es, the app ,ca io '
(i) Packages
(ii) Utilities
(iii) Business Software
( · ) Developer Tools. d · h ,L
. beIow. Study each stalt:.ment and eternune w tc,,
. are given
Fiveivstatements about interpreters and compilers
11 . of them hold true for a compiler or for an interpreter.
(') takes one statement at a time and executes it.
u\ generates an error report at the end of translation of the whole program.
. process as soon as ti Ie ;Ir
(iii) stops the translatzon {,' st error is encountered.
(iv) slows speed of execution of program loops.
(v) translates the entire program in one go.
Solution. Interpreter : (i), (iii), (iv) ; Compiler : (ii), (v)

q uid e Ii n es Io NCERT Que s Ii on s [NCERT Chapter 1]

1. Name the software required to make a computer functional. Write down its two primary services.
Ans. Operating System. Two of its primary services are : managing CPU and managing primary
memory.
2. How does the computer understand a program written in high level language ?
Ans. The program written in high level language is first converted/translated into machine language
by a language processor, which is then handed over to a computer. Thus, the computer is able to
understand the programs written in high level language.
3. Why is the execution time of the machine code less than that of source code ?
Ans. The translated machine code runs fast (faster execution time) as now the computer does not
requ,ire any type of conversion to run it ; unlike source code which requires conversion into
object/machine code before it can be executed.
4. What is the need of RAM ? How does it differ from ROM ?

Ans. The RAM is needed for the smooth running of a computer's operations as it provides memory
for reading as well writing; its contents can be modified as and when required. ROM, on the other
hand, stores somefrom
read instructions ROM. which are permanent. ROM cannot be written onto. One can only
instructions

Thus RAM along with ROM, is required for the smooth functioning of a computer system.
5. What is the need for secondary memory ?

Ans. The primary memory holds the data and instructions only during processing and alter that, it
gets erased. One cannot store data and instructions permanently on RAM.
To permanently store data and instructions the secondary · ·
, memory 1s reqmred.
Path Wala
SYSTEM OVERVIEW
21
Ch opter I . COMPUTER

p11il'r co1111111111icate u•ith ench otlzer ?


6. Ht>W rio d/fcrent conrpo11rnto:; of the co111
ects the
r com mun icate thro ugh the bus whic h conn
Ans. Different com pon ents of a com pute
m.
functional com pon ents of a com pute r syste
do the following:
13. Nn111c the input or outp ut device used to
(n) To output audio
(b) To enter textual data
(c) To make hard copy of a text file
(d) To display the data or information
(e) To enter audio-based command
(f) To build 3D models
(g) To assist a visually-impaired indiv idual
in enter ing data
(c) prin ter (d) mon itor (e) MIC
Ans. (a) spea ker (b) keyb oard
(f) 3D prin ter (g) Braille Keyboard
:
14. Ide11tifiJ the category (system, applicatio
n, programming tool) of the following software
(c) Ubu ntu (d) Text editor
(a) Com pile r (b) Assembler
g tool
are (c) system software (d) prog ram min
Ans. (a) syst em soft ware (b) syst em softw

GL OS SA RY

Bit A binar y digit.

Byte A grou p of eight bits.


arithmetic and logic a l operations.
AW Arith metic Logic Unit that carries out
of a specified appli catio n.
Application Software perta ining to the operations
Software
ts all the errors along
mach ine langu age in one go and repor
Compiler Prog ram that converts HLL prog ram into
with their line numbers.
en a user and the hardw are.
Operating System Prog ram which acts as an interface betwe
entire opera tion.
the given process and supervises the
CPU Cent ral Processing Unit that carries out
uter.
to store data and progr ams in a comp
Mem ory An organ ized collection ,of cells used
ble and electrically
ory, a device that is ultraviolet-erasa
EPROM Erasable prog ramm able read -only mem
repro gram mabl e.
own programs and data.
PROM programmer, you can bum in your
PROM Programmable read-only memory. With a
read the contents of
a read-write mem ory because you can
RAM Random-access memory. It is also called
nts into it.
a memory locat ion or write new conte
e storage of programs
Mom ) This device provides non-v olatil
ROM Read-only mem ory. (ROM Rymes with
locat ion by supplying its address.
and data . You can access any memory
tion of a comp uter system.
Softw are Set of progr ams that govern the opera
mach ine understandable form.
Language Processor Software that
converts a high level langu age code into
operations.
System Softw are Software that controls internal comp uter
perfo rming housekeeping functions.
Utility Softw are A software that assists the comp uter by
OMPUTER I t~ E WI rt I /THON X:
22
Path Wala

1. Briefly explain the basic architecture of a computer. Wh d t . t .


2. What do you understan db Y mpu · t unit?· What is its significance? at oes compu er tnpu consist of?
3. What 1s· th e fu nc t·10n o f CPU in a computer system ? What are its subunits ?

4. What functions are per forme d by the control unit ?· Can we call it the control centre of computer
system ? Why ? _ . .
5 _ What functions are performed by the ALU ? Is it an independent urut ? If not, which unit does ALU
work in coordination with ?
6. Distinguish between CPU and ALU.
7. What is the function of output unit in a computer system ? Give examples of some output devices.
8. What role does memory play in the functioning of computer system ?
9. Define each of the following :
(a) byte (b) kilobyte (c) megabyte (d) gigabyte (e) terabyte.
10. What is the meaning of the term volatile primary memory ? What can be done to overcome the
problems of volatility ?
11. Distinguish between internal and external memory.
12. What is the role of memory in a computer functioning ? What types of memory does the computer work
with?
13. What are RAM and ROM ? How are they alike ? How are they different ? What are EEROM, PROM and
EPROM?
14. What is cache memory ? How is it useful ?
15. What are major functional components of a mobile system ?
16. Draw a block diagram depicting organization of a mobile system.
17. What is the role of power management unit in a mobile system ?
18. What does the communication processor do ?
19. What is the role of application processing unit in a mobile system ?
20. How does display subsystem of a mobile system work ?
21. What are different categories of software ? Give examples.
22. ~at is system softw~~e ? What role does it play in the functioning of the computer ?
23. Discuss the role of utility software in the context of computer perform
.
· th e importance
24 • What 1s of an OS ? ance.

25. How are software libraries useful ? Name some softwa l'b . f
26 H . re 1 ranes o Python.
. ow is system software different from application soft~ ?
27. What is the utility of these software ? are .
(i) disk fragmentor (ii) backup software.
28. To run your computer system, what t es of s f .
O
computer's functioning ? YP tware are necessary ? What role does each type play 111

You might also like