HGFGH
HGFGH
Computer
System Overview
InTisChapfer
1.1 Introduction
1.2 Basic Computer Organization
1.3 Mobile System Organization
1.4 Types of Software
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. Amodern 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 playa role 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 programns 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.
rOMPUER 5ECF WIHPYTHON
Bit NOTE
Cell 0
0 1 0 1 1 0 Cell 1 The memory of computer is
often called main memory or
primary memory.
3. DVDs
hold abit
DVDISain ophcalstorage device that looks the same as a cornpact disc but isable to
15 times as much intormation and transfer if fo the computer about 20 times as fast as
CD-ROM. ADVD, also called a Super Density disk (SD), can hold upto 17 gjgabytes of data or
four hours of movies on a side. DVDs also come in three varieies.
(} DVD-ROM. This is read only DVDs ie. once recorded initially, you carnot write ori it
disc once
(1) DVD-R (DVD-Recordable). DVD-R similar to CD-R's allow users to write on the
but read it many times.
erase and
(i11) DVD-RW (DVD-Rewritable). Most writable DVD drives are DVD-RW You can
read many times on them.
4. Flosh Memory
i.e., it has no
A tlash drive is a small, ultra-portable storage device with a'solid state' mernory optical
lasers - unlike
moving parts unlike magnetic storage devices, nor does it make use of retained in
drives. Instead, it works in a similar way to RAM. The key difference is that data is
costing frOm
Flash memorv even when the power is switched off. They are now fairly inexpensive,
R250/- upwards. Typical sizes range from 256 Mbytes up to 128 GB and beyond.
5. Blu Roy Disk
Blu-ray Disc (also known as Blu-ray or BD) is an optical disc
Check
Point storage media format. Its main uses are high-definition
video and data storage. The disc has the same dimensions
1.1 as a standard DVD or CD. While current optical disc techno
DVD-RAM
()) Storage of 1 KB means the logies such as DVD, DVD ±R, DVD ±RW, and
rely on a red laser to read and write data, the new format
1
following number of bytes :
(a) 1000 (b) 964 uses a blue-violet laser instead, hence the name Blu-ray.
(c) 1024 (d) 1064 The benefit of using a blue-violet laser (405 nm) is that it has a
(i) One Megabyte is equivalent to shorter wavelength than a red laser (650 nm), which makes it
(a) 210 bytes (b) 220 bytes
possible to focus the laser spot with even greater precision.
(c) 230 bytes (d) none of the above
This allows data to be packed more tightly and stored in less
What are the functional conponents of space, so ie'spossible to fit moredata on the disceven though
a digital computer ? it's the same size as a CD/DVD. Blu Ray disks of today are
capable of storing upto 128 GB of data.
3. What are the components of CPU ?
What is its role ? What is the function
of contro! unit of CPU ?
1.2.6 The System Bus
4. What role does the input unit play in a
The system bus (or the bus) is an electronic pathway
CoInputer ?
composed of connecting cables and that connects the major
components of acomputer system. Through system bus,
5. What is the function of ALU ? data and instructions are passed among the computer
6. What role does the output unit play in system components.
a computer ?
The data carrying part of system bus is called data bus.
7. What is the function of main mnemory ?
What are the measuing wits of memory ? Thecontrol instruction carrying part of system bus is called
control bus.
8. What are different types of ROM ? >The memory address carrying part of system bus is called
9. Name some fast storage devices. Address bus.
10. Which storage device is considered a ’Aseparate type of bus called I/O Bus connects the Input,
portable device ? Output and other external devices to the system.
COMPUTER SCIENCE WITH PYTHON
1.3 MOBILE SYSTEM
ORGANIare ZATION in your hand.
Modern mobile svstem Although they have
power tiny conmputers less
compared to their bigger
making calls through radio signals,versions, they handle diverse type of applications s
offering camera utilities, handling touch Such as computing
display audio'viideo/graphical
content but having little battery based power etc. sensitive screen,
Display Subsystem
Touch sensitive interface
Camera Unit
(Image Signal
Keyboard Display screen Processor)
CPU
RF Transceiver
APU (Application
SIM COMMUNICATIONS Processing Unit) Storage
PROCESSOR
Radio Signal (Digital Signal
Management Processor) GPU (Graphic
Processing Unit) External
Power Management Storage
Battery
pack Battery
management CODEC ROM RAM
ADC
Charger Audio
DAC
Memory
Subsystem
Mic Speaker
Figure 1.3 Mobile System
Organization
Thus, the system
organization
diagram of a mobile system is
of amobile
system has components to handle all
as shown here.
Let us talk about these. The block
these functional
Amobile
system's components of a mobile systenm one by one.
CPU handles diverse
computers as mobile systems run on battery types of applications but has a
power. little power
1. Mobile
Processor (Mobile CPU) compared to
This is the brain of a
plays audio/video, storessmartphone. The CPU receives
The CPU of a information and sends signalscommands, makes instant calculations,
(i)
mobile system has majorly two the throughout device.
Communi catio ns Processing Unit sub-processor
(i)
types:
In fact, major
subsystems are like processors in
signal processor.
Applications Processing Unit (APU)
themselves e.g., Radio Signal
Management system can be termed as Raáio
Chopter 1 : COMPUTER SYSTEM OVERVIEW 9
where hardvare provides the basic computing resources, the ayplication program routines define the
ways in which these resSOurces are used to solve the computing problems of the userS ane tne
Operating System controls and coordinates the use of the hardware among the various
application programs for the various users.
An operatng system's major role is to eXecute a program. How an operating system executes a
program, is covered in chapter 4.
of
Ihere are ditterent types of operating systems available today to cater to varied type
requirements. These are: Single user 0S, Multiuser OS, Time sharing OS, Real time 05,
Multiprocessing OS, Distributed OS etc.
We are not discussing these operating systems types here as it is beyond the scope of the
svllabus.
Chapter 4 (section 4.3) discusses the working of compilers and interpreters in details.
1.4.2 Applicotion Software
instance, a software that can
This type of software pertains to one specific application. For
perform railway reservation functions cannot prepare result for a school.
specitictask
These are the programs written by programmers to enable computer to pertorm a
and figures, medical
such as processing words, inventory control, handling alculations
accounting, financial accounting, result preparation, railway reservation, billing etc.
Application software can further be subdivided into four APPLICATION SOETWARE
An Application Software is the
categories : set of programs necessary to
2. Utilities
1. Packages carry out operations for a
3. Customised Software 4. Developer Tools specified application.
12
COMPUTER SCIENCE WITH PrTHON
14.2A Packoges
Only sstem software
software exists nostBy fordoesthenotbenefit
suffice for efficient use of computers because the
system
of the computer. Other proOgrans 1.¬., the application
softw are are required to make
WIitten to do almost every task the computer useful for people. Application software has
imaginable, from word processing to selecting a been
attend. college to
As
applications may be numerous (from thousands to millions of them), it is not feasible to
SOtware for each one of them. Rather
individual users in theemanner it suitssome general software are designed that may be used by design
their needs and requirements. Such
software are known general-application
as packages. Some major and most common categories of
application software (packages) are : general
() Word Processing
(ii) Software (i) Spreadsheets
Database
(o) Graphics, Management Systems (iv) Desktop Publishing Software
multimedia, and presentation applications.
1.4.2B Utilities
Utilities are those helpful programs that ensure the
smooth functioning of the computer. UTILITIES
SImply Utilities are meant to assist your Utility programs or Utilities
utilities help you backup data, somecomputer. Some those application
are
Application Software
Word processors
Hardware
Graphic Operating Presentation
design System
Utilities
software
software CPU, disks, mouse,
printer, etc.
Language Device
processSors drivers
The Sottare libraries combine codes/ functions /scripts / classes etc. on the basS of the
unon domain. In order to use the ewritten functionality, a programmer needs to add th
eraries to its code. For instance. ifvour software requires some heavy mathematical work the
VOu need not write the functions/code etc. for
SOFTWARE LI6RARIES
Complex mathematical functions. Rather what you
need to do is that to include/import an available Asoftware library is a predefined an
available to use, suite of data an
math based software library in your
program. Then
VOucan use all the available functions and features
programming code in the form of prewtitte
code / functions / scripts / classes etc. tha
of this library in vour code without can be used in the development of ne
having to software programs and applications.
rewTite them. You can use a software library in a
variety of projects.
For example, Python comes equipped with many software libraries. Some of these are :
I. NumPy (Numerical Python). It provides an abundance of useful features and functior
tor operations on numeric arrays and matrices in Python.
2. SciPy (Scientific Python). SciPy contains modules for linear algebra, optimizatio
integration, and statistics.
3. Panda Library. Pandas is a Python package designed to do work with "labeled" an
"relational" data. It is designed for quick and easy data manipulation, aggregation, an
visualization.
With this we have come to the end of this chapter. Let us quickly revise what we have leant s
far.
LET US REVISE
e Computers can deliver performance because of an efficient combination of hardware and software.
G While hardware refers to physical electronic components of a computer, software represent the recordec
instructions/software that govern its operation.
GComputer organizoion refers to logical structure of a computer describing their interconnections and wor
dependency.
The functional conmponents of acomputer include : input unit, CPU, Menmory, Storage Unit, Output Unit.
e The Input unit is responsible for obtaining input from user and converting it to digital form.
G The CPU(Central Processing Unit) processes the receiver input as per a set of instructions and produces output.
The CPU has these sub-components : ALU, Control Unit and Registers.
The ALU(Arithmetic of Logic Unit) is responsible for carrying out arithmetic operations and logic operations (e.g.
comparing two values).
The Control Unit controls or supervises the processing taking place.
Registers are small data holding areas within CPU that hold daa, instructions and memory address during the
processing.
). The main memory or memory holds the data and programs for the pro essing.
Main memory can either be ROM or RAM.
ROM is read only memory that stores some prewritten instructions.