Professional Documents
Culture Documents
Computer
System Overview
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.
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
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.
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.
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
(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.
,- -----
- - - - - - - - -CPU
RF Transceiver
APU (Application
Processing Unit) Storage
I COMMUNICATIONS
SIM PROCESSOR
Power Management
Battery Battery
pack management
CODEC
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.
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
Follm, ing sections discuss system software and application software in details.
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
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
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.
'<& 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.
'<'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.
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
20. \ \ hich of the following memory types cannot store the data or information permanently ?
\'') RAM (b) cache
(L, Flash Memory (d) Hard disk
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
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
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
GL OS SA RY
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