Professional Documents
Culture Documents
Fit-Unit I
Fit-Unit I
Computer is an advanced electronic device that takes raw data as input from the
user and performs computations on the data i.e processes it and gives the desired
output.
Characteristics of computers
The major characteristics of computers can be classified as follows:
1. Speed: The computer was initially invented as a very high speed calculator.
This helped in completing many scientific projects that were previously
impossible. We would have taken a lot of time in making the arrangements
for flying abroad if computers were not there to book our seats so easily
and fast. The computers can perform 3 million calculations per second.
2. Storage: A human mind acquires some knowledge and after it has used it,
it might keep it in its subconscious mind or might even forget it after some
time. But computers can store massive amounts of information. This
information can be reused again. Today’s computers have the disks, which
have the capacity to store billions of characters.
3. Accuracy: Computers are very accurate. They do mistakes, but seldom.
These mistakes might be because of the faulty programs. Some mistakes
made are in feeding in the data or poorly designed systems.
4. Versatility: This means that the computers are capable of performing any
type of task, provided the activity could be put into logical steps.
5. Automation: A computer is much more than just a calculator in which we
need to give the instructions at every step. It is an intelligent device and if
programmed for an activity, it keeps doing it till it finishes, without any
human intervention.
6. Diligence: Computer being a machine, does not show any signs of fatigue,
tiredness, lack of concentration or lost interest. The speed, accuracy and
the quality would be absolutely same in the first and last calculation, even
if millions of calculations are done by the computer.
7. Reliability: All the above qualities of the computer make them reliable and
also make us too dependant on them. They can be run for years together
without any loss of data or any other problem.
8. No IQ: A computer does not possess any intelligence of its own. It has to
be told what to do and in what sequence. Only a user determines what task
a computer will perform.
Limitations of Computers
1. Computers cannot think and they cannot do any job unless they are first
programmed with specific instructions.
2. Computers are not capable of decision making as they do not possess the
essential elements necessary to take a decision i.e. knowledge, information,
intelligence etc.
3. In any type of research, ideas play a vital role. In this context, computers
can’t express their ideas.
4. Though computers are helpful in storage of data and can contain the
contents of encyclopedia even, but only humans can decide and implement
the policies.
5. Computers, unlike humans cannot learn by experience.
ALU
CU OUTPUT
INPUT
Main Memory
Secondary
Storage
Secondary Memory
In this type of memory, the cost per bit of storage is low. However,
the operating speed is slower than that of primary storage. Huge volumes
of data are stored here on permanent basis and transferred to the primary
storage as and when required.
Figure:
1.Magnetic Tape: Magnetic tapes are used for large computers like
mainframe computers where large volume of data is stored for a longer
time. In PC also you can use tapes in the form of cassettes. The cost of
storing data in tapes is inexpensive. Tapes consist of magnetic materials
that store data permanently. It can be 12.5mm to 25 mm wide plastic film-
type and 500 meter to 1200 meter long which is coated with magnetic
material.
Advantages of Magnetic Tape:
a) Compact: A 10 inch diameter reel of tape is 2400 feet long and is able
to hold 800,1600 or 6250 characters in each inch of its length.
b) Economical: The cost of storing characters is very less as compared to
other storage devices.
c) Fast: Copying of data is easier and fast.
d) Long term storage and re-usability: Magnetic tapes can be used for long
term storage and a tape can be used repeatedly without loss of data.
2. Magnetic Disk: It rotates with very high speed inside the computer drive.
Data is stored on both the surfaces of the disk. Magnetic disks are most
popular for direct access storage device. Each disk consists of a number of
invisible concentric circles called tracks. Information is recorded on tracks
of a disk surface in the form of tiny magnetic spots. The presence of a
magnetic spot represents one bit and its absence represents zero bit.The
information stored in a disk can be can be read many times without
affecting the stored data.
i) Floppy Disk: It is similar to magnetic disk. They are 5.25 inch or 3.5 inch
in diameter. They come in single or double density and recorded on one or
both surface of the diskette. The capacity of a 5.25 inch floppy is 1.2 mega
bytes whereas for 3.5 inch floppy it is 1.44 mega bytes.It is cheaper than
any other storage device and is portable.The floppy is a low cost device
particularly suitable for personal computer system.
ii) Hard Disks: It is the primary online secondary storage device for most
computer systems today. They are made of rigid metal aluminium platters
and come in many sizes ranging from 1 to 14 inch diameter.
Advantages:
1. Magnetic disk supports direct access of data
2. It is suitable for both online and offline storage of data
3. They are less vulnerable to data corruption
Limitation:
It is more difficult to maintain security of information stored in the disk
3 Optical Disk: With every new application and software, there is greater
demand for memory capacity. It is the necessity to store large volume of
data that has led to the development to optical disk storage medium. Optical
disks can be divided into the following categories:
a) Compact Disk/Read Only Memory(CD-ROM): CD-ROM disks are
made of reflective metals. CD-ROM is written during the process of
manufacturing by high power laser beam. The storage density is very
high, storage cost is very low and access time is relatively fast. Each
disk is approximately 4 ½ inches in diameter and can hold over 600 MB
of data. As the CD-ROM can only be read we cannot write or make
changes into the data contained in it.
b) Write-Once, Read Many(WORM): A WORM allows the user to write
data permanently on to the disk. Once the data is written it can never be
erased without physically damaging the disk. Here data can be recorded
from keyboard, video scanner, OCR equipment and other devices. The
advantage of WORM is that it can store vast amount of data amounting
to gigabytes. Any document in a WORM can be accessed very fast, say
less than 30 seconds.
c) Erasable Optical Disk: These are optical disks where data can be
written, erased and re-written. This also applies a laser beam to write
and re-write the data. These disks are based on a technology known as
magnetic optical(MO). To write a data bit onto the erasable optical disk,
the MO drive’s laser beam heats a tiny, precisely defined point on the
disk’s surface and magnetises it.
Advantages:
1. It is of low cost and has high storage density
2. They are more reliable storage medium
3. Due to their compact size and light weight, optical disks are easy to
handle, store and port from one place to another.
Limitation:
Data access speed for optical disks is slower than magnetic disks.
4 Flash Memory: It is a non volatile memory chip used for storage and for
transferring data between a personal computer and digital devices. It has the
ability to be electronically reprogrammed and erased.It is often used in USB flash
drives, MP3 players, digital cameras and solid state drives.
Data Representation:
Computers use 0’s and 1’s to represent or store all kinds of data. Ex. text,
numbers, sound ,image, video etc. Byte is the basic storage unit in computer
system. A bit is a binary digit i.e. 0 or 1.
1 byte=8 bits
1 nibble=4 bits
Storage units in Computer:
1 nibble=4 bits
1 byte=8 bits
1KB=1024 bytes
1MB=1024KB
1GB=1024MB
1TB=1024GB
1PB(Petabyte)=1024TB
1EB(Exabyte)=1024PB
1ZB(Zettabyte)=1024EB
1YB(Yottabyte)=1024ZB
Number Systems:
There are four number systems:
1. Binary Number System: In this system we have 0 and 1
2. Decimal Number System: In this we have numbers 0, 1 2 ,3 ,4,5,6,7,8,9
3. Octal Number System:0,1,2,3,4,5,6,7
4. Hexadecimal Number System: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
(10101)2→ ( )10
.
Difference between Sequential and Random Access
Files
When we are talking about sequential or random access to data files we refer to the
way data is written or read from a file on a computer system.
Sequential Access to a data file means that the computer system reads or writes
information to the file sequentially, starting from the beginning of the file and
proceeding step by step.
On the other hand, Random Access to a file means that the computer system can
read or write information anywhere in the data file. This type of operation is also
called “Direct Access” because the computer system knows where the data is stored
(using Indexing) and hence goes “directly” and reads the data.
Platters are organized into specific structures to enable the organized storage and
retrieval of data. Each platter is broken into tracks--tens of thousands of them--
which are tightly-packed concentric circles. These are similar in structure to the
annual rings of a tree.
A track holds too much information to be suitable as the smallest unit of storage on
a disk, so each one is further broken down into sectors. A sector is normally the
smallest individually-addressable unit of information stored on a hard disk, and
normally holds 512 bytes of information. The first PC hard disks typically held 17
sectors per track. Today's hard disks can have thousands of sectors in a single
track, and make use of zoned recording to allow more sectors on the larger outer
tracks of the disk.