FINAL Revised XI CS Computer Systems and Organisation Unit1 Part1 2020-21
FINAL Revised XI CS Computer Systems and Organisation Unit1 Part1 2020-21
www.knowpythonbytes.blogspot.com
What is a System?
• System is a set of rules, an arrangement of things, or a
collection of elements or components that work towards a
common goal/purpose in an organized manner.
What is a PROGRAM?
– Set of instructions
Hardware and Software
• Hardware
Physical parts of a computer system which can be seen and touched and which can
undergo wear and tear.
– Peripherals
Physical parts which are kept in the surroundings of a computer system.
Eg- Keyboard , Mouse, Speaker, Printer etc.
• Software
Set of programmes /instructions which helps in the working of computer and
related devices.
Eg- Python Interpreter, Browsers (Eg. Firefox),OS(Eg.Windows10) ,Games,Apps etc.
• Firmware
Prewritten programme which is permanently stored in ROM-BIOS(Read Only
Memory- Basic Input Output Services ). It is used in configuring the computer
system.
• Live ware-
– People related to the computer system
– Eg.Users, Programmers
INPUT CPU
Keyboard
Mouse OUTPUT
Monitor
Scanner
Printer
Joystick
Web Cam
ALU Speaker
Microphone Projector
Digitizer Tablet Plotter
Digital camera
Touch Screen
Track Ball
MICR
CU
OCR
OMR
Barcode Reader
Smart Card Reader
Digitizer
tablet/Writing pad Smart card reader
Functional components of a computer system
OUTPUT UNIT
An Output device is any device that provides output in a form which is
human understandable (Audio, Video, printed form). This conversion
from machine understandable form to human understandable form is
the work of Output unit.
NOTE: Computer understands only two signals viz. 1(ON) and 0(OFF).
Since, there are only two digits/signals which computer understands ,therefore, this
machine level language is also known as Binary Level Language.
OUTPUT DEVICE: Printer
• A printer is an output device that prints paper
documents. This includes text documents, images,
or a combination of both.
• The two most common types of printers are inkjet
and laser printers.
• Inkjet printers are commonly used by consumers,
while laser printers are a typical choice for
businesses.
• Dot matrix printers, which have become
increasingly rare, are still used for basic text
printing.
Types of printers
Impact printers – Non- Impact printers –
In these printers, In these printers , there is
no mechanical contact
there is mechanical
between the printer head
contact between the
and paper. These printers
printer head and the can primarily be categorised
paper. Example- line as follows- Electromagnetic
printers, drum printers, printer, Thermal printer,
daisy wheel printers & Electrostatic printer, Ink jet
dot-matrix printers. printer, Laser Printer.
Impact printers Vs Non-impact
printers
• There is mechanical • There is no
contact between the mechanical contact
between the paper
print head and and the print head.
paper.
• Non-Impact printers
• Impact printers are are faster.
slower. • Non impact printers
• Impact are noisy. are less noisy or
sometimes noiseless.
• Lesser cost • Comparatively costly
• E.g., Daisy wheel, • E.g., Laser printers ,
Dot matrix, etc. Inkjet Printers etc.
Functional components of a computer system
CENTRAL PROCESSING UNIT (CPU)
Central Processing Unit (CPU) is also known as
microprocessor or processor. A CPU is brain of a
computer. It is responsible for all functions and
processes. The CPU is the most important element of a
computer system which guides, directs ,controls and
governs the performance of a computer.
HARD
PROM SRAM PENDRIVE CD
DISK
MAGNETIC
EPROM DRAM DVD
TAPES etc.
BLU-RAY
EEPROM
DISC
EAPROM
Functional components of a computer system
(MAIN / PRIMARY) MEMORY UNIT
Memory refers to the physical devices used to store programs (sequences of
instructions) or data (e.g. program state information) on a temporary or
permanent basis for use in a computer or other digital electronic device.
The term primary memory is used for the information in physical systems which
function at high-speed (i.e. RAM), as a distinction from secondary memory,
which are physical devices for program and data storage which are slow to
access but offer higher memory capacity. The Primary Memories are:
RAM,ROM,Cache Memory(Part of Cache made up of high speed RAM)
Extra Note: Primary memory stored on secondary memory is called "virtual
memory".
Image of Capacitors
Static RAM(SRAM)
• Static random-access memory (SRAM) is a type
of semiconductor memory that are made up of flip-flops (a binary cell
capable of storing one bit of information) to store each bit.
• The term static differentiates it from dynamic RAM (DRAM) must be
periodically refreshed.
• SRAM exhibits data remanence, but it is still volatile in the conventional
sense that data is eventually lost when the memory is not powered.
• SRAM is more expensive and are used in specialized applications and
less dense than DRAM and is therefore not used for high-capacity, low-cost
applications such as the main memory in personal computers.
• SRAM is also used in personal computers, workstations, routers and
peripheral equipment: CPU register files, internal CPU caches and
external burst mode SRAM caches, hard disk buffers, router buffers, etc.
• LCD screens and printers also normally employ static RAM to hold the
image displayed (or to be printed).
Image of SRAM
STATIC RAM Vs DYNAMIC RAM
Read Only Memory (ROM)
• Read-only memory (ROM) is a class of storage medium
used in computers and other electronic devices. Data stored
in ROM cannot be modified, or can be modified only slowly or
with difficulty, so it is mainly used to
distribute firmware (software that is very closely tied to
specific hardware, and unlikely to need frequent updates).
TYPES OF ROM
ROM ROM refers only to mask ROM (the oldest type of solid state ROM), which
is fabricated with the desired data permanently stored in it, and thus can never be
modified.
PROM (PROM), or one-time programmable ROM , can be written to or programmed via a
special device called a PROM programmer. Typically, this device uses high voltages
to permanently destroy or create internal links (fuses or antifuses) within the chip.
Consequently, a PROM can only be programmed once.
EPROM Erasable Programmable Read Only Memory(EPROM) can be erased by exposure to
strong ultraviolet light (typically for 10 minutes or longer), then rewritten with a
process that again needs higher than usual voltage applied.
EEPROM Electrically Erasable Programmable Read Only Memory (EEPROM) is based on a
• Programmable read-only memory
similar semiconductor structure to EPROM, but allows its entire contents to be
electrically erased, then rewritten electrically, so that they need not be removed
from the computer (or camera, MP3 player, etc.).
Writing or flashing an EEPROM is much slower (milliseconds per bit) than reading
from a ROM or writing to a RAM (nanoseconds in both cases).
EAROM Electrically Alterable Read Only Memory(EAROM) is a type of EEPROM that can be
modified one bit at a time. Writing is a very slow process and again needs higher
voltage (usually around 12 V) than is used for read access. EAROMs are intended for
applications that require infrequent and only partial rewriting.
CACHE MEMORY
Pronounced cash, a special high-speed storage mechanism.
It can be either a reserved section of main memory or an
independent high-speed storage device.
Data deleted from the system goes through the following steps:-
• If a file/folder is deleted from the system then it goes to the
RECYCLE BIN.
• The file/folder can be restored from the RECYCLE BIN. If done so,
then the file/folder will be again available/ restored in the same
location from where it was deleted.
• The file/ folder if not restored, but deleted from the recycle bin,
then it gets permanently deleted from the system.
CLASSIFICATION OF SOFTWARE
OPERATING
SYSTEM SYSTEM ASSEMBLER
SOFTWARE LANGUAGE INTERPRETER
PROCESSORS
COMPILER
PACKAGES
SOFTWARE CUSTOMIZED
S/W or
BUSINESS Text Editor
S/W or Back up Utility
TAILOR-
MADE S/W Compression
Utility
APPLICATION Disk
Defragmenter
SOFTWARE UTILITIES
Antivirus
software
DEVELOPER
TOOLS
SYSTEM SOFTWARE
System Software controls internal operations of the
computer system.
1. OPERATING SYSTEM: It is a program which acts as an interface
between the user and the hardware.
Eg. Windows10, LINUX,UNIX,MANDRAKE,REDHAT
2. LANGUAGE PROCESSORS: A computer software which translates
the source code into an object code(machine code).
As we know that computer understands only Binary level language
(Machine level language), but the programmer writes in High Level
Language which needs to be converted to Binary Language.
SOURCE CODE: program code written in High Level Language
(Eg. Python,C,C++,Java etc.)
OBJECT CODE: Computer understandable code which can run
on hardware very easily. (Binary Language/Machine Language)
TYPES OF LANGUAGE PROCESSORS:
i) Assembler ii) Compiler iii) Interpreter
ASSEMBLER: Converts Assembly Level Language to Binary Level Language and vice-
versa
COMPILER: Converts High Level Language to Binary Level Language vice-versa in
one go.
INTERPRETER: Converts High Level Language to Binary Level Language vice-versa line
by line.
WORKING OF COMPILER….The compilation process
C / C++ Preprocessing Phase removes extras (such as
Language
comments) from source code and adds all that is
to be added/expanded so that code is completely
ready for the next phase.
Analysis Phase (the front end phase) of
compilation identifies all the tokens in the source
code and creates a symbol table with it.
Synthesis phase (he back-end phase) parses the
source code and generates syntax tree out of it.
Once the code is error free, the compiler converts
into intermediate code that is in the form of
assembly level instructions.
Assembly phase receives the assembly level
instructions and then converts it into object code
(machine code).
Linking Phase all the required libraries are linked
with the object code by the Linker(a part of the
compiler). Finally, the Code has become
executable (.exe file), which is the final object
code with libraries ready for its execution in
(.exe file) memory.
WORKING OF INTERPRETER…The Interpretation process
Fetches 2nd line of source code after successful execution of the 1st line of
code in object code. And this process continues for each line. Hence,
Interpreter is always required in he memory to run the code
Code Line 1
101101
Code Line 2 110110
Code Line 3 101010
Code Line 4 111011
Object Code
(Running code)
POWER MANAGEMENT
CODEC ROM RAM
Battery Battery
pack management
ADC DAC Memory
AUDIO SUBSYSTEM
Charger
MIC SPEAKER
FUNCTIONAL COMPONENTS OF MOBILE SYSTEM
1) Mobile Processor (Mobile CPU)
This is the brain of the mobile which receives commands, does calculations
instantly, plays Audio/Video, stores information and sends signal. It
consists of the following two parts:
i) Communications Processing Unit (Mobile I/O Unit)
• Makes and receives phone call
• Digital signal processor helps it work with RF Transceiver and Audio
subsystem. [RF=Radio Frequency]
• Radio Signal Management Unit connects SIM (which provides a type
of modem) to the base stations through Radio signals. (3G,4G etc.
based cellular networks)
ii) Applications Processing Unit (APU)
• Governs and controls all types of operations taking place on a mobile
system by running various mobile applications(apps)
2) Display Subsystem
• Provides display facilities, touch sensitive interface and touch
sensitive keyboards
FUNCTIONAL COMPONENTS OF MOBILE SYSTEM Contd..
3) Camera subsystem
It is an integrated Image Signal Processor which ensures instant image capture, high
resolution support, image stabilization and other image enhancements etc. It is an image
processing package which enable improved overall picture and video experience.
4) Mobile System Memory
i) RAM (Volatile- looses contents when gets switched off)
• Working memory of the mobile system.
• Installed mobile apps are first loaded in the RAM and then executed(run).
• These apps remain in the RAM after they are no longer in use and then they are
shifted to background.
• More RAM better performance faster mobile phone
ii) ROM (Non-volatile)
• They store the Operating System and pre-installed apps which can’t be deleted by
the user.
• ROM is basically Flash Memory or EEPROM
5) Storage
This subsystem is the extendable storage (also called as External storage) which comes in
the form of SD Cards or micro SD cards etc. This storage is easily removable and mainly
used for storing music, pictures, videos etc. Cloud storage can be also categorized as
external storage.
FUNCTIONAL COMPONENTS OF MOBILE SYSTEM Contd..
6) Power Management Subsystem (Battery)
• Mobile System runs on limited power which is provided by the Battery
• This subsystem has a battery management subsystem that works with
a battery charger and a battery unit.
• A lithium-ion battery or Li-ion battery (abbreviated as LIB) is a type
of rechargeable battery. Lithium-ion batteries are commonly used
for portable electronics and electric vehicles
• The three primary functional components of a lithium-ion battery are
the positive and negative electrodes and electrolyte.
• Generally, the negative electrode is made from carbon.
• The positive electrode is typically a metal oxide.
• The electrolyte is a lithium salt in an organic solvent.
The term mAh is an abbreviation for “milliampere hour,” and it's a
way to express the electrical capacity of smaller batteries. With
larger batteries, like car batteries, we usually use ampere hours, or
Ah. There are 1000 mAh in a single Ah.
Working
With
OS
CONTENTS
Operating System Basics
• Operating System
• Operating System Objectives
• Services Provided by the
Operating System
• Functions of Operating
Systems
OPERATING SYSTEM
Operating system is a system
software which provides
interface between the user
and the hardware.
• A program that controls the execution of
application programs
• An interface between applications and
hardware
Press start
button of your
desktop/laptop
and write cmd
to see this
command
prompt
Running Programs Extra
knowledge
• Many different applications
supported Managing Hardware
• System call
• Programs need to access
– Provides consistent access to OS
features hardware
• Share information between • Interrupts
– CPU is stopped
programs
– Hardware device is
– Copy and paste
accessed
– Object Linking and Embedding
• Device drivers control
the hardware
Organizing Files and Folders
• Organized storage
• Long file names
• Folders can be created and nested
• All storage devices work consistently
Stay safe. Stay aware. Stay healthy. Stay alert.