Computer Architecture Assingment No 2
Computer Architecture Assingment No 2
Magnetic
Optical
Electrical
a. Registers
b. Cache
c. RAM
e. USB
Magnetic
1) Floppy Drive/Disk
3) Magnetic Tape
Optical
1) CD
2) DVD
3) Rewriteable CD / DVD
4) Blu-Ray Disk
Discuss memory hierarchy with reasoning & you guys are supposed to discuss the following concepts
regarding each memory type:
2) Write Phenomena
3) Read Phenomena
4) Delete Phenomena
5) Search Phenomena
The Superior University, Lahore
Task-5 (Spring 2022)
Course Title: Object Oriented Programming (LAB) Course Code: CS-2403 Credit Hours:
Instructor: Prof. Muhammad Aqeel Program Name: MCS
Semester: 2 Batch: F21 Section: 2-A Maximum Marks:
Student’s Name: Assad Ullah Arshad Reg. No. MCSM-F21-004
Electrical Storage:
Any device used to store electronic/digital data or information. This includes
but is not limited to desktop/laptop computers, servers, network devices, magnetic
tape, cell phones, Smartphones, PDAs, portable storage drives, flash drives, fax
machines, copiers and digital cameras.
Memory Hierarchy:
Registers:
A register is a temporary storage area built into a CPU. Some registers
are used internally and cannot be accessed outside the processor, while
others are user-accessible. Most modern CPU architectures include
both types of registers.
Internal registers include the instruction register (IR), memory buffer
register (MBR), memory data register (MDR), and memory address
register (MAR). The instruction register fetches instructions from the
program counter (PC) and holds each instruction as it is executed by
the processor. The memory registers are used to pass data
from memory to the processor. The storage time of internal registers is
extremely temporary, as they often hold data for less than a
millisecond.
1. Memory Hierarchy:
Usually, the register is a static RAM or SRAM in the processor of the
computer which is used for holding the data word which is typically 64
or 128 bits. The program counter register is the most important as well as
found in all the processors. Most of the processors use a status word
register as well as an accumulator. A status word register is used for
decision making, and the accumulator is used to store the data like
mathematical operation. Usually, computers like complex instruction
set computers have so many registers for accepting main memory,
and RISC- reduced instruction set computers have more registers.
2. Storage Phenomena:
Registers stores data in the form of bits if the data is n when registers
store n bits of data. Register stores data in the form of 0/1.
i. Static
ii. Dynamic
ROM:
ROM is an acronym for Read-Only Memory. It refers to computer memory
chips containing permanent or semi-permanent data. Unlike RAM, ROM is non-
volatile; even after you turn off your computer, the contents of ROM will remain.
Almost every computer comes with a small amount of ROM containing the boot
firmware.
Types of ROM:
ROM is further classified into 4 types:
a. ROM
b. PROM
c. EPROM
d. EEPROM
PROM:
PROM was first developed by Wen Tsing Chow in 1956. An example of a
PROM is a computer BIOS in early computers.
EPROM:
EPROM, in full erasable programmable read-only memory, form of
computer memory that does not lose its content when the power supply is
cut off and that can be erased and reused. EPROMs are generally employed
for programs designed for repeated use but that can be upgraded with a later
version of a program.
EEPROM:
EEPROM (electrically erasable programmable read-only memory) is user-
modifiable read-only memory (ROM) that allow users to erase and
reprogram stored data repeatedly in an application. In contrast to EPROM
chips, EEPROM memory does not need to be removed from the computer in
order to modify the data.
USB:
The term USB stands for "Universal Serial Bus". USB cable assemblies are
some of the most popular cable types available, used mostly to connect computers
to peripheral devices such as cameras, camcorders, printers, scanners, and more.
Magnetic:
Floppy Drive/Disk:
A floppy disk is a data storage device that is composed of a disk of thin,
flexible ("floppy") magnetic storage medium encased in a square or rectangular
plastic shell.
Magnetic Tape:
1. Storage Phenomena of Magnetic tape:
Magnetic tape is a type of physical storage media for different kinds of data. It is
considered an analog solution, in contrast to more recent types of storage media,
such as solid state disk (SSD) drives. Magnetic tape has been a major vehicle for
audio and binary data storage for several decades, and is still part of data storage
for some systems. One use of magnetic tape that still exists is tape vaulting for the
storage of physical records. In this process, technicians and other professionals
back up digital data to magnetic tape to secure it in physical vaults as a redundant
strategy in the event of disasters or other emergencies.
Optical:
CD:
Storage Phenomena of CD:
A CD-ROM usually stores 650 MB of data. A Compact disc read-only memory
(CD-ROM) is a storage device that can be Read but not written to.CD-ROM was a
common convention for delivery of audio and other data through the years before
small solid-state flash drives and other devices began to take over.
DVD:
Storage Phenomena of DVD:
Rewriteable CD / DVDs:
Rewriteable DVD:
A DVD-ROM is one of the various types of DVDs. A blank DVD is generally a
DVD-R or DVD+R, which has a read-write format. The +R or -R references the
format standards and is a rewritable or recordable DVD.
CD Rewriteable:
Blu-Ray Disk:
Storage Phenomena of Blu-Ray Disk:
Blu-ray technology gets its name from the blue-violet laser that is used to
read Blu-ray disks. Compared to a DVD's red laser, a blue laser permits more
information to be stored at a greater density. For example, while a DVD can
store15 GB per layer, a Blu-ray disk can store 25 GB per layer, and dual-layer disks
can hold up to 50 GB. Compared to a DVD, Blu-ray also provides much higher
resolution; while a DVD with standard definition can provide definition of
720x480 pixels, Blu-ray high definition has 1920X1080 pixel resolution.