Theoretical Concepts of Operating System
Theoretical Concepts of Operating System
Theoretical Concepts of Operating System
in
orderly manner from starting to end. But, technology they use to hold data. Dynamic
in random access, any byte of memory can RAM being a common type needs to be
be accessed directly without navigating refreshed frequently. Static RAM needs
through previous bytes. Different to be refreshed less often, which makes
memory devices are arranged according it faster. Hence, Static RAM is more
to the capacity, speed and cost as shown in expensive than Dynamic RAM.
Figure 3.6. 3.5.3 Read Only Memory (ROM)
Read Only Memory refers to special
lar ess t
acc
ger im
ost
Cache aci d L
e a ity,
low er
the computer and perform diagnostics are
ess ca
er cost
Main Memory
acc aller
Hard Disk
the computer. Once the data has been
Figure 3.6 Memory Hierarchy written onto a ROM chip, it cannot be
modified or removed and can only be
3.5.1 Random-Access Memory (RAM)
read. ROM retains its contents even when
The main memory is otherwise
the computer is turned off. So, ROM is
called as Random Access Memory. This
called as a non-volatile memory.
is available in computers in the form of
Integrated Circuits (ICs). It is the place in 3.5.3.1Programmable Read Only Memory
a computer where the Operating System, (PROM)
Application Programs and the data in Programmable read only memory is
current use are kept temporarily so that also a non-volatile memory on which data
they can be accessed by the computer’s can be written only once. Once a program
processor. The smallest unit of information has been written onto a PROM, it remains
that can be stored in the memory is called there forever. Unlike the main memory,
as a bit. The memory can be accessed by PROMs retain their contents even when
a collection of 8 bits which is called as a the computer is turned off.
byte. The PROM differs from ROM.
RAM is a volatile memory, which PROM is manufactured as a blank
means that the information stored in it is memory, whereas a ROM is programmed
not permanent. As soon as the power is during the manufacturing process itself.
turned off, whatever data that resides in PROM programmer or a PROM burner is
RAM is lost. It allows both read and write used to write data to a PROM chip. The
operations. process of programming a PROM is called
3.5.2 Types of RAM burning the PROM.
There are two basic types of RAM 3.5.3.2 Erasable Programmable Read
• Dynamic RAM (DRAM) Only Memory (EPROM)
• Static RAM (SRAM) Erasable Programmable Read Only
These two types differ in the Memory is a special type of memory which
35
www.tntextbooks.in
serves as a PROM, but the content can up the memory retrieval process. Due to its
be erased using ultraviolet rays. EPROM higher cost, the CPU comes with a smaller
retains its contents until it is exposed to size of cache memory compared with the size
ultraviolet light. The ultraviolet light of the main memory. Without cache memory,
clears its contents, making it possible to every time the CPU requests the data, it has to
reprogram the memory. be fetched from the main memory which will
An EPROM differs from a PROM, consume more time. The idea of introducing
PROM can be written only once and a cache is that, this extremely fast memory
cannot be erased. EPROMs are used would store data that is frequently accessed
widely in personal computers because and if possible, the data that is closer to it.
they enable the manufacturer to change This helps to achieve the fast response time,
the contents of the PROM to replace with Where response Time, (Access Time) refers
updated versions or erase the contents to how quickly the memory can respond to
before the computer is delivered. a read / write request. Figure 3.8 shows the
arrangement of cache memory between the
CPU and the main memory.
Main
CPU Cache
Memory
Fast Slow
Figure 3.8 Cache Memory Arrangement
Figure 3.7 Erasable Programmable Read
3.6 Secondary Storage Devices
Only Memory
Most of the EPROM chips A computer generally has limited amount of
have a transparent area at the main memory which is expensive and volatile.
top surface which is covered To store data and programs permanently,
by stickers. If it gets removed, the secondary storage devices are used. Secondary
ultraviolet light in the sunlight may storage devices serve as a supportive storage
erase the contents. to main memory and they are non-volatile
in nature, secondary storage is also called as
3.5.3.3 Electrically Erasable Programmable Backup storage
Read Only Memory (EEPROM) 3.6.1 Hard Disks
Electrically Erasable Programmable Hard disk is a magnetic disk on which
Read Only Memory is a special type of you can store data. The hard disk has the
PROM that can be erased by exposing it stacked arrangement of disks accessed by a
to an electrical charge. Like other types of pair of heads for each of the disks. The hard
PROM, EEPROM retains its contents even disks come with a single or double sided disk.
when the power is turned off. Comparing 3.6.2 Compact Disc (CD)
with all other types of ROM, EEPROM is A CD or CD-ROM is made from 1.2
slower in performance. millimeters thick, polycarbonate plastic
3.5.4 Cache Memory material. A thin layer of aluminium or
The cache memory is a very high speed gold is applied to the surface. CD data is
and expensive memory, which is used to speed represented as tiny indentations known as
36
www.tntextbooks.in
"pits", encoded in a spiral track moulded players, digital cameras and mobile phones.
into the top of the polycarbonate layer. The Flash memory offers fast access times. The
areas between pits are known as "lands". time taken to read or write a character in
A motor within the CD player rotates the memory is called access time. The capacity
disk. The capacity of an ordinary CD- of the flash memories vary from 1 Gigabytes
ROM is 700MB. (GB) to 2 Terabytes (TB). A sample of flash
memory is shown in Figure 3.11.
Fig 3.10 Digital Versatile Disc Fig 3.12 Blu- Ray Disc
3.6.4 Flash Memory Devices 3.7 Ports and Interfaces
Flash memory is an electronic
(solid-state) non-volatile computer storage The Motherboard of a computer
medium that can be electrically erased and has many I/O sockets that are connected
reprogrammed. They are either EEPROM or to the ports and interfaces found on the
EPROM. Examples for Flash memories are rear side of a computer (Figure 3.13). The
pendrives, memory cards etc. Flash memories external devices can be connected to the
can be used in personal computers, Personal ports and interfaces. The various types of
Digital Assistants (PDA), digital audio ports are given below:
37
www.tntextbooks.in
Activity
VGA Connector: To connect a monitor or
any display device like LCD projector. Student Activity
Audio Plugs: To connect sound speakers, • Identify the components of a computer
microphone and headphones. • Connecting external devices like
PS/2 Port: To connect mouse and printer/LCD projector.
keyboard to PC.
Teacher Activity
SCSI Port: To connect the hard disk • Show the components of a computer
drives and network connectors.
• Display different ROM ICs
• Display the flash memory
• Demonstrate various ports and their
usage
38
www.tntextbooks.in
Evaluation
39
www.tntextbooks.in
40
www.tntextbooks.in
41