












Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!













There is another type of high speed memory, known as Cache memory, which is used to increase the speed of processing by making current programs and data available to the CPU at a rapid rate. Cache memory is a relatively small, high speed memory that stores the most recent used instructions or data. It acts as a high-speed buffer between main memory and the CPU.The cache memory is placed in between CPU and main memory. Access time is the time it takes a device or program to locate information and make it available to the computer for further processing. Cache memory access time is about 0. to 2.5 ns which is much less than that of the main memory. The access time of main memory is about 50-70 ns. Because of its very high cost, the capacity of the cache memory deployed is 2 to 3 percent of that of the main memory. The access time of mass storage devices such as hard disks are measured in milliseconds (ms).
MEMORY HIERARCHIES Regist ers Cache Main Memory Magnetic Disks/Virtual Memory Magnetic Tapes,Remote Access etc
SECONDARY STORAGE You can note down the following points from the above figure:- ļ· Semiconductor memories are used mainly for primary storage. It stores programs and data which are currently needed by the CPU. ļ· The semiconductor memory is an electronic, static device. There are no moving parts in it. Some examples of semiconductor memory are RAM, ROM etc. Memory Magnetic Disks Magnetic Tapes Optical Disks
ļ· The semiconductor memory is faster, compact and lighter. It consumes less power. ļ· The magnetic and optical memories are slow compared to semiconductor memory. But they are cheaper than semiconductor memory. They are not static devices. They are either in the form of a rotating disk or tape. All computers contain both semiconductor as well as magnetic memory. The examples of magnetic memory are Hard-disk, floppy disk, magnetic disk and tapes CAPACITY Vs ACCESS TIME Access time ter^ Regis ) onds oSec (nan 2ns 0.5- Cach e ory^ Mem ) onds osec (nan s 2.5n 0.5- RAM ( 70ns 50- nan nds) oseco ge^ Stora^ Mass s) cond llise s(mi 20m 5-
Binary Representation Computer stores data using 0 and 1 (binary). Called two-state system. Electronic Circuits ON (conducting) ā 1 OFF (non-conducting) ā 0 Magnetic Media One direction ā 1 Opposite direction ā 0 ļ· Important Terms Bit Smallest unit of data Value = 0 or 1 Byte 8 bits = 1 byte Represents one character ļ· Character Coding Uses binary to represent characters. Example: ASCII (American Standard Code for Information Interchange) ļ· Quick One-Line Points (For Revision) Sequential access = ordered access Random access = direct access Bit = smallest data unit Byte = 8 bits RAM = volatile memory Magnetic/Optical = non-volatile DIAGRAMS
Head ā ā ā ā (moves step by step) Disk: [A1] [A2] \ / \ / [A3] ā Direct access / [A4] [A5] BINARY STORAGE CONCEPT DIAGRAM Electronic Circuit: Switch ON ā 1 Switch OFF ā 0 [ ON ] = 1 [ OFF ] = 0 BIT AND BYTE REPRESENTATION 1 Byte = 8 Bits Example:
Bit: 1 0 1 0 1 1 0 0 ā (1 Byte) MAGNETIC STORAGE REPRESENTATION Magnetic Surface: ā Direction 1 = 1 ā Direction 2 = 0 [ ā ] [ ā ] [ ā ] [ ā ] 1 0 1 1 Here are MCQs for practice (with answers at the end): ļ· Memory Access Methods ā MCQs
Which method accesses data in a fixed sequence? A) Random access B) Direct access C) Sequential access D) Parallel access
A) Magnetic tape B) RAM C) Paper storage D) Sequential file ļ· Memory Technology ā MCQs
Semiconductor memory is: A) Magnetic B) Optical C) Electronic D) Mechanical
Which memory is volatile? A) Magnetic disk B) RAM C) CD-ROM D) Optical disk
Magnetic memory is generally: A) Volatile
B) Non-volatile C) Temporary D) Unstable
Optical memory uses: A) Electricity B) Magnetism C) Laser beam D) Sound waves
Which memory has the fastest access time? A) Optical B) Magnetic C) Semiconductor D) Tape ļ· Basic Storage Concepts ā MCQs
The smallest unit of data is: A) Byte B) Bit
ASCII stands for: A) American Standard Code for Information Interchange B) Advanced System Code for Internet Interface C) Automatic Standard Code for Information Input D) None ļ· Mixed Concept MCQs
Which is an example of random access device? A) Tape B) Disk C) Paper D) Printer
Sequential access is suitable for: A) Random searching B) Monthly billing C) Gaming D) Real-time systems
Which is NOT a non-volatile memory? A) RAM B) Magnetic disk C) Optical disk D) Hard disk
Data in magnetic media is stored using: A) Voltage B) Light C) Magnetic polarity D) Sound
Access time in random access memory is: A) Different for each location B) Same for all locations C) Very slow D) Zero ļ· Answers
ļ· Memory Technology
ļ· Storage Media Concepts
Using magnetic polarity (direction).
ļ· Coding System