Foc Unit-1
Foc Unit-1
Computer is an electronic machine that can solve problems by accepting data, performing
certain operations on data and producing results of those operations under the direction of
detailed step-by-step instructions. Such a sequence of instructions which causes a computer to
perform particular operations is called a program.
Characteristics of computer
The use of computers in such diverse fields is because of certain characteristics of computer.
These are
1. Speed – A computer performs operations such as adding and subtracting numbers,
comparing letters to determine alphabetical sequence etc, at great speed. This speed varies
from a few microseconds (millionth of a second) to nanoseconds(billionth of a second).
2. Accuracy – Computers are very accurate. They can perform thousands of operations with
great accuracy. They can run errorless for days.
3. Reliability –Computer output is generally very reliable, subject to the condition that the data
input to the computer is correct and the program (that is the sequence of instructions given to
the computer) is reliable and correct. Incorrect input data and unreliable programs givewrong
results. This is referred to as GARBAGE IN-GARBAGE OUT.
4. Diligence – Unlike human beings, a computer is free from monotony, tiredness, and lack of
concentration. It can work for hours without creating an error. If ten million calculations are to
be performed, a computer will perform the last one with exactly the same accuracy and speed
as the first one.
5. Versatility – A computer can perform any task, provided set of instructions to perform the
task are given. One moment it is preparing results of examination, next moment it is busy
calculating salary of employees. All this can be done with the help of respective program.
6. Storage –A computer can store and recall any amount of information due to its secondary
storage. It can store a lot of information. It can retain information as long as user desires and
the user can recall the information whenever required.
Evolution of Computers -
Evolution of computer into a powerful machine has happened over a period of time and is
based on many technological developments. Modern computer systems have gone through five
generations of evolution.
Significant steps in evolution of computers are:
Earliest Computer
•Originally calculations were computed by humans, whose job title was computers.
•These human computers were typically engaged in the calculation of mathematical
expression.
•The calculations of this period were specialized and expensive, requiring years of training
In mathematics
•The first use of the word "computer" was recorded in 1613 , referring to a person who carried
out calculations, or computations, and the word continued to be used in that sense until the
middle of the 20 th century.
1. Tally Sticks
A tally stick was an ancient emory aid device to record and document numbers, quantities, or
even messages.
2. Abacus
An abacusis a mechanical device used to aid an individual in performing mathematical
calculations.
•The abacus was invented in Babylonia in 2400 B.C.
•The abacus in the form we are most familiar with was first used in China in around 500 B.C.
•It used to perform basic arithmetic operations.
3. Napier’s Bones
Invented by John Napier in 1614.
•Allowed the operator to multiply divideand calculate squareand cube roots by moving the
rods around and placing them in specially constructed boards.
. 4. Slide Rule
Computer Generations
•The first computers used Vacuum tubes for circuitry and magnetic drums for memory, and
were often enormous, taking up entire rooms.
•They were very expensive to operate and in addition to using a great deal of electricity,
generated a lot of heat, which was often the cause of malfunctions.
• First generation computers relied on machine language, the lowest
-level programming language understood by computers, to perform operations,
and they could only solve one problem at a time.
•Input was based on punched cards and paper tape,and output was displayed on printouts.
Example: UNIVAC( Universal Automatic Computer), IBM 701, ENIAC (Electronic neumaric
integrator And Computer) , EDSAC (Electronic discrete variable automatic delay storage
arithmetic calculator , EDVAC(Electronic discrete variable automatic computer).
•Transistors replaced vacuum tubes and ushered in the second generation of computers.
•One transistor replaced the equivalent of 40 vacuum tubes
•Allowing computers to become smaller, faster, cheaper, more energy-efficient and more
reliable.
•Still generated a great deal of heat that can damage the computer.
Second-generation computers moved from cryptic binary machine language to symbolic, or
assembly, languages, which allowed programmers to specifyinstructions in words.
•Second-generation computers still relied on punched cards for input and printouts for output.
•These were also the first computers that stored their instructions in their memory, which
moved from a magnetic drum to magnetic core technology.
•Users interacted with third generation computers through keyboards and monitors and
interfaced with an operating system, which allowed the device to run many different
applications at one time with a central program that monitored the memory.
•Computers for the first time became accessible to a mass audience because they were smaller
and cheaper than their predecessors.
2. Mainframe computers Mainframes are a type of computer that generally are known
for their large size, amount of storage, processing power and high level of reliability.
They are primarily used by large organizations for mission-critical applications
requiring high volumes of data processing. In general, there are a few characteristics
of mainframes that are common among all mainframe vendors: Nearly all
mainframes have the ability to run (or host) multiple operating systems. Mainframes
can add or hot swap system capacity without disruption. Mainframes are designed
to handle very high volume input and output (I/O) and emphasize throughput
computing. A single mainframe can replace dozens or even hundreds of smaller
s
e
r
v
e
r
s
.
3. M
i
n
i
c
omputers : These computers came into the market in mid 1960s and were sold at a
much cheaper price than the main frames, they were actually designed for control,
instrumentation, human interaction, and communication switching as distinct from
calculation and record keeping, later they became very popular for personal uses with
evolution.
In the 60s to describe the smaller computers that became possible with the use of
transistors and core memory technologies, minimal instructions sets and less
expensive peripherals such as the ubiquitous Teletype Model 33 ASR.They usually took
up one or a few inch rack cabinets, compared with the large mainframes that could fill
a room, there was a new term “MINICOMPUTERS” coined
Eg: Personal Laptop, PC etc.
1. Servers: Servers are nothing but dedicated computers which are set-up to offer some
services to the clients. They are named depending on the type of service they offered.
Eg: security server, database server.
2. Workstation: Those are the computers designed to primarily to be used by single user
at a time. They run multi-user operating systems. They are the ones which we use for
our day to day personal / commercial work.
3. Information Appliances: They are the portable devices which are designed to perform
a limited set of tasks like basic calculations, playing multimedia, browsing internet etc.
They are generally referred as the mobile devices. They have very limited memory and
flexibility and generally run on “as-is” basis.
4. Embedded computers: They are the computing devices which are used in other
machines to serve limited set of requirements. They follow instructions from the non-
volatile memory and they are not required to execute reboot or reset. The processing
units used in such device work to those basic requirements only and are different from
the ones that are used in personal computers- better known as workstations.
3. Hybrid: A computer that processes both analog and digital data, Hybrid computer is a
digital computer that accepts analog signals, converts them to digital and processes
them in digital form.
Block diagram of a computer gives you the pictorial representation of a computer that how
it works inside. Or you can say that, in computer's block diagram, we will see how computer
works from feeding the data to getting the result.
In the above diagram, both control (control unit or CU) and arithmetic & logic unit
(ALU) combine called as Central Processing Unit (CPU).
The input/output unit consists of devices used to transmit information between the external
world and computer memory.
The information fed through the input unit is stored in computer's memory for processing
and the final result stored in memory can be recorded or display on the output medium.
Memory Unit
Memory unit is an essential component of a digital computer. It is where all data
intermediate and find results are stored.The data read from the main storage or an
input unit are transferred to the computer's memory where they are available for
processing.
This memory unit is used to hold the instructions to be executed and data to be processes.
INPUT DEVICES
An input device is an electromechanical device that accepts data from outside world and translates
them into a form, a computer can interpret. Following are the different categories of input devices:
1. Keyboard devices
2. Point-and-draw devices
4. Digitizer
1. Keyboard devices
Keyboard devices are the most commonly used input devices today. They allow data entry
into a computer system by pressing a set of keys mounted on a keyboard connected to a
computer system. The most popular keyboard used today is the 101-keyss QWERTY
Keyboard.
2. Point-and-draw devices
2.1 Mouse –
Mouse is the most popular point-and-draw device. It is an input device used for modern
personal computers and workstations because they support GUI (Graphical User Interface).
• Mechanical mouse: Houses a hard rubber ball that rolls as the mouse is moved. Sensors
inside the mouse body detect the movement and translate it into information that the
computer interprets.
• Optical mouse: Uses an LED sensor to detect tabletop movement and then sends off that
information to the computer for merry munching.
2.2 Trackball-
A trackball is a pointing device similar to a mechanical mouse. Its roller ball is on the top
(instead of the base) along with the buttons. To move the graphics cursor on the screen, we
have to roll the ball with hand. As it is not required to move the whole device for moving the
graphics cursor, a trackball requires less space than a mouse for operation. It is often
attached to or built into the keyboard.
Trackball is a preferred device for CAD/CAM (Computer Aided
Design/ Computer Aided Manufacturing) applications, because a designer can move the
graphics cursor with hand movements only without any movement of equipment.
Several equipments having embedded computers also use a trackball. For example, an
Ultrasound machine usually has a trackball that a sonologist (medical expert in sonography)
uses to move the cursor (usually in cross-hair shape) to mark the points of references on the
image on the screen.
2.3 Joystick-
A joystick is a pointing device which works on the same principle as a trackball. To make the
movements of the spherical ball easier, it is placed in a socket with a stick mounted on it. A
user holds the stick in his/her hand, which is moved around to move the spherical ball. The
user can move the stick in a particular direction(forward or backward, left or right), to move
and position the graphics cursor at a desired position. There is a button on top of the stick, to
select the option pointed to by the cursor. The user clicks the button and makes the selection.
Joysticks are used in video games, flight simulators, training simulators,
and remote control of industrial robots.
2.4.1 Light pen: Computer-aided design (CAD) applications use light pens quite
frequently. For example, a user can draw on the screen directly with a light pen. By
using light pen with a keyboard, CAD applications allow users to select different
formatting options for colors and line thicknesses, reduce/enlarge drawings, and
add/erase graphics objects such as lines, rectangles, etc.
2.4.2 Writing pen with pad: This type of electronic pen comes with a special type of
writing pad. A user writes whatever data he/she wants to input to the computer on
the pad with the electronic pen. This input device with handwriting recognition
software often enables easy input of text and freehand drawings into computer for
the purpose of word processing. Modern PDAs (Personal Digital Assistants) quite
often provide this feature. Signatures and messages stored and transferred as
graphic images (like FAX messages) are input with this device.
Touch screen is the most simple and easiest to use of all input devices. It enables users to
use a computer without any formal training. It enables a user to choose from available
options by simply touching with a finger the desired icon or menu item displayed on a
computer’s screen.
An image scanner is an input device which translates paper documents into an electronic
format, for input to a computer. The input documents may be one of the following: typed
text, pictures, graphics, or even handwritten material.
Image scanner is very useful in preserving paper documents in electronic form. This is due to
the fact that a copy of a document stored in a computer in this manner does not deteriorate
in quality with age, and can be displayed or printed, whenever desired. We can
alter/manipulate the stored images using computer image-processing software.
OMR is a scanner, which can recognize a pre-specified type of mark, made by pencil or pen.
For example, in objective type tests, applicants mark their choices of correct answers on a
special pre-printed test scoring sheet by darkening a small square, circular, or oval shaped box
by a pencil. These answer sheets are fed to an OMR device and are graded automatically by a
computer.
Bar codes are data coded in the form of small lines (known as bars). Bar codes represent
alphanumeric data by a combination of adjacent vertical lines (bars) by varying their width
and the spacing between them. All types of goods, books, postal packages, badges, tags, etc.
use bar codes for unique identification.
A bar-code reader is a device for reading (decoding) bar-coded data. It is either a hand-held or
a stationary scanner, which has bar-code reader embedded in it. It scans a bar-code image,
and converts it into an alphanumeric value for input to a computer connected to it.
3.4 MICR (Magnetic-Ink Character Recognition)
Banking industry uses MICR for faster processing of large volumes of cheques handled every
day.
When a customer presents a filled-in-cheque at a bank, the employee enters (keys
in) the information supplied by the customer manually, including the amount written on the
cheque. The bank then processes this cheque by using an MICR reader-sorter that can
recognize magnetic ink characters. The MICR reader-sorter reads the pre-printed data on the
cheques, and sorts the cheques for distribution to other banks, or for further processing.
4. Digitizer
A digitizer is an input device used for converting (digitizing) pictures, maps, and drawings into
digital form, for input to computers. For example, x and y coordinates of points in a line
drawing may be stored in digital form. This enables re-creation of the drawing from the stored
information, and also easy incorporation of changes in the drawing, whenever required.
1. For data input to a computer system by a person in situations where his/her hands are
busy or he/she must continuously look at a measuring instrument or some other object.
For example, doctors in an operation room can request certain information about a patient
while operating.
2. For data input by dictation of long texts or passages for editing later and reviewing.
1. It focuses the camera on the given object for taking its picture.
2. The camera creates a digital image of the object, which is fed to the computer.
3. The computer matches the image with similarly formed pre-stored images in its image
database.
4. The computer takes appropriate action, depending on whether it finds a match or not.
Vision-input systems are quite often part of industrial robots used for quality control and
assembly processes. For example, a robot used for quality control may inspect objects passing
on a conveyor belt and separate those not meeting certain quality-control specifications.
Another robot may inspect shapes of objects and separate objects of different shapes in
different bins.
OUTPUT DEVICES
An output device is an electromechanical device which accepts data from a computer, and then
translates them into a form suitable for use by outside world (users).
Various output devices are:
1. Monitors
2. Printers
3. Plotters
1. Monitors:
Monitors are the most popular output devices used today. A monitor is associated usually with a
keyboard, and together they form a video display terminal (VDT). A VDT (often referred to as just
terminal) is both an input and output device. A user uses the keyboard to input data to a computer
and the monitor is used to view the output from the computer.
Two basic types of monitors are cathode-ray-tube (CRT) and LCD (Liquid Crystal
Display) flat-panel. CRT monitors work much like a television screen and are suitable for use with
non-portable computer systems. On the other hand, LCD flat-panel monitors are thinner, lighter, and
are suitable for use with both portable and non-portable computer systems. They occupy less table
space and also consume less power.
1. Printers
Printers are the most popular hard-copy output devices used today. Different
types of printers are:
Since dot matrix printers produce printed output as patterns of dots, they can print any
shape or character that a program can describe. They can print many special characters,
different sizes of print, and graphics such as charts and graphs.Dot-matrix printers are
• Slow
• Have printing speeds in the range of 30 to 600 characters per second.
• They are cheap, in terms of both initial cost and cost of operation.
Hence, individuals and organizations prefer dot-matrix printers for generating hard-copy
outputs, if the speed and quality of printing are not important factors.
They are also used for applications which require multi-copy output, such as shipping forms
and invoices that rely on impact printing for generating multiple copies.
b. Inkjet Printers
Inkjet printers are character printers which form characters and images by spraying small
drops of ink on a paper. The print head of an inkjet printer contains up to 64 tiny nozzles.
To print a character, the printer selectively heats the appropriate set of nozzles as the print
head moves horizontally. Inkjet printers are non-impact printers, due to the fact that they
print by spraying ink on paper. Hence, they are quieter in operation, but we cannot use
them for producing multiple copies of a document in a single printing.
Laser printers produce high quality output, because they form characters by tiny ink
particles. The most common laser printers have resolution of 600 dpi (dots per inch),
whereas some high-end laser printers have resolution of 1200 dpi. Due to their high
resolution, these printers give excellent graphics art quality.
As laser printers produce printed output as patterns generated by the laser beam, they can
print any shape of characters. Theycan print many special characters, different sizes of
print, and graphics such as charts and graphs.
Laser printers are non-impact printers. Hence, they are quiet in operation, but cannot be
used for producing multiple copies of a document in a single printing.
Low –speed laser printers can print 4 to 12 pages per minute. High-speed laser printers
are also available. Owing to their better print quality and printing speed, laser printers are
more expensive than other types of printers.
2. Plotters
Many engineering design applications, like architectural plan of a building , design of
mechanical components of an aircraft or a car, etc. quite often require high-quality,
perfectly-proportioned graphic output on large sheets. Various types of printers described
above are not suitable for meeting this output requirement of such applications. Hence,
such applications use plotters.
A plotter is an ideal output device for architects, engineers, city planners, and others who
need to generate high precision, hard-copy, graphic output of varying sizes.
4. Speech Synthesizer
A speech synthesizer is a device which converts text information into spoken sentences. To
produce speech, it combines basic sound units called ‘phonemes’. From a given text
information, it combines the sequence of words into phonemes, amplifies it, and the
output is produced through a speaker.
• For reading out text information to blind persons. For example, we can scan a recently
published book using a scanner, convert it into text using OCR software, and then a
speech synthesizer can read it out to blind persons.
• For allowing those persons who cannot speak, to communicate effectively. For
example, a person with this type of disability simply types the information, and the
speech synthesizer converts the typed information into spoken words.
Memory Organization in Computer Architecture
A memory unit is the collection of storage units or devices together. The memory unit stores
the binary information in the form of bits. Generally, memory/storage is classified into 2
categories:
• Volatile Memory: This loses its data, when power is switched off.
• Non-Volatile Memory: This is a permanent storage and does not lose any data when
power is switched off.
The memory hierarchy design in a computer system mainly includes different storage devices.
Most of the computers were inbuilt with extra storage to run more powerfully beyond the main
memory capacity. The following memory hierarchy diagram is a hierarchical pyramid for
computer memory.
1. Capacity:
It is the global volume of information the memory can store. As we move from top to
bottom in the Hierarchy, the capacity increases.
2. Access Time:
It is the time interval between the read/write request and the availability of the data. As
we move from top to bottom in the Hierarchy, the access time increases.
3. Performance:
Earlier when the computer system was designed without Memory Hierarchy design, the
speed gap increases between the CPU registers and Main Memory due to large difference
in access time. This results in lower performance of the system and thus, enhancement
was required. This enhancement was made in the form of Memory Hierarchy Design
because of which the performance of the system increases. One of the most significant
ways to increase system performance is minimizing how far down the memory hierarchy
one has to go to manipulate data.
Level-0: At level-0, registers are present which are contained inside the CPU.
• Since they are present inside the CPU, they have least access time.
• They are most expensive and therefore smallest in size (in KB).
• Registers are implemented using Flip-Flops.
• It stores the segments of program that are frequently accessed by the processor.
• It is expensive and therefore smaller in size (in MB).
• Cache memory is implemented using static RAM.
• It can communicate directly with the CPU and with auxiliary memory devices through an
I/O processor.
• It is less expensive than cache memory and therefore larger in size (in few GB).
• Main memory is implemented using dynamic RAM.
Level-3: At level-3, secondary storage devices like Magnetic Disk are present.
Level-4:
Register are used to quickly accept, store, and transfer data and instructions that are being
used immediately by the CPU, there are various types of Registers those are used for various
purpose. While we are working on the System then these Registers are used by the CPU for Performing
the Operations. When We Gives Some Input to the System then the Input will be Stored into the
Registers and When the System will gives us the Results after Processing then the Result will also be
from the Registers. So that they are used by the CPU for Processing the Data which is given by the User.
Registers Perform:-
1) Fetch: The Fetch Operation is used for taking the instructions those are given by the user
and the Instructions those are stored into the Main Memory will be fetch by using Registers.
2) Decode: The Decode Operation is used for interpreting the Instructions means the
Instructions are decoded means the CPU will find out which Operation is to be performed on
the Instructions.
3) Execute: The Execute Operation is performed by the CPU. And Results those are produced
by the CPU are then Stored into the Memory and after that they are displayed on the user
Screen.
• MAR (Memory Address Register ) This register holds the memory addresses of
data and instructions. This register is used to access data and instructions from
memory during the execution phase of an instruction. Suppose CPU wants to store
some data in the memory or to read the data from the memory. It places the address of
the-required memory location in the MAR.
• Memory Buffer Register (MBR) MDR is the register of a computer's control unit
that contains the data to be stored in the computer storage (e.g. RAM), or the data
after a fetch from the computer storage. It acts like a buffer and holds anything that is
copied from the memory ready for the processor to use it. MDR hold the
information before it goes to the decoder.
Small piece of high speed volatile memory available to the processor for fast processing is
called cache memory. Cache may be a reserved portion of main memory, another chip on CPU
or an independent high speed storage device. Cache memory is made of fast speed SRAMs. The
process of keeping some data and instructions in cache memory for faster access is called
caching. Caching is done when a set of data or instructions is accesses again and again.
Whenever the processor needs any piece of data or instructions, it checks the cache first. If it is
unavailable there, then the main memory and finally secondary memory is accessed. As cache
has very high speed, time spent in accessing it every time is negligible as compared to time
saved if data indeed is in the cache. Finding data or instruction in cache is called cache hit.
L1 is the primary type cache memory. The Size of the L1 cache very small comparison
to others that is between 2KB to 64KB, it depend on computer processor. It is a
embedded register in the computer microprocessor (CPU).The Instructions that are
required by the CPU that are firstly searched in L1 Cache. Example of registers are
accumulator, address register, Program counter etc.
L2 is secondary type cache memory. The Size of the L2 cache is more capacious than
L1 that is between 256KB to 512KB.L2 cache is Located on computer microprocessor.
After searching the Instructions in L1 Cache, if not found then it searched into L2 cache
by computer microprocessor. The high-speed system bus interconnecting the cache to
the microprocessor.
The L3 cache is larger in size but also slower in speed than L1 and L2, it’s size is
between 1MB to 8MB.In Multicore processors, each core may have separate L1 and
L2,but all core share a common L3 cache. L3 cache double speed than the RAM.
Primary memory
Primary memory is also known as main memory or may also refer to "Internal memory." and
primary storage. All those types of computer memories that are directly accessed by the
processor using data bus are called primary memory. That allows a processor to access stores
running programs and currently processed data that stored in a memory location.
RAM
RAM stands for Random Access Memory. The processor accesses all memory addresses
directly, irrespective of word length, making storage and retrieval fast. RAM is the fastest
memory available and hence most expensive. These two factors imply that RAM is available in
very small quantities of up to 1GB. RAM is volatile but my be of any of these two types
Each memory cell in a DRAM is made of one transistor and one capacitor, which store one bit of
data. However, this cell starts losing its charge and hence data stored in less than thousandth of
a second. So it needs to be refreshed thousand times a second, which takes up processor time.
However, due to small size of each cell, one DRAM can have large number of cells. Primary
memory of most of the personal computers is made of DRAM.
SRAM (SRAM)
Each cell in SRAM is made of a flip flop that stores one bit. It retains its bit till the power supply
is on and doesn’t need to be refreshed like DRAM. It also has shorter read-write cycles as
compared to DRAM. SRAM is used in specialized applications.
ROM
ROM stands for Read Only Memory. As the name suggests, ROM can only be read by the
processor. New data cannot be written into ROM. Data to be stored into ROM is written during
the manufacturing phase itself. They contain data that does not need to be altered, like booting
sequence of a computer or algorithmic tables for mathematical applications. ROM is slower and
hence cheaper than RAM. It retains its data even when power is switched off, i.e. it is non-
volatile. ROM cannot be altered the way RAM can be but technologies are available to program
these types of ROMs −
PROM can be programmed using a special hardware device called PROM programmer or PROM
burner.
EPROM can be erased and then programmed using special electrical signals or UV rays. EPROMs
that can be erased using UV rays are called UVEPROM and those that can be erased using
electrical signals are called EEPROM. However, handling electric signals is easier and safer than
UV rays.
These are some characteristics of secondary memory, which distinguish it from primary memory
• Inexpensive storage
• Very fast access to data
• Direct access on any part of the drive
• Very large amounts of storage space
• Optical discs are portable and can be read on many different devices
• Very inexpensive
• Memory is retained even when the power is turned off
• Durable and last a long time
• Archived data cannot be overwritten on read only CD-R, DVD-R, BD-R formats
• Can random access data no matter where or when it was stored
CD Drive
CD stands for Compact Disk. CDs are circular disks that use optical rays, usually lasers, to read
and write data. They are very cheap as you can get 700 MB of storage space for less than a
dollar. CDs are inserted in CD drives built into CPU cabinet. They are portable as you can eject
the drive, remove the CD and carry it with you. There are three types of CDs −
• CD-ROM (Compact Disk – Read Only Memory) − The data on these CDs are recorded by the
manufacturer. Proprietary Software, audio or video are released on CD-ROMs.
• CD-R (Compact Disk – Recordable) − Data can be written by the user once on the CD-R. It
cannot be deleted or modified later.
• CD-RW (Compact Disk – Rewritable) − Data can be written and deleted on these optical disks
again and again.
DVD Drive
DVD stands for Digital Video Display. DVD are optical devices that can store 15 times the data
held by CDs. They are usually used to store rich multimedia files that need high storage capacity.
DVDs also come in three varieties – read only, recordable and rewritable.
Blu Ray Disk (BD) is an optical storage media used to store high definition (HD) video and other
multimedia filed. BD uses shorter wavelength laser as compared to CD/DVD. This enables
writing arm to focus more tightly on the disk and hence pack in more data. BDs can store up to
128 GB data.
• Startup faster due to no spin-up and they are faster than magnetic hard drives
• When seeks on the hard disk seeks are limited they have faster launch times
• They last longer and some are waterproof
• All data stored can be scanned quickly for security purposes
Pen Drive
Pen drive is a portable memory device that uses solid state memory rather than magnetic fields or
lasers to record data. It uses a technology similar to RAM, except that it is nonvolatile. It is also
called USB drive, key drive or flash memory.
Parameters RAM ROM
RAM allows the computer to ROM stores all the application which is needed to
Usage read data quickly to run boot the computer initially. It only allows for
applications. reading.
Data storage is the basic functionality of a computer which is divided into primary and secondary
storage.
Primary storage refers to the main storage of the computer or main memory which is the random access
memory or RAM.
Secondary storage, on the other hand, refers to the external storage devices used to store data on a long-
term basis.
2. Access of Primary Vs. Secondary Storage
Primary storage holds data or applications which can be directly accessed by the processing unit with
minimum or no delay.
On the contrary, secondary storage is used to store and retrieve data permanently with no delay.
3. Nature of Primary Vs. Secondary Storage
Primary storage is a volatile memory which means data is lost as soon as the device loses power and it
cannot be retained. Primary storage is commonly referred to as primary memory such as the RAM.
Secondary storage, commonly known as secondary memory, is a non-volatile memory which is able to
RAM is the most common primary storage device which also goes by main memory and is used to store
data machine code currently in use. Instructions can be retrieved from the RAM whenever required. It
Secondary storage refers to external storage devices such as optical media (CDs and DVDs), hard disk
As programs and applications are stored in main memory, primary storage provides fast and efficient
On the contrary, secondary storage is more of a long-term storage solution with substantial data storage
capacity which makes them relatively slower than their primary counterparts.
Primary vs. Secondary Storage: Comparison Chart
Definition of Magnetic disk
The Magnetic disk is made of a set of circular platters. These platters are initially build up of non-
magnetic material i.e., aluminium or aluminium alloy referred to as substrate then the substrate is
coated with a magnetic film and mounted on a common spindle. The disks are placed inside a rotary
drive where the magnetised surface rotates close to the read and write heads. Every head is
comprised of a magnetising coil and a magnetic yoke. It stores the digital information on the
concentric tracks by applying the current pulse of appropriate polarity to the magnetic coil.
The number of bits stored on each track does not change by using simplest constant angular
velocity. Multiple zoned recording is used to increase the density in which the surface is partitioned
into a number of zones and the zones located near the centre contain fewer bits than the zones
farther from the centre. However, this strategy is not optimal.
In the read operation, the alteration in a magnetic field is sensed. So, the two opposite states of
magnetisation represent 0 and 1; it produces the voltage in the head when 0-1 and 1-0 transition
takes place in the bit stream.
The Optical disk is a storage device in which optical (light) energy is used. In the initial stages, the
designers created a compact disk in the mid- 1980s which use the digital representation for the
analog sound signals. The CD was capable of providing great quality sound recording by taking 16-bit
samples of analog signals at the speed of 44,100 samples per second and also it can detain up to 75
minutes where a total amount of stored bits needed is approx 3 x 109 (3 gigabits). These optical disks
use the optical technology in which a laser light is centred to the spinning disks.
The optical disk is constructed from a resin like polycarbonate, and the surface of this polycarbonate
contains the digital information impressed on it as the sequence of microscopic pits. A microscopic
pitted surface is then glazed by a highly reflective surface such as aluminium or gold. To make the
disk scratch resistant it is coated by acrylic and silkscreened label on it. Finally, a concentrated high-
intensity laser is utilized in the creation of the master disk.
The information retrieval from a CD is done through housing a low powered laser in an optical disk
player. The laser is radiated through the clear polycarbonate while the disk is spinning by the motor.
As the laser falls on the pit (usually having the rough surface), the magnitude of the reflected laser
light changes. The vacant smooth area between the pits is known as the landfrom which the light
reflects back at a higher magnitude.
A photosensor is used to identify the alteration between the pits and lands and translate it into a
digital signal. The pit area represents a ‘1’ while no change is observed between intervals a ‘0’ is
recorded. There are numerous optical disk products are available in the market such as CD, CD-ROM,
CD-R, CD-RW, DVD, DVD-R, DVD-RW.
raw form.
Types of Data
Data, in mathematical and scientific speak, is a group of information collected. The
information could be anything, and is often used to prove or disprove a hypothesis, or
scientific guess, during an experiment. Data that can be collected can be hair color, number of
movies a person goes to, how a person feels about a certain topic, how much money a group
of people make over the course of time, and so much more. Data is usually grouped into two
different types of information: categorical and numerical. In this lesson, we'll talk about
numerical data.
alphanumeric (alphameric)
Alphanumeric, also referred to as alphameric, is a term that encompasses all of the letters and
numerals in a given language set. In layouts designed for English language users,
alphanumeric characters are those comprised of the combined set of the 26 alphabetic
characters, A to Z, and the 10 Arabic numerals, 0 to 9.
For some computer purposes, such as filenaming, alphanumeric characters are strictly limited
to the 26 alphabetic characters and 10 numerals. However, for other applications, such as
programming, other keyboard symbols are sometimes permitted. In some usages, the
alphanumeric character set may include both upper and lower case letters, punctuation marks
and symbols (such as @, &, and *, for example). For languages other than English,
alphanumeric characters include letter variations such as é and ç.
The mishmash of letters and numerals used for texting abbreviations is sometimes referred to
as alphanumerish. As is the case with the term alphanumeric, alphanumerish can be expanded
to include other characters. The grawlix, for example, which represents a non-specific
profanity, is generally made up of typographical symbols that do not include either letters or
numerals, but it might be considered an alphanumerish word nevertheless.
What is Information?
Information is data that has been processed in such a way as to be meaningful to the
person who receives it. it is any thing that is communicated.
2) Preparation is the manipulation of data into a form suitable for further analysis
and processing. Raw data cannot be processed and must be checked for accuracy.
Preparation is about constructing a dataset from one or more data sources to be used
for further exploration and processing. Analyzing data that has not been carefully
screened for problems can produce highly misleading results that are heavily
dependent on the quality of data prepared.
3) Input is the task where verified data is coded or converted into machine readable
form so that it can be processed through a computer. Data entry is done through the
use of a keyboard, digitizer, scanner, or data entry from an existing source. This
time-consuming process requires speed and accuracy. Most data need to follow a
formal and strict syntax since a great deal of processing power is required to
breakdown the complex data at this stage. Due to the costs, many businesses are
resorting to outsource this stage.
4) Processing is when the data is subjected to various means and methods of
manipulation, the point where a computer program is being executed, and it contains
the program code and its current activity. The process may be made up of
multiple threads of execution that simultaneously execute instructions, depending on
the operating system. While a computer program is a passive collection of
instructions, a process is the actual execution of those instructions. Many software
programs are available for processing large volumes of data within very short
periods.
5) Output and interpretation is the stage where processed information is now
transmitted to the user. Output is presented to users in various report formats like
printed report, audio, video, or on monitor. Output need to be interpreted so that it
can provide meaningful information that will guide future decisions of the company.
6) Storage is the last stage in the data processing cycle, where data, instruction and
information are held for future use. The importance of this cycle is that it allows
quick access and retrieval of the processed information, allowing it to be passed on to
the next stage directly, when needed. Every computer uses storage to hold system
and application software.
The Data Processing Cycle is a series of steps carried out to extract information from
raw data. Although each step must be taken in order, the order is cyclic. The output
and storage stage can lead to the repeat of the data collection stage, resulting in
another cycle of data processing. The cycle provides a view on how the data travels
and transforms from collection to interpretation, and ultimately, used in effective
business decisions.