Memoryfunction Updated Js2019 Clo1 Week2
Memoryfunction Updated Js2019 Clo1 Week2
MEMORY
COMPUTER MEMORY VS COMPUTER
STORAGE
Understandably, many computer users consider memory and storage to be the same thing.
The term memory refers to the component within your computer that allows you to access
data that is stored for a short term.
Storage is the component of your computer that allows you to store and access data on a
long-term basis.
The computer performs many operations by accessing data stored in its short-term memory.
Some examples of such operations including: Editing a document, Running a program and
Browsing the Internet.
Usually, storage comes in the form of a solid-state drive (SSD) or hard disk drive (HDD).
Storage allows you to access and store your applications, operating system, and files for an
indefinite period of time.
More hard drive storage allows you to store more things on your computer. However, it rarely
affects your computer’s performance.
WHAT IS COMPUTER MEMORY?
The computer memory is a component that allows you to access data that is stored for a
short term.
The memory is divided into large number of small parts called cells.
Each location or cell has a unique address, which varies from zero to memory size minus
one.
For example, if the computer has 64k words, then this memory unit has 64 * 1024 = 65536
memory locations. The address of these locations varies from 0 to 65535.
Computer memory is of two types: Volatile (RAM) and Non-volatile (ROM).
Despite essentially functioning as opposites, both computer memory and computer
storage often work together to create ideal storage conditions.
For instance, when you save your work in Word, the file data moves from computer
memory to computer storage for long-term retention.
COMPUTER MEMORY
Register memory is the smallest and fastest memory in a computer. It is located in the
CPU in the form of registers.
A register temporarily holds frequently used data, instructions and memory address
that can be quickly accessed by the CPU.
CACHE MEMORY
Cache memory is located in two general locations: inside the processor (internal cache)
and on the motherboard (external cache):
Internal cache: also known as primary cache, internal cache is located inside the CPU
chip.
External cache: also known as secondary cache, external cache is located on the
motherboard outside the CPU. This is the cache referred to on PC specifications.
Cache is designated in three levels due to its level or proximity to the CPU.
Level 1 (L1) cache: L1 cache is placed internally on the processor chip and is, of course,
the cache memory closest to the CPU.
Level 2 (L2) cache: L2 cache, on older systems, is normally placed on the motherboard
close to the CPU. Manufacturers today have both L1 and L2 cache installed on the CPU.
Level 3 (L3) cache: L3 cache on new systems relates to the cache on the motherboard.
COMPUTER MEMORY HIERARCHY
Some modern computers have cache (L3) which is situated in between cache
(L2) and main memory (RAM).
PRIMARY MEMORY
A flip-flop for a memory cell takes four or six transistors along with some wiring, but
never has to be refreshed.
This makes static RAM significantly faster than dynamic RAM. However, because it has
more parts, a static memory cell takes up a lot more space on a chip than a dynamic
memory cell.
Therefore, you get less memory per chip, and that makes static RAM a lot more
expensive.
Static RAM is fast and expensive, and dynamic RAM is less expensive and slower.
RAM - ECC
Error-correcting code (ECC) is a type of DRAM that has an additional cell to detect and
correct random faults.
ECC memory is user-replaceable, but it needs to be compatible with the other
computer hardware.
SIMM VS DIMM
As other computer components increased their speed, memory speed also needed to
increase.
Double data rate, or DDR, was developed, and the previous technology became known
as single data rate, or SDR.
DDR was both faster and used less energy than SDR.
The next generation of memory, DDR2, is faster and uses less energy than the original
DDR.
DDR3 and DDR4 continued this trend. Each successive generation is faster and uses
less energy.
TYPE OF RAM?
DDR
While it is technically is obsolete now, but it is still readily available for users who want to
replace the damaged memory without changing their old motherboard.
DDR2
Is cheap, fast, and compatible with mainstream (normal) motherboards.
DDR3
Is suitable for users who aiming for cutting-edge (advanced) memory to suit their need.
DDR4
Faster performance but less power consumption compared to ddr3.
Is compatible with selected processor.
PRIMARY MEMORY
The BIOS is the program that starts a computer up, and the CMOS is where the BIOS
stores the date, time, and system configuration details it needs to start the computer.
CMOS is an on-board, battery powered semiconductor chip inside computers that
stores information.
CMOS stores information needed by the BIOS. These are the settings where you
change by accessing a menu during boot-up.
CMOS BATTERY
The CMOS is usually powered by a CR2032 cell battery, referred to as the CMOS
battery.
Most CMOS batteries will last the lifetime of a motherboard, up to 10 years in most
cases, but will sometimes need to be replaced.
Incorrect or slow system date and time and loss of BIOS settings are major signs of a
dead or dying CMOS battery. Replacing them is as easy as swapping out the dead one
for a new one.
ROM (BIOS) AND CMOS BATTERY
PROM
Programmable Read Only Memory is an advanced form of ROM that will allow writing
data – but only once.
Similar to a blank CD or DVD, PROM does not comes with data stored on the chip.
But once you have written data to it, you cannot modify or delete that information
anymore.
PROM has been replaced by other methods that involve more flexibility, such as
EPROM and EEPROM.
An EPROM (erasable programmable read-only memory) is a special type of PROM that
can be erased by exposing it to ultraviolet light.
Once it is erased, it can be reprogrammed. An EEPROM is similar to a PROM, but
requires only electricity to be erased.
SECONDARY MEMORY
The storage devices in the computer or connected to the computer are known as
secondary memory of the computer.
It is non-volatile in nature so permanently stores the data even when the computer is
turned off.
The CPU can't directly access the secondary memory.
First the secondary memory data is transferred to primary memory then CPU can
access it.
The hard disk, optical disk and pen drive are some of the popular examples of
secondary memory or storage of computer.
SECONDARY MEMORY
Hard disk
It is a magnetic disc that is used to store data.
It permanently stores data and is located within a drive unit.
It is fixed inside the system unit.
Its storage capacity is very high that varies for example from 200 GB to 3 TB.
A hard disc contains a number of metallic discs which are called platters.
Information is recorded on the surface of the platters in a series of tracks.
For the purpose of addressing information, the surface is considered to be divided into segments called
Sectors.
This division helps in the proper organisation of data on the platter and helps in maximum utilisation of
the storage space.
HDD VS SSD
Most people now buy laptops for their computing needs and have to make the decision
between getting either a Solid State Drive (SSD) or Hard Disk Drive (HDD) as the
storage component.
So which of the two is the better choice, an SSD or HDD? There’s no straight-forward
answer to this question; each buyer has different needs and you have to evaluate the
decision based on those needs, your preferences, and of course budget.
HDD VS SSD
SSD can be thought of as an oversized and more sophisticated version of the USB
memory stick.
Like a memory stick, there are no moving parts to an SSD. Rather, information is stored
in microchips.
It instead relies on an embedded processor (or “brain”) called a controller to perform a
bunch of operations related to reading and writing data.
Conversely, a hard disk drive uses a mechanical arm with a read/write head to move
around and read information from the right location on a storage platter.
This difference is what makes SSD so much faster.
HDD VS SSD
The major advantage of an HDD is that it is capable of storing lots of data cheaply.
HDD has higher storage capacity: up to 10TB for desktop and 2 TB for Laptop WHERE
as SSD only has UP to 4 TB for DESKTOP and TYPICALLY NOT LARGER THAN 1 TB for
notebook.
Has NOISE, VIBRATION and produce Heat due to MOVING PARTS in Hdd in order to
read/write data to platter
HDD VS SSD
SECONDARY MEMORY
Optical disk
It has a plastic coating.
The data in optical disc is recorded digitally and the recorded data is read with laser
that scans its surface.
For example: compact discs (CDs) and digital videodiscs (DVDs).
SECONDARY MEMORY
Pen drive
It is a compact secondary storage device. It is connected to a computer through a USB
port to store or retrieve data.
AUXILLARY STORAGE
A magnetic tape, in computer terminology, is a storage medium that allows for data
archiving, collection, and backup.
At first, the tapes were wound in wheel-like reels, but then cassettes and cartridges
came along, which offered more protection for the tape inside.
One side of the tape is coated with a magnetic material.
Data on the tape is written and read sequentially.
Finding a specific record takes time because the machine has to read every record in
front of it.
Most tapes are used for archival purposes, rather than ad-hoc writing/reading.
CHARACTERISTIC/ SPECIFICATION OF RAM
1. Physical Size
RAM modules vary in physical size based on the type of computer they're used for and
the number of pins on the module.
Dual Inline Memory Modules (DIMMs) with 168 pins are 5.25 inches long.
DIMMs with less pins are typically smaller, with more pins meaning a physically larger
module.
DIMMs are commonly used in desktop computers, whereas laptops typically use Small
Outline Dual Inline Memory Modules (SODIMMs).
SODIMMs use the same technology but they're physically smaller, allowing them to fit
in laptops.
CHARACTERISTIC/ SPECIFICATION OF RAM
2. Amount
Amount is commonly measured in gigabytes (GB), though older or low-end computers
may measure maximum RAM in megabytes (MB).
A gigabyte contains roughly 1,000 megabytes, meaning the RAM is much faster.
Be sure to consider how many memory slots your computer has, as well.
Some computers have two slots to install memory, others have four and some have
even more.
CHARACTERISTIC/ SPECIFICATION OF RAM
3. Type
The memory type is important because this is where the majority of RAM's
compatibility issues lie.
Multiple variations of Double Data Rate (DDR) memory technology are used in various
computers.
DDR2 is faster than DDR memory, while DDR3 memory is faster than both.
If your computer requires DDR3 memory, DDR2 memory won't work.
CHARACTERISTIC/ SPECIFICATION OF RAM
4. Speed
Memory speed is frequently denoted by "PC-" followed by a number that denotes the
peak transfer rate and bandwidth of that type of memory.
For example, PC-2400's peak transfer rate is around 2,400 megabytes per second
(MB/s).
The peak transfer rate basically denotes the best performance possible for that
memory.
"PC2" and "PC3" simply refer to DDR2 and DDR3 memory, respectively.
The specifications may list the memory under a name which looks something like
"DDR3-1066" .
In this case, 1066 represents the data transfer rate in millions per second. All together,
the memory specification may read something like "2 GB PC3-6400 DDR3 SODIMM."
CHARACTERISTIC/ SPECIFICATION OF RAM
4. Speed
Memory speed is frequently denoted by "PC-" followed by a number that denotes the
peak transfer rate and bandwidth of that type of memory.
For example, PC-2400's peak transfer rate is around 2,400 megabytes per second
(MB/s).
The peak transfer rate basically denotes the best performance possible for that
memory.
"PC2" and "PC3" simply refer to DDR2 and DDR3 memory, respectively.
The specifications may list the memory under a name which looks something like
"DDR3-1066" .
In this case, 1066 represents the data transfer rate in millions per second. All together,
the memory specification may read something like "2 GB PC3-6400 DDR3 SODIMM."
WONDER?
AUTORECOVERY IN MS WORD?