SlideShare a Scribd company logo
08/23/151
MEMORY
Memory
 The memory unit is an essential component in any digital computer
since it is needed for storing programs and data
 Not all accumulated information is needed by the CPU at the same time
 Therefore, it is more economical to use low-cost storage devices to
serve as a backup for storing the information that is not currently used
by CPU
 The memory unit that directly communicate with CPU is called the
main memory or Primary Memory
 Devices that provide backup storage are called auxiliary memory or
Secondary Memory
 The memory hierarchy system consists of all storage devices employed
in a computer system from the slow by high-capacity auxiliary memory
to a relatively faster main memory, to an even smaller and faster cache
memory
An Example Memory Hierarchy
08/23/15
3
registers
on-chip L1
cache (SRAM)
main memory
(DRAM)
local secondary storage
(local disks)
Larger,
slower,
and
cheaper
(per byte)
storage
devices
remote secondary storage
(tapes, distributed file systems, Web servers)
Local disks hold files
retrieved from disks on
remote network
servers.
Main memory holds disk
blocks retrieved from local
disks.
off-chip L2
cache (SRAM)
L1 cache holds cache lines
retrieved from the L2 cache
memory.
CPU registers hold words
retrieved from L1 cache.
L2 cache holds cache lines
retrieved from main memory.
L0:
L1:
L2:
L3:
L4:
L5:
Smaller,
faster,
and
costlier
(per byte)
storage
devices
Memory
 The main memory occupies a central position by being able to communicate
directly with the CPU and with auxiliary memory devices through an I/O
processor
 A special very-high-speed memory called cache is used to increase the speed of
processing by making current programs and data available to the CPU at a rapid
rate
Memory Hierarchy
CPU logic is usually faster than main memory access time, due to
this reason processing speed of CPU is limited primarily by the
speed of main memory
The cache is used for storing segments of programs currently
being executed in the CPU and temporary data frequently
needed in the present calculations
The typical access time ratio between cache and main memory is
about 1 to 7~10
Auxiliary memory access time is usually 1000 times greater than
that of main memory
Main Memory
Most of the main memory in a general purpose
computer is made up of RAM integrated circuits chips,
but a portion of the memory may be constructed with
ROM chips
RAM– Random Access memory
Static and Dynamic
ROM– Read Only memory
Types of RAM
 Static RAM (SRAM)
Each cell stores bit with a six-transistor circuit.
Bit is stored in the form of voltage
Retains value indefinitely, as long as it is kept powered.
Relatively insensitive to disturbances such as electrical noise.
Faster (8-16 times faster) and more expensive (8-16 times more expensice as well)
than DRAM.
Access time around 10 nanoseconds
Used for cache memory
 Dynamic RAM (DRAM)
Each cell stores bit with a capacitor and transistor.
Bit is stored in the form of charge
Value must be refreshed every 10-100 ms.
Sensitive to disturbances.
Slower and cheaper than SRAM.
Almost all computer has DRAM
Access time 60 – 70 nanoseconds
 Note: a nanosecond is one billionth of a second!
Types of RAM
Synchronous Dynamic Random Access Memory (SDRAM)
• Quicker than DRAM
• Access time less than 60 nanoseconds
Direct Rambus Dynamic Random Access Memory (DRDRAM)
• New type of RAM architecture
• Access time 20 times faster than DRAM
• More expensive
Cache memory
• Small amount of memory typically 256 or 512 kilobytes
• Temporary store for often used instructions
• Level 1 cache is built within the CPU (internal)
• Level 2 cache may be on chip or nearby (external)
• Faster for CPU to access than main memory
08/23/158
Types of RAM
Video Random Access memory
• Holds data to be displayed on computer screen
• Has two data paths allowing READ and WRITE to occur at the same time
• A system’s amount of VRAM relates to the number of colours and resolution
• A graphics card may have its own VRAM chip on board
Virtual memory
• Uses backing storage e.g. hard disk as a temporary location for programs
and data where insufficient RAM available
• Swaps programs and data between the hard-disk and RAM as the CPU
requires them for processing
• A cheap method of running large or many programs on a computer system
• Cost is speed: the CPU can access RAM in nanoseconds but hard-disk in
milliseconds (Note: a millisecond is a thousandth of a second)
• Virtual memory is much slower than RAM
08/23/159
Static RAM Cell
ROM
ROM is used for storing programs that are PERMANENTLY
resident in the computer and for tables of constants that do not
change in value once the production of the computer is completed
The ROM portion of main memory is needed for storing an initial
program called bootstrap loader, witch is to start the computer
software operating when power is turned off
ROM stores Bit in the form of Diode.
Access time of between 10 and 50 nanoseconds
Types of ROM
08/23/1512
1. PROM – Programmable ROM – a type of memory whose contents can be
programmed by the user
• OTP – One Time Programmable, a PROM is OTP if contents can be
programmed only once.
• Has polysilicon wires, arranged in matrix, works as diode or fuses.
• Burning the fuses to program the ROM called “Burning the PROM”
2. EPROM –Erasable PROM-Can be programmed, erased and
reprogrammed
• The EPROM chip has a small window on top allowing it to be erased by shining
ultra-violet light on it
• After reprogramming the window is covered to prevent new contents being
erased
• Access time is around 45 – 90 nanoseconds
Fig: EPROM with smallwindow
Types of ROM
3. Electrically Erasable Programmable Read Only Memory (EEPROM)
• Reprogrammed electrically without using ultraviolet light
• Must be removed from the computer and placed in a special machine to do this
• Access times between 45 and 200 nanoseconds
4. Flash ROM
• Similar to EEPROM
• However, can be reprogrammed while still in the computer
• Easier to upgrade programs stored in Flash ROM
• Used to store programs in devices e.g. modems
• Access time is around 45 – 90 nanoseconds
5. ROM cartridges
• Commonly used in games machines
• Prevents software from being easily copied
08/23/1513
Fig: Flash Memory
Secondary memory-Hard Disk
Geometry
 Disks consist of platters, each with two surfaces
 Each surface consists of concentric rings called tracks
 Each track consists of sectors separated by gaps
spindle
surface
tracks
track k
sectors
gaps
Disk Geometry
(Muliple-Platter View)
Aligned tracks form a cylinder
surface 0
surface 1
surface 2
surface 3
surface 4
surface 5
cylinder k
spindle
platter 0
platter 1
platter 2
Each Platter has two read write Head
Disk Operation (Single-Platter View)
The disk surface
spins at a fixed
rotational rate
spindle
By moving radially, arm can
position read/write head over
any track
Read/write head
is attached to end
of the arm and flies over
disk surface on
thin cushion of air
spindle
Hard Disk Drive
1/4/201417
I/O Devices
• A standard computer keyboard has about 100 keys.
• Most keyboards use the QWERTY layout, named for the first six
keys in the top row of letters.
The Keyboard - Standard Keyboard Layout
Most keyboards have keys arranged in five
groups:
1.Alphanumeric keys
2. Numeric keypad
3. Function keys
4.Modifier keys
5.Cursor-movement keys
ACADEMIC RECORDS
Password
ENTER Invalid Password
* * * * *
• The keyboard controller detects the keystroke.
• The controller places a scan code in the keyboard
buffer, indicating which key was pressed.
• The keyboard sends the computer an interrupt
request, telling the CPU to accept the keystroke.
When you press a key:
The Keyboard - How a Keyboard Works
The Keyboard - How a Keyboard Works
The Mouse - What is a Mouse?
• The mouse is a pointing device. You use it to move a graphical
pointer on the screen.
• The mouse can be used to issue commands, draw, and
perform other types of input tasks.
1. Pointing; Move the mouse to move the on-screen pointer.
2. Clicking; Press and release the left mouse button
once.
3. Double-clicking; Press and release the left mouse
button twice.
4. Dragging; Hold down the left mouse button as you
move the pointer.
5. Right-clicking; Press and release the right mouse button.
Mouse Techniques:Using the mouse
involves five techniques:
Variants of the Mouse
• Trackballs
• Trackpads
• Integrated Pointed Devices
Variants of the Mouse - Trackballs
• A trackball is like a mouse turned upside-down.
• Use your thumb to move the exposed ball and
your fingers to press the buttons.
Many styles of
trackball are
available.
Variants of the Mouse - Trackpads
• A trackpad is a touch-sensitive pad that provides
the same functionality as a mouse.
• To use a trackpad, you glide your finger across its
surface.
• Trackpads provide a set of buttons that function
like mouse buttons.
Trackpad
Variants of the Mouse-
Integrated Pointing Devices
• An integrated pointing device is a small joystick built into the
keyboard.
• To use an integrated pointing device, you move the joystick.
• These devices provide a set of buttons that function like mouse
buttons
Devices for the Hand
Pen based input
Tablet PCs, PDA
Pen used to
write data
Pen used as
a pointer
Handwriting recognition
Devices for the hand
3B-30
Touch screens
Sensors determine where
finger points
Sensors create an X,Y
coordinate
Usually presents a menu to
users
Found in cramped or dirty
environments
Devices for the hand
Game controllers
Enhances gaming experience
Provide custom input to the game
Joystick
Game pad
Optical Input Devices
Allows the computer to see input
Bar code readers
Converts bar codes to numbers
Computer find number in a database
Works by reflecting light
Amount of reflected light indicates number
Optical Input Devices
Image scanners
Converts printed media into electronic
Reflects light off of the image
Sensors read the intensity
Filters determine color depths
Optical input devices
Optical character recognition (OCR)
Converts scanned text into editable text
Each letter is scanned
Letters are compared to known letters
Best match is entered into document
Rarely 100% accurate
Audiovisual Input Devices
Microphones
Used to record speech
Speech recognition
“Understands” human speech
Allows dictation or control of computer
Matches spoken sound to known phonemes
Enters best match into document
Audiovisual Input Devices
Digital cameras
Captures images electronically
No film is needed
Image is stored as a JPG file
Memory cards store the images
Used in a variety of professions
• Categories of Monitors
• CRT Monitors
• Flat-Panel Monitors
• Comparing Monitors
• Video Controllers
Monitors - Categories of Monitors
Monitors are categorized by the technology they use:
• Cathode ray tube (CRT) monitors
• Flat-panel displays
• LCD
• LED
• Plasma
And by the way they display colors:
• Monochrome – One coloron a blackbackground
• Grayscale – Shades of gray on a white oroff-white
background
• Color– From16 to 16 million unique colors
Monitors - CRT Monitors
• In CRT monitors, electrons are fired at
phosphor dots on the screen.
• The dots are grouped into pixels, which
glow when struckby electrons.
• In colorCRTs, each pixel contains a red,
green, and blue dot. These glow at varying
intensities to produce colorimages.
2 memory-and-io-devices
Monitors - Flat-Panel Monitors
• Most flat-panel monitors use liquid crystal display
(LCD) technology.
• TFT(Thin-film transistor)displays use multiple
transistors foreach pixel.
• Flat-panel monitors take up less desk space.
Monitors - Comparing Monitors
When comparing monitors, considerfour
features:
• Size
• Resolution
• Refresh rate
• Dot pitch
Comparing Monitors - Size
• A monitor's size is the diagonal
measurement of its face, in inches.
• Early days, 15"monitors (13"viewing area)
were standard.
• Today, 17"monitors (15"viewing area) are
common.
• Largermonitors are available, but can be
expensive.
The diagonal
size (often 15”)
Comparing Monitors - Resolution
• Resolution is the numberof pixels on the
screen, expressed as a matrix (such as
600x800).
• A 17"monitoroffers resolutions from
640x480 up to 1280x1024.
• The Video Graphics Array (VGA) standard is
640x480. SuperVGA (SVGA) monitors
provide resolutions of 800x600, 1024x768
orhigher.
Comparing Monitors - Refresh Rate
• Refresh rate is the numberof times each
second that the electron guns scan the
screen's pixels.
• Refresh rate is measured in Hertz (Hz), or
cycles persecond.
• Lookfora refresh rate of 72 Hz orhigher.
A slower rate may cause eyestrain.
Fast scanning = Quickrefresh (less flicker)
Comparing Monitors - Dot Pitch
• Dot pitch is the distance between the phosphor dots that make
up a single pixel.
• In color monitors, three dots (red, green, and blue) comprise
each pixel.
• Look for a dot pitch no greater than 0.28 millimeter.
Fine dot pitch = Crisp displays
R + BB + G
R + G
R + B + G
PhosphorDot ColorMixing
PC Projectors
• A PC projector connects to a PC and is used to project images
on a large screen.
• Many PC projectors provide the same resolutions and color
levels as high-quality monitors.
Printer
•Dot Matrix
•Inkjet
•Laser
08/23/1551

More Related Content

PPTX
Basic components of computer system
PDF
Computer system Hardware and Instruction
PDF
Basic of computer 2
PPTX
Input Output Devices and Memory Unit
PPT
00 Hardware Of Personal Computer V1 1
PPTX
Memory unit
PPTX
Typical Computer Components
PPT
Types of memory 10 to11
Basic components of computer system
Computer system Hardware and Instruction
Basic of computer 2
Input Output Devices and Memory Unit
00 Hardware Of Personal Computer V1 1
Memory unit
Typical Computer Components
Types of memory 10 to11

What's hot (20)

PPT
Computer Memory
PPTX
Computer Components
PDF
2 the computer system hardware
PPTX
computer fundamentals
PPT
Lecture 7
PPT
ROM(Read Only Memory )
PPT
Computer Memory
PDF
Computer System Basics
PPT
Function of memory.4to5
PPSX
Computer system
PPT
Basic hardware concept
PPT
Computer systems for school kids
PPTX
Capabilities and characteristic of hardware and software --
PDF
Difference between RAM and ROM
PPTX
COMPUTER SYSTEM AND ITS COMPONENTS
PPTX
BASIC PARTS OF COMPUTER FOR DEMO TEACHING
PDF
Components of computer systems
PPTX
Memory units
PPT
Processing Devices
Computer Memory
Computer Components
2 the computer system hardware
computer fundamentals
Lecture 7
ROM(Read Only Memory )
Computer Memory
Computer System Basics
Function of memory.4to5
Computer system
Basic hardware concept
Computer systems for school kids
Capabilities and characteristic of hardware and software --
Difference between RAM and ROM
COMPUTER SYSTEM AND ITS COMPONENTS
BASIC PARTS OF COMPUTER FOR DEMO TEACHING
Components of computer systems
Memory units
Processing Devices
Ad

Viewers also liked (10)

PPTX
Introduction to computers
PPT
Introduction to computer programming
PDF
Chapter 1 -introduction_to_computers csc
PPT
1 introduction-to-computer
PPT
Computer Hardware
PPT
Computer Programming- Lecture 4
PPTX
C101 – Intro to Programming with C
PPT
Introduction to computer hardware
PDF
Introduction to Computers
PPTX
Components of a computer system
Introduction to computers
Introduction to computer programming
Chapter 1 -introduction_to_computers csc
1 introduction-to-computer
Computer Hardware
Computer Programming- Lecture 4
C101 – Intro to Programming with C
Introduction to computer hardware
Introduction to Computers
Components of a computer system
Ad

Similar to 2 memory-and-io-devices (20)

PPTX
Complete Computer Memory Information
PPTX
Computer Memory types and explanation with example
PPTX
Chap3 primary memory
PPTX
Memory and storage devices
PDF
Computer Memory
PPTX
Computer memory presentation
PDF
Memory hierarchy.pdf
PPTX
Memory System
PPT
PPTX
Memory
PPTX
Computer architecture bca 2nd semes.pptx
PPTX
Computer Memory.pptx with its types and storage
PPTX
Computer memory presentation
PPT
Computer Introduction-Lecture02
PPTX
computer memory and memory module
PPTX
IT ppt (computer memory and its types in detail)
PPTX
Memory Hierarchy
PDF
Soumenu Patra Presentation_Types of Memory.pdf
PPT
Memorydevices 110602031611-phpapp02
PDF
Detail explanation of memory organization
Complete Computer Memory Information
Computer Memory types and explanation with example
Chap3 primary memory
Memory and storage devices
Computer Memory
Computer memory presentation
Memory hierarchy.pdf
Memory System
Memory
Computer architecture bca 2nd semes.pptx
Computer Memory.pptx with its types and storage
Computer memory presentation
Computer Introduction-Lecture02
computer memory and memory module
IT ppt (computer memory and its types in detail)
Memory Hierarchy
Soumenu Patra Presentation_Types of Memory.pdf
Memorydevices 110602031611-phpapp02
Detail explanation of memory organization

More from Rohit Shrivastava (12)

PPTX
17 structure-and-union
PPTX
16 dynamic-memory-allocation
PPT
14 strings
PPT
11 functions
PPT
PPT
8 number-system
PPT
7 decision-control
PPT
6 operators-in-c
PPT
5 introduction-to-c
PPT
3 algorithm-and-flowchart
PPT
4 evolution-of-programming-languages
PPT
6 operators-in-c
17 structure-and-union
16 dynamic-memory-allocation
14 strings
11 functions
8 number-system
7 decision-control
6 operators-in-c
5 introduction-to-c
3 algorithm-and-flowchart
4 evolution-of-programming-languages
6 operators-in-c

Recently uploaded (20)

PDF
OR Royalties Inc. - Q2 2025 Results, August 6, 2025
PDF
Investor Presentation - Q2 FY 25 - 6 November 2024.pdf
PPTX
Chemistry.pptxjhghjgghgyughgyghhhvhbhghjbjb
PDF
Update on North Arrow Minerals and the Kraaipan Gold Project, Botswanaf
PPTX
CCA文凭办理|加利福尼亚艺术学院毕业证海牙认证网上可查学历文凭
PPTX
investment-opportunities-in-rajasthan.pptx
DOCX
The Future of Investment Advice in a Tokenized World.docx
PDF
North Arrow Minerals Corporate and Kraaipan Project Update
PPTX
North Arrow Corporate Update for August 5, 2025
PPTX
TTL1_LMS-Presenfdufgdfgdgduhfudftation.pptx
PDF
202507_Sansan presentation materials FY2024
PDF
Cyberagent_For New Investors_EN_250808.pdf
PDF
TIM Group - Results Presentation H1 '25.pdf
PDF
How to Analyze Market Trends in Precious Metal.pdf
PDF
Probe Gold Corporate Presentation Aug 2025 Final.pdf
PDF
OR Royalties Inc. - Corporate Presentation, August 2025
PPTX
The Future of Philanthropy - AI & Donor Engagement
PDF
Methanex Investor Presentation - July 2025
PPTX
HealthIllnessSociety.pptxjjjjjjjjjjjjjjjjj
PDF
Collective Mining | Corporate Presentation - August 2025
OR Royalties Inc. - Q2 2025 Results, August 6, 2025
Investor Presentation - Q2 FY 25 - 6 November 2024.pdf
Chemistry.pptxjhghjgghgyughgyghhhvhbhghjbjb
Update on North Arrow Minerals and the Kraaipan Gold Project, Botswanaf
CCA文凭办理|加利福尼亚艺术学院毕业证海牙认证网上可查学历文凭
investment-opportunities-in-rajasthan.pptx
The Future of Investment Advice in a Tokenized World.docx
North Arrow Minerals Corporate and Kraaipan Project Update
North Arrow Corporate Update for August 5, 2025
TTL1_LMS-Presenfdufgdfgdgduhfudftation.pptx
202507_Sansan presentation materials FY2024
Cyberagent_For New Investors_EN_250808.pdf
TIM Group - Results Presentation H1 '25.pdf
How to Analyze Market Trends in Precious Metal.pdf
Probe Gold Corporate Presentation Aug 2025 Final.pdf
OR Royalties Inc. - Corporate Presentation, August 2025
The Future of Philanthropy - AI & Donor Engagement
Methanex Investor Presentation - July 2025
HealthIllnessSociety.pptxjjjjjjjjjjjjjjjjj
Collective Mining | Corporate Presentation - August 2025

2 memory-and-io-devices

  • 2. Memory  The memory unit is an essential component in any digital computer since it is needed for storing programs and data  Not all accumulated information is needed by the CPU at the same time  Therefore, it is more economical to use low-cost storage devices to serve as a backup for storing the information that is not currently used by CPU  The memory unit that directly communicate with CPU is called the main memory or Primary Memory  Devices that provide backup storage are called auxiliary memory or Secondary Memory  The memory hierarchy system consists of all storage devices employed in a computer system from the slow by high-capacity auxiliary memory to a relatively faster main memory, to an even smaller and faster cache memory
  • 3. An Example Memory Hierarchy 08/23/15 3 registers on-chip L1 cache (SRAM) main memory (DRAM) local secondary storage (local disks) Larger, slower, and cheaper (per byte) storage devices remote secondary storage (tapes, distributed file systems, Web servers) Local disks hold files retrieved from disks on remote network servers. Main memory holds disk blocks retrieved from local disks. off-chip L2 cache (SRAM) L1 cache holds cache lines retrieved from the L2 cache memory. CPU registers hold words retrieved from L1 cache. L2 cache holds cache lines retrieved from main memory. L0: L1: L2: L3: L4: L5: Smaller, faster, and costlier (per byte) storage devices
  • 4. Memory  The main memory occupies a central position by being able to communicate directly with the CPU and with auxiliary memory devices through an I/O processor  A special very-high-speed memory called cache is used to increase the speed of processing by making current programs and data available to the CPU at a rapid rate
  • 5. Memory Hierarchy CPU logic is usually faster than main memory access time, due to this reason processing speed of CPU is limited primarily by the speed of main memory The cache is used for storing segments of programs currently being executed in the CPU and temporary data frequently needed in the present calculations The typical access time ratio between cache and main memory is about 1 to 7~10 Auxiliary memory access time is usually 1000 times greater than that of main memory
  • 6. Main Memory Most of the main memory in a general purpose computer is made up of RAM integrated circuits chips, but a portion of the memory may be constructed with ROM chips RAM– Random Access memory Static and Dynamic ROM– Read Only memory
  • 7. Types of RAM  Static RAM (SRAM) Each cell stores bit with a six-transistor circuit. Bit is stored in the form of voltage Retains value indefinitely, as long as it is kept powered. Relatively insensitive to disturbances such as electrical noise. Faster (8-16 times faster) and more expensive (8-16 times more expensice as well) than DRAM. Access time around 10 nanoseconds Used for cache memory  Dynamic RAM (DRAM) Each cell stores bit with a capacitor and transistor. Bit is stored in the form of charge Value must be refreshed every 10-100 ms. Sensitive to disturbances. Slower and cheaper than SRAM. Almost all computer has DRAM Access time 60 – 70 nanoseconds  Note: a nanosecond is one billionth of a second!
  • 8. Types of RAM Synchronous Dynamic Random Access Memory (SDRAM) • Quicker than DRAM • Access time less than 60 nanoseconds Direct Rambus Dynamic Random Access Memory (DRDRAM) • New type of RAM architecture • Access time 20 times faster than DRAM • More expensive Cache memory • Small amount of memory typically 256 or 512 kilobytes • Temporary store for often used instructions • Level 1 cache is built within the CPU (internal) • Level 2 cache may be on chip or nearby (external) • Faster for CPU to access than main memory 08/23/158
  • 9. Types of RAM Video Random Access memory • Holds data to be displayed on computer screen • Has two data paths allowing READ and WRITE to occur at the same time • A system’s amount of VRAM relates to the number of colours and resolution • A graphics card may have its own VRAM chip on board Virtual memory • Uses backing storage e.g. hard disk as a temporary location for programs and data where insufficient RAM available • Swaps programs and data between the hard-disk and RAM as the CPU requires them for processing • A cheap method of running large or many programs on a computer system • Cost is speed: the CPU can access RAM in nanoseconds but hard-disk in milliseconds (Note: a millisecond is a thousandth of a second) • Virtual memory is much slower than RAM 08/23/159
  • 11. ROM ROM is used for storing programs that are PERMANENTLY resident in the computer and for tables of constants that do not change in value once the production of the computer is completed The ROM portion of main memory is needed for storing an initial program called bootstrap loader, witch is to start the computer software operating when power is turned off ROM stores Bit in the form of Diode. Access time of between 10 and 50 nanoseconds
  • 12. Types of ROM 08/23/1512 1. PROM – Programmable ROM – a type of memory whose contents can be programmed by the user • OTP – One Time Programmable, a PROM is OTP if contents can be programmed only once. • Has polysilicon wires, arranged in matrix, works as diode or fuses. • Burning the fuses to program the ROM called “Burning the PROM” 2. EPROM –Erasable PROM-Can be programmed, erased and reprogrammed • The EPROM chip has a small window on top allowing it to be erased by shining ultra-violet light on it • After reprogramming the window is covered to prevent new contents being erased • Access time is around 45 – 90 nanoseconds Fig: EPROM with smallwindow
  • 13. Types of ROM 3. Electrically Erasable Programmable Read Only Memory (EEPROM) • Reprogrammed electrically without using ultraviolet light • Must be removed from the computer and placed in a special machine to do this • Access times between 45 and 200 nanoseconds 4. Flash ROM • Similar to EEPROM • However, can be reprogrammed while still in the computer • Easier to upgrade programs stored in Flash ROM • Used to store programs in devices e.g. modems • Access time is around 45 – 90 nanoseconds 5. ROM cartridges • Commonly used in games machines • Prevents software from being easily copied 08/23/1513 Fig: Flash Memory
  • 14. Secondary memory-Hard Disk Geometry  Disks consist of platters, each with two surfaces  Each surface consists of concentric rings called tracks  Each track consists of sectors separated by gaps spindle surface tracks track k sectors gaps
  • 15. Disk Geometry (Muliple-Platter View) Aligned tracks form a cylinder surface 0 surface 1 surface 2 surface 3 surface 4 surface 5 cylinder k spindle platter 0 platter 1 platter 2 Each Platter has two read write Head
  • 16. Disk Operation (Single-Platter View) The disk surface spins at a fixed rotational rate spindle By moving radially, arm can position read/write head over any track Read/write head is attached to end of the arm and flies over disk surface on thin cushion of air spindle
  • 19. • A standard computer keyboard has about 100 keys. • Most keyboards use the QWERTY layout, named for the first six keys in the top row of letters. The Keyboard - Standard Keyboard Layout Most keyboards have keys arranged in five groups: 1.Alphanumeric keys 2. Numeric keypad 3. Function keys 4.Modifier keys 5.Cursor-movement keys
  • 21. • The keyboard controller detects the keystroke. • The controller places a scan code in the keyboard buffer, indicating which key was pressed. • The keyboard sends the computer an interrupt request, telling the CPU to accept the keystroke. When you press a key: The Keyboard - How a Keyboard Works
  • 22. The Keyboard - How a Keyboard Works
  • 23. The Mouse - What is a Mouse? • The mouse is a pointing device. You use it to move a graphical pointer on the screen. • The mouse can be used to issue commands, draw, and perform other types of input tasks. 1. Pointing; Move the mouse to move the on-screen pointer. 2. Clicking; Press and release the left mouse button once. 3. Double-clicking; Press and release the left mouse button twice. 4. Dragging; Hold down the left mouse button as you move the pointer. 5. Right-clicking; Press and release the right mouse button. Mouse Techniques:Using the mouse involves five techniques:
  • 24. Variants of the Mouse • Trackballs • Trackpads • Integrated Pointed Devices
  • 25. Variants of the Mouse - Trackballs • A trackball is like a mouse turned upside-down. • Use your thumb to move the exposed ball and your fingers to press the buttons. Many styles of trackball are available.
  • 26. Variants of the Mouse - Trackpads • A trackpad is a touch-sensitive pad that provides the same functionality as a mouse. • To use a trackpad, you glide your finger across its surface. • Trackpads provide a set of buttons that function like mouse buttons.
  • 28. Variants of the Mouse- Integrated Pointing Devices • An integrated pointing device is a small joystick built into the keyboard. • To use an integrated pointing device, you move the joystick. • These devices provide a set of buttons that function like mouse buttons
  • 29. Devices for the Hand Pen based input Tablet PCs, PDA Pen used to write data Pen used as a pointer Handwriting recognition
  • 30. Devices for the hand 3B-30 Touch screens Sensors determine where finger points Sensors create an X,Y coordinate Usually presents a menu to users Found in cramped or dirty environments
  • 31. Devices for the hand Game controllers Enhances gaming experience Provide custom input to the game Joystick Game pad
  • 32. Optical Input Devices Allows the computer to see input Bar code readers Converts bar codes to numbers Computer find number in a database Works by reflecting light Amount of reflected light indicates number
  • 33. Optical Input Devices Image scanners Converts printed media into electronic Reflects light off of the image Sensors read the intensity Filters determine color depths
  • 34. Optical input devices Optical character recognition (OCR) Converts scanned text into editable text Each letter is scanned Letters are compared to known letters Best match is entered into document Rarely 100% accurate
  • 35. Audiovisual Input Devices Microphones Used to record speech Speech recognition “Understands” human speech Allows dictation or control of computer Matches spoken sound to known phonemes Enters best match into document
  • 36. Audiovisual Input Devices Digital cameras Captures images electronically No film is needed Image is stored as a JPG file Memory cards store the images Used in a variety of professions
  • 37. • Categories of Monitors • CRT Monitors • Flat-Panel Monitors • Comparing Monitors • Video Controllers
  • 38. Monitors - Categories of Monitors Monitors are categorized by the technology they use: • Cathode ray tube (CRT) monitors • Flat-panel displays • LCD • LED • Plasma And by the way they display colors: • Monochrome – One coloron a blackbackground • Grayscale – Shades of gray on a white oroff-white background • Color– From16 to 16 million unique colors
  • 39. Monitors - CRT Monitors • In CRT monitors, electrons are fired at phosphor dots on the screen. • The dots are grouped into pixels, which glow when struckby electrons. • In colorCRTs, each pixel contains a red, green, and blue dot. These glow at varying intensities to produce colorimages.
  • 41. Monitors - Flat-Panel Monitors • Most flat-panel monitors use liquid crystal display (LCD) technology. • TFT(Thin-film transistor)displays use multiple transistors foreach pixel. • Flat-panel monitors take up less desk space.
  • 42. Monitors - Comparing Monitors When comparing monitors, considerfour features: • Size • Resolution • Refresh rate • Dot pitch
  • 43. Comparing Monitors - Size • A monitor's size is the diagonal measurement of its face, in inches. • Early days, 15"monitors (13"viewing area) were standard. • Today, 17"monitors (15"viewing area) are common. • Largermonitors are available, but can be expensive.
  • 45. Comparing Monitors - Resolution • Resolution is the numberof pixels on the screen, expressed as a matrix (such as 600x800). • A 17"monitoroffers resolutions from 640x480 up to 1280x1024. • The Video Graphics Array (VGA) standard is 640x480. SuperVGA (SVGA) monitors provide resolutions of 800x600, 1024x768 orhigher.
  • 46. Comparing Monitors - Refresh Rate • Refresh rate is the numberof times each second that the electron guns scan the screen's pixels. • Refresh rate is measured in Hertz (Hz), or cycles persecond. • Lookfora refresh rate of 72 Hz orhigher. A slower rate may cause eyestrain.
  • 47. Fast scanning = Quickrefresh (less flicker)
  • 48. Comparing Monitors - Dot Pitch • Dot pitch is the distance between the phosphor dots that make up a single pixel. • In color monitors, three dots (red, green, and blue) comprise each pixel. • Look for a dot pitch no greater than 0.28 millimeter. Fine dot pitch = Crisp displays
  • 49. R + BB + G R + G R + B + G PhosphorDot ColorMixing
  • 50. PC Projectors • A PC projector connects to a PC and is used to project images on a large screen. • Many PC projectors provide the same resolutions and color levels as high-quality monitors. Printer •Dot Matrix •Inkjet •Laser

Editor's Notes

  • #30: Teaching tip Microsoft has a demonstration of the tablet PC pen based input. Point your browser to http://www.microsoft.com/windowsxp/tabletpc/evaluation/tours/default.mspx and follow the tours.
  • #31: Discussion point Discuss the information kiosks at local malls. Many offer limited Internet access. Have students discuss what could happen to the computers if the malls were to provide keyboards to the mall shoppers.
  • #32: Teaching tip Microsoft’s Force Feedback joysticks vibrate. In driving games, when the player hits another car, the joystick will vibrate.
  • #33: Insider information For more information on the UPC code and a searchable database, visit http://www.upcdatabase.com/. A working UPC is 071662000240, which represents a 24 count box of Crayola Crayons.
  • #34: Teaching tip Spend a few minutes here discussing computer screen colors. A good website to look at colors is http://www.radok.com/web-safe-colors_rgb.html. To demonstrate how computers generate color, use the custom color creator in Paint.
  • #35: Teaching tip Many companies ask for a plaintext resume. This is a resume, typed in Courier or other easy to read font, with no formatting. The intent is to allow the company to scan the resume for future searching. OCR technology makes this possible. For more information, see the website http://www.quintcareers.com/scannable_resumes.html.
  • #36: Insider information Two common products are IBM’s Via Voice and Scansoft Dragon NaturallySpeaking. More information for ViaVoice can be found at http://www-306.ibm.com/software/voice/viavoice/. More information regarding Dragon is located at http://www.scansoft.com/naturallyspeaking/.