• No results found

Type of memories

N/A
N/A
Protected

Academic year: 2022

Share "Type of memories"

Copied!
31
0
0

Loading.... (view fulltext now)

Full text

(1)

Memory and I/O in computers

(2)

Type of memories

Primary memory

Secondary memory

(3)

Difference

Property Primary Secondary

Storage capacity

Small Large

Access time Fast low

Cost high low

Volatility volatile Non-volatile

Access Random access Sequential access and Direct access

(4)

Primary memory

Every computer has a temporary storage built into the computer hardware

It stores instructions and data of a program mainly when the program is being executed by the CPU.

This temporary storage is known as main memory, primary storage, or simply memory

(5)

Random Access Memory (RAM)

Primary storage of a computer is often referred to as RAM because of its random access capability

RAM chips are volatile memory

A computer’s motherboard is designed in a manner that the

memory capacity can be enhanced by adding more memory chips

(6)

Read Only Memory (ROM)

ROM a non-volatile memory chip

Data stored in a ROM can only be read and used – they cannot be changed

ROMs are mainly used to store programs and data, which do not change and are frequently used. For example, system boot program

(7)

Types of ROMs

Manufacturer-programmed- Data is burnt by the

manufacturer of the electronic equipment in which it is used.

User-programmed/programmable (PROM)- The user can load and store “read-only” programs and data in it.

Erasable PROM (EPROM)- The user can erase

information stored in it and the chip can be reprogrammed to store new information.

Ultra Violet EPROM (UVEPROM)- A type of EPROM

chip in which the stored information is erased by exposing the chip for some time to ultra-violet light.

Electrically EPROM (EEPROM) or Flash memory- A type of EPROM chip in which the stored information is erased by using high voltage electric pulses.

(8)

Cache Memory

It is commonly used for minimizing the memory-processor speed mismatch.

It is an extremely fast, small memory between CPU and main memory whose access time is closer to the processing speed of the CPU.

It is used to temporarily store very active data and instructions during processing

(9)

CPU Registers

Commonly used as temporary storage in a processor.

Faster and more convenient than main memory.

More registers can help speed up complex calculations.

There are many different kinds of registers.

(10)

Memory Hierarchy

(11)

Limitations of Primary Storage

Limited capacity because the cost per bit of storage is high

Volatile - data stored in it is lost when the electric power is turned off or interrupted

(12)

Secondary Storage

Used in a computer system to

overcome the limitations of primary storage

Has virtually unlimited capacity

because the cost of storage is very low

Has an operating speed far slower than that of the primary storage

Used to store large volumes of data on a permanent basis

Also known as auxiliary memory

(13)

Sequential-access Storage Devices

Arrival at the desired storage location may be preceded by sequencing through other locations

Data can only be retrieved in the same sequence in which it is stored

Access time varies according to the storage location of the information being accessed

Suitable for sequential processing applications where most, if not all, of the data records need to be processed one after

another

Magnetic tape is a typical example of such a storage device

(14)

Direct-access Storage Devices

Devices where any storage location may be selected and accessed at random

Permits access to individual information in a more direct or immediate manner

Approximately equal access time is required for accessing information from any storage location

Suitable for direct processing applications such as on-line ticket booking systems, on-line banking systems

Magnetic disks are typical examples of such a storage device.

(15)

Optical Disks

Optical secondary storage devices: A common optical disk is Compact disc read-only memory (CD-ROM) with a storage capacity is 740 MB.

In CD-ROM data can not be modified once it has been recorded, the disk is “read-only”.

A CD burner or CD recorder is a device that can record data to a compact disk.

There are two types of CD’s

CD-recordable {CD-R}

CD-rewritable {CD-RW}

(16)

Digital video disc

Digital video disc (DVD): DVD is a five-inch diameter CD- ROM looks like a CD but can store about 135 minutes of digital video or several gigabytes of data.

• Capacity of CD is about 740 MB data, single-sided DVD can hold 4.7 GB data and the capacity of double sided DVD is 9.4 GB.

(17)

Solid state secondary storage devices

Solid state secondary storage devices:

 Store data in memory chips rather than magnetic or optical media.

 SSD’s have few moving parts, so they are less breakable than hard disk drives.

 A Universal Serial Bus (USB) flash drive is one example of commonly used SSD.

 USB flash drives are external to the computer and are removable and rewritable.

(18)

Input Device

This unit contains devices with the help of which we enter data into the computer.

This unit creates a link between the user and the computer.

The input devices translate the information into a form understandable by the computer

(19)

Various input devices

Keyboard

Mouse

Joy Stick

Light pen

Scanner

Microphone

Optical Character Reader (OCR)

Bar Code Reader

(20)

Keyboard

Keyboard is the most common and very popular input device which helps to input data to the computer.

The layout of the keyboard is like that of traditional typewriter, although

there are some additional keys

provided for performing additional functions.

Keyboards are of two sizes 84 keys or 101/102 keys, but now keyboards with 104 keys or 108 keys are also available

(21)

Mouse

Mouse is the most popular pointing device.

It sends signals to the CPU when the mouse buttons are pressed.

Generally, it has two buttons called the left and the right button and a wheel is present between the

buttons.

A mouse can be used to control the position of the cursor on the screen, but it cannot be used to enter text into the computer.

(22)

Light pen

Light pen is a pointing device similar to a pen.

It is used to select a displayed menu item or draw pictures on the monitor screen.

When the tip of a light pen is moved over the monitor screen, its photocell sensing

element detects the screen location and sends the corresponding signal to the CPU.

(23)

Scanner

Scanner is an input device, which

works more like a photocopy machine.

It is used when some information is available on paper and it is to be

transferred to the hard disk of the computer for further manipulation.

Scanner captures images from the

source which are then converted into a digital form that can be stored on the disk

(24)

Output Devices

An output device consists of devices with the help of which we get the information from the computer.

This unit is a link between the computer and the users.

Output devices translate the computer's output into a form understandable by the users.

(25)

Commonly used Output Devices

Monitor

Printer

(26)

Monitor

Monitors, commonly called as Visual Display Unit (VDU), are the main

output device of a computer.

It forms images from tiny dots, called pixels that are arranged in a rectangular form.

The sharpness of the image depends upon the number of pixels.

(27)

Printer

Printer is an output device, which is used to print information on paper.

Some commonly used printers:

Dot Matrix

Laser

Inkjet

(28)

Purchasing a computer

Four Steps To Purchase a Computer

1. Purpose: What type of computer is needed?

2. Cost: How much money can I spend?

3. Hardware Types: What kind of hardware best serves my needs?

4. Software Types: Which application softwares serves my needs?

(29)

Factors

• Cost

• CPU Speed

• Memory Size and Speed

• Portability

• Single/Multi-User System

• Personal or Business

(30)

Purchasing a computer

Monitor-

Size

Resolution

Operating System-

Windows 10

Linux

Mac

(31)

Purchasing a computer

RAM-

Speed

Capacity

Hard Drive-

Capacity

CPU-

Speed

Core

References

Related documents

• “We need to be careful about what we wish for from a superhuman intelligence as we might get

Technical metadata include where the data come from, how the data were changed, how the data are organized, how the data are stored, who owns the data, who is responsible for the

• Physical components of a computer, such as CPU, Memory, Input and Output devices, Auxiliary storage devices.. • The hardware components include devices that perform the functions

4.8 List various types of memories 4.9 Differentiate between ROM and RAM 4.10 Explain basic principle of working of ROM 4.11 State different types of ROM.. 4.12 Explain the

Among all options available for publishing Winisis 31 databases on web, preferred GENISISWEB was preferred due to its simplicity and advanced features over others which include:

Polymer electrolyte is one of the key components to prepare efficient and durable energy storage/conversion devices like secondary batteries, supercapacitors, fuel cells etc.[12,

Moreover, when the effect of the storage condition on adhesive strength is studied, it can be seen from figure 3 that storage of the samples at elevated temperature and humidity

The geodatabase is the common data storage and management framework which combines "geo" (spatial data) with "database" (data repository). Geodatabase associate