Unit-2 Complete Notes [ Computer Fundamentals - BBA-5 ]
Unit-2 Complete Notes [ Computer Fundamentals - BBA-5 ]
Computer Application
[BBA-N506]
Unit – 2
Primary Storage Device can store and retrieve data, as they are feed into it. The
memory of a computer is the most important component of CPU. Memory storage
units are of two types – primary and secondary storage unit. All data and programs
used unit is called internal storage, because it usually occupies the same physical
enclosures as the CPU.
1. Static RAM (SRAM) The word static indicates that the memory retains its
contents as long as power is being supplied. However, data is lost when the
power gets down due to volatile nature. SRAM chips use a matrix of 6-
transistors and no capacitors. Transistors do not require power to prevent
leakage, so SRAM need not be refreshed on a regular basis.
ROM stands for Read Only Memory. The memory from which we can only read data
but cannot write on it is known as ROM. This type of memory is non-volatile. The
information is stored permanently in such memories during manufacture. ROM
stores such instructions which are required to start a computer. This operation is
referred to as bootstrap. A manufacturer or someone else can write some
information to it, but the writing process is much more complicated as compare to
that of a RAM. ROM chips are not only used in the computer but also in other
electronic items like washing machine and microwave oven.
a) PROM
b) EPROM
c) EEPROM
Advantages of ROM
1. Non-volatile in nature
2. Cannot be accidentally changed
3. Cheaper than RAMs
4. Easy to test
5. More reliable than RAMs
6. Static, and do not require refreshing
7. Contents are always known and can be verified
As we know that the Main Memory Stores the data in a Temporary Manner means all
the data will be loss when the Power switched off. And all the data will be loss when
the power goes switched off. These are also known as auxiliary storage for the mass
storage of program and files, which are not currently being operated on, but can be
transferred to main storage when required. It is a permanent storage medium. So
that we uses the Secondary Storage devices those are used for Storing the data in a
Permanent Manner means all the Data will remain Stored whether the Power is
Switched on or Switched off means the Power Will never effect on the System. For
storing the data in a Permanent Manner we use the Magnetic Storage Devices. There
are also Some Advantages of Secondary Storage Devices.
2) Mass Storage: The Capacity of these Devices is very high means we can Store the
Huge Amount of data into the Secondary Storage Devices. We can Store data into the
Secondary Storage Devices in the form of Giga Bytes and Tera Bytes.
3) Cost Effective: The Cost of Secondary Storage Devices is very lower in compare to
the Main Memory So that they are also called as the more cost effective and they are
very small and couldn’t easily damage. And the data can’t be easily loss from these
Disks.
1) Magnetic Tapes: The Magnetic Tapes is the Type of Secondary Storage Device and
this Device is used for taking back up of data and this Tape contains some magnetic
fields and the Magnetic Tapes are used for accessing the data into the Sequential
Form and the tape also Contains a Ribbon which is coated on the Single Side of the
Tape and also contains a head which reads the data which is Recorded on to the
Tape. When we are reading the information from the disk then we can also read
backward information means we can also back the Tape for Reading the Previous
information. And For inserting the Tape into the System we also Requires Some Tape
Drives Which Contains Tape and which is Responsible for Reading the contents from
the Tapes.
Huge amount of data can be stored into the Tape Drive. But the Main Limitation of
the Tape Drive is that we can’t Access the Data from the Disks directly means if we
want to access 100th Record from the Tape then we must have to move all the
Previous i.e. 99th Records first. And the Tapes are also easily damaged due to the
Human Errors.
The Plate of Disk is divided into the Tracks and sectors and the collection of Tracks
makes a Cylinder means all the Tracks of the Disk which a Consecutive Areas makes a
Cylinder.
The Disk is first divided into the Number of Tracks and the Tracks are further divided
into the sectors and the Number of Tracks Makes a Cylinder. All the data is Stored
into the disk by using Some Sectors and each sectors belongs to a Tracks.
The Data is accessed from the Disk by using the heads, all the heads have Some Arm
those are used for Reading the Data from the Particular Tracks and sector. When the
Disk Rotates very high Speed then the Head also Moves, For Reading the data from
the Disk the ARM touches with the Particular Track and read the data from that
Location.
a) Seek Time: The Total Time which is Taken to Move on the Desired track is
known as the seek Time. And time is always measured by using the
Milliseconds.
b) Latency Time: The time required to bring the Particular Track to the Desired
Location Means the Total Time to bring the Correct the Sector for Reading or
for the read and Write head. This is also called as the Average Time.
c) Data Transfer Time: The Total Time which is required for Reading and Writing
the data into the Disk is known as the Data transfer Time.
The Magnetic Tapes are Sequential Access Device and the Hard Disk is the Direct
Access Device means the data of this Disk will be Read from Any Location and the
Data can be Read from the Disk by using the Read Write Heads. But hard Disks are
Costlier than the Simple Magnetic Tapes. But the capacity of the Hard Disk is very
high in compare to the Tapes.
3) Floppy Diskette: Floppy disk is a kind of storage device that can be used to carried
around? The Floppy Disk is also a Secondary Storage device which is used for storing
the data in a Permanent Manner. The floppy is made up of Rigid Mylar Plastic and
also contains a Magnetic black disk inside the Plastic Cover. The Floppy Disk also
Stores all the Data into the Form of Tracks and Sectors and the floppy Disk provides
both Reading and Writing the data into the Disk. The Floppy Disk is also called as
Reusable Disk means the Floppy Disk Provides us the Facility to Read and Writes the
Data into disk as and When Necessary and Also Many Times. We can Read and Write
the data from the Disk.
Computer Application [BBA-N-506]
The Main Advantage of the Floppy Disk is that the Data can be Stored many Times
but the Main Limitation of the floppy Disk is that floppy Disk have a Small capacity
and the Floppy Disk also doesn’t have Reliability means the Data Stored into the Disk
may not be used for Long Time because the floppy Disk is very Sensitive Thing when
we Move the Head of the Disk Again and Again then the floppy disk gets Damaged. So
that we can say that Floppy Disk is not a Reliable thing. And I the Other side the Cost
of floppy Disk is also high means with the Comparison of the Other Storage Media’s
Floppy Disk have some more cost.
4) Compact Disk: The Compact Disk Read Only Memory or CD-ROM’s is used for
Storing the data into the Disk and this is also called as Optical Disk because the CD-
ROM‘s are made up of the Golden or Aluminum Material and the data is Stored on
the Disk in the Form of the Tracks and Sectors.
CD-ROM Contains the data which is truly readable means we can’t edit the contents
of the CD-ROM Means once Data has been Written into the CD , we cannot be able to
Change the Contents of the Disk and the Data which is Stored on the Disk can be Any
Time Read by the user. The CD-ROM provides us the Large Capacity in compare to the
Floppy Disks and the CDROM can Store the Data from 650 MB to 800 MB means the
data can be Store up to this Space.
There are Many Disks that can’t be Erased once Written So they are also called as the
WORM Disks Means the Write Once and Read Many means that a user can just Write
the data only one Time and then after that he can use that Disk Many times for
reading but the user cannot Edit or Change those Contents after they are Written
into the File. So, these Disks are not Reusable. Hence, these types of Optical Disks are
also called as the CD-ROM and also Some Times they are known as the CD-R Means
the Read Only Disks because the data which is written into these Types of Disks is
never to be erased.
Now these Days there are also Some CDs Available those are also called as the CD-
RW or Read Writable Disks. As the Name Suggest these Disks Provides the feature to
the user to Read and Write the Contents from the Disk as they feel Necessary So that
the CD-RW are now Most Popular because a user can any Time Remove the Contents
from the Disk and also he can store the new Contents into the Disk. The CD-R and CD-
RW both have Same Capacity and both these can be used for Transferring the Files
from one System to another but the Main difference is that the cost. The CD-RW has
Some More Cost in compare to the Simple CD or in Compare to the CD-R.
Prerecorded DVDs are mass-produced using molding machines that physically stamp
data onto the DVD. Such discs are a form of DVD-ROM because data can only be read
and not written or erased. Blank recordable DVD discs (DVD-R and DVD+R) can be
recorded once using a DVD recorder and then function as a DVD-ROM. Rewritable
DVDs (DVD-RW, DVD+RW, and DVD-RAM) can be recorded and erased many times.
DVDs are used in DVD-Video consumer digital video format and less commonly
in DVD-Audio consumer digital audio format, as well as for authoring DVD discs
written in a special AVCHD format to hold high definition material (often in
conjunction with AVCHD format camcorders). DVDs containing other types of
information may be referred to as DVD data discs.
As the drum rotates at a speed of up to 3,000 rpm, the device's read/write heads
deposit magnetized spots on the drum during the write operation and sense these
spots during a read operation. This action is similar to that of a magnetic tape or disk
drive. Unlike some disk packs, the magnetic drum cannot be physically removed. The
drum is permanently mounted in the device. Magnetic drums are able to retrieve
data at a quicker rate than tape or disk devices but are not able to store as much data
as either of them.
Magnetic tape is used for sound recording and production and broadcasting. It
allowed radio, which had always been broadcast live, to be recorded for later or
repeated airing. Since the early 1950s, magnetic tape has been used with computers
to store large quantities of data and is still used for backup purposes. Magnetic tape
begins to degrade after 10–20 years and therefore is not an ideal medium for long-
term archival storage.
Cartridge: A cartridge is encased within plastic case and typically contains reel of tape
or a disk platter. While cassettes are for tape only and have both a supply and take-
up reel. It is a removable storage module for magnetic disks, optical discs, magnetic
tape or memory chips.
Data can be stored in many formats in any computer hardware. This completely
depends on the application that is creating this data. Following are some of the well-
known data storage formats and access mechanisms.
Disk Storage: Many of the disk operations like “read” and “write” involve disk
storage. Disk storage is one of the most heavily used mechanisms as on today. In Disk
storage, also many types and methods have evolved over a period.
Block Storage: Data is stored in “logical blocks” these blocks are smallest units of
storage with addresses attached to them in any storage subsystem. Disk level
read/write operations can be used for block storage and block storage access.
File Storage: Any data file is nothing but collection of “block of blocks” of data. Any
file typically will contain two parts:
1. Meta data of a file which stores the directory structure and information about
the file.
2. File content which contains the actual file content part of the data. File storage
leads to File Systems, which will have directories, files, regular files and etc. file
related meta data inside them. These File Systems are logically arranged for
ease of access and data operation.
Database Storage: DB storage is data storage for faster access with or without data
relation. DB storage is at the software level of data storage and will involve SQL or
No-SQL based data storage with Primary key and secondary key mechanisms. These
data bases either will be relational and no-relational types. The scope in this article
will not cover these concepts.
Direct Access: Direct memory access (DMA) is a feature of computer systems and
allows certain hardware subsystems to access main system memory independently of
the central processing unit (CPU). Without DMA, when the CPU is using programmed
input/output, it is typically fully occupied for the entire duration of the read or writes
operation, and is thus unavailable to perform other work. DMA is also used for intra-
chip data transfer in multi-core processors. Computers that have DMA channels can
transfer data to and from devices with much less CPU overhead than computers
without DMA channels. Similarly, a processing circuitry inside a multi-core processor
can transfer data to and from its local memory without occupying its processor time,
allowing computation and data transfer to proceed in parallel. DMA can also be used
for "memory to memory" copying or moving of data within memory. DMA can
offload expensive memory operations, such as large copies or scatter-
gather operations, from the CPU to a dedicated DMA engine. An implementation
example is the I/O Acceleration Technology. DMA is of interest in network-on-
chip and in-memory computing architectures.