Lecture-2 Memory and Storage
Lecture-2 Memory and Storage
Presented by
Lecturer
Department of Computer Science and Engineering
Bangladesh Army International University of Science and Technology
Storage Capacity
Byte: The fundamental unit used to measure data is the byte. It has 8 bits in it.
A byte can therefore represent 2 ^ 8 or 256 values.
November 10, 2024 Presented by: Shawon 5
Units of Memory
Kilobyte (KB):1024 bytes is equal to one kilobyte.
Main memory is used to keep programs or data when the processor is active to use
them.
When a program or data is activated to execute, the processor first loads instructions
or programs from secondary memory into main memory, and then the processor
starts execution.
It is a read-only memory that can only read stored information, data, or programs, but
we cannot write or modify anything.
A ROM contains some important instructions or program data that are required to
start or boot a computer.
It is a non-volatile memory; which means that the stored information cannot be lost
even when the power is turned off or the system is shut down.
Flash ROM
Instead of that, secondary memory data is first loaded into the RAM (Random
Access Memory) and then sent to the processor to read and update the data.
Secondary memory devices also include magnetic disks like hard disks and floppy
disks, an optical disk such as CDs and CDROMs, and magnetic tapes.
It stores all the data and instructions that are often used by computer CPUs.
It also reduces the access time of data from the main memory.
It temporarily stores data instructions and the address of the memory that is
repeatedly used to provide faster response to the CPU.