4 - Topic 2 (Computer System)
4 - Topic 2 (Computer System)
4 - Topic 2 (Computer System)
Computer
Component
• Input Unit
• Storage Unit
• Arithmetic Unit
• Control Unit
• Output Unit
Image source
2
Block diagram of cpu | What is the between cpu and memory? | Computer architecture, Computer basic, Computer basics (pinterest.ph)
A computer device is made up of
various elements which help in its
effective functioning and processing.
There are five basic components of
the computer which help in making
this processing of data easier and
convenient.
3
4
Watch the following videos for more knowledge about
Computer components
INPUT
AND
OUTPUT
DEVICES
image source: http://notebooks.wpengine.netdna-cdn.com/wp-content/uploads/2013/10/shutterstock_133277192.jpg 6
How Computers Work: CPU, Memory, Input & Output
• What Is Input?
• Input is any data and
instructions entered into the
memory of a computer
10
11
KEYBOARDS
• An ergonomic keyboard has a design that reduces the chance of
repetitive strain injuries
• Ergonomics incorporates comfort, efficiency, and safety into the
design of the workplace
12
Page 292
Discovering Computers 2014: Chapter 7
Figure 7-4
POINTING DEVICES
13
POINTING DEVICES
• A mouse is a pointing device that fits under the palm of your hand
comfortably
• Optical mouse, laser mouse, and touch mouse
14
POINTING DEVICES
Pointing Stick
Trackball
small, flat, stick is a stationary
rectangular pressure- pointing device
pointing device sensitive pointing with a ball on its
that is sensitive device shaped top or side
to pressure and like a pencil
motion eraser that is
positioned
between keys on
a mobile
computer
keyboard
15
TOUCH SCREENS
16
PEN INPUT
• With pen input, you touch a stylus or digital pen on a flat surface
to write, draw, or make selections
17
PEN INPUT
18
MOTION INPUT
• With motion input, sometimes
called gesture recognition,
users can guide on-screen
elements using air gestures
19
VOICE INPUT
• Voice input is the process of
entering input by speaking into
a microphone
• Voice recognition, also called
speech recognition, is the
computer or mobile device’s
capability of distinguishing
spoken words 20
AUDIO INPUT
• Audio input is the process of
entering any sound into the
computer such as speech, music,
and sound effects
• Music production software allows
users to record, compose, mix,
and edit music and sounds
21
VIDEO INPUT
• Video input is the process of capturing full-motion images and storing them
on a computer or mobile device’s storage medium
Transfer video to a
computer or mobile
device 22
VIDEO INPUT
• A webcam is a type of DV camera that enables a user to:
Send email
Capture video Add live images to
messages with
and still images instant messages
video attachments
Broadcast live
Conduct
images over the Make video calls
videoconferences
Internet
23
VIDEO INPUT
• A videoconference is a meeting between two or more geographically
separated people
24
SCANNERS AND READING DEVICES
• A scanner is a light-sensing input device that reads printed text
and graphics and then translates the results into a form the
computer can process
• A flatbed scanner works in a manner similar to a copy machine except it
creates a file of the document in memory instead of a paper copy
25
SCANNERS AND READING DEVICES
26
SCANNERS AND READING DEVICES
27
OPTICAL MARK RECOGNITION (OMR)
30
SCANNERS AND READING DEVICES
• RFID (radio frequency identification) uses radio signals to communicate with a tag placed in
or attached to an object
• An RFID reader reads information on the tag via radio waves
• RFID can track: Tracking times of Tracking location
Checking lift Managing
runners in a of people and
tickets of skiers inventory
marathon other items
Gauging
Providing access
temperature and Checking out
to rooms or
pressure of tires library books
buildings
on a vehicle
31
SCANNERS AND READING DEVICES
• Magstripe readers read the magnetic stripe on the back of cards such as:
Credit cards
Entertainment cards
Bank cards
Identification cards
33
SCANNERS AND READING DEVICES
• A data collection device obtains data directly at the location where the
transaction or event takes place
34
WHAT IS OUTPUT?
35
DISPLAYS
• A display visually conveys text,
graphics, and video information
• Displays a softcopy form of output
• A monitor is a display that is
packaged as a separate peripheral
device
• LCD monitor
36
DISPLAYS
• Types of computer monitors
• CRT (cathode ray tube) monitors. These monitors
employ CRT technology, which was used most
commonly in the manufacturing of television
screens. ...
• LCD (liquid crystal display) monitors. The LCD
monitor incorporates one of the most advanced
technologies available today. ...
• LED (light-emitting diodes) monitors.
37
DISPLAYS
40
PRINTERS
• A printer produces
hardcopy output in text
and graphics on a physical
medium
• Before purchasing a
printer, ask yourself a
series of questions
41
PRINTERS
• A nonimpact printer forms characters and graphics on a piece of paper
without actually contacting the paper
Large-
Thermal Mobile
Plotters format
printers printers
printers
42
PRINTERS
• An ink-jet printer forms characters and graphics by spraying tiny
drops of liquid ink onto a piece of paper
• Color or black-and-white
• Speed is measured by the number of pages per minute (ppm) it can print
43
PRINTERS
45
4-DIMENSIONAL PRINTING
4-dimensional printing uses the
same techniques of 3D printing
through computer-programmed
deposition of material in
successive layers to create a
three-dimensional object.
However, 4D printing adds the
dimension of transformation over
time
46
PRINTERS
High-
speed
Color
47
PRINTERS
• An all-in-one printer is a single device that prints, scans, copies, and in some cases,
faxes
• Sometimes called a multifunction printer
48
PRINTERS
• A thermal printer generates images by pushing electrically heated pins against the heat-sensitive
paper
Dye-
sublimation
printer
49
PRINTERS
• A mobile printer is a small, lightweight, battery-powered printer that allows a mobile user to
print from a mobile device
50
PRINTERS
51
PRINTERS
52
PRINTERS
• Impact printers form characters and graphics on a
piece of paper by striking a mechanism against an inked
ribbon that physically contacts the paper
53
OTHER OUTPUT DEVICES
54
OTHER OUTPUT DEVICES
55
OTHER OUTPUT DEVICES
56
OTHER OUTPUT DEVICES
• An interactive whiteboard is a
touch-sensitive device, resembling
a dry-erase board, that displays
the image on a connected
computer screen
57
OTHER OUTPUT DEVICES
• Joysticks, wheels, gamepads, and motion-sensing game controllers can be considered output devices
when they include force feedback
• Technology that sends resistance to the device in response to actions of the user
58
Discovering Computers 2014: Chapter 7
ASSISTIVE TECHNOLOGY INPUT AND OUTPUT
•Mobility aids, such as wheelchairs, scooters, walkers,
Head-mounted pointer canes, crutches, prosthetic devices, and orthotic devices.
•Hearing aids to help people hear or hear more clearly.
59
Braille Keyboard for the Blind and Visually
Impaired is a braille keyboard designed for
use by individuals who are blind or have
low vision.
60
Braille printer
SYSTEM UNIT
AND
CPU
63
SYSTEM UNIT
64
Image source: https://news-cdn.softpedia.com/images/news2/Quad-Core-Sandy-Bridge-CPUs-Power-New-Dell-Vostro-460-Desktop-for-
SMBs-2.jpg
https://www.bing.com/images/search?view=detailV2&ccid=BGdAnuOg&id=AECEC30282DBD1F9744F2EC790B5E1A7763
SYSTEM UNIT
• A system unit is the part of a computer that houses the primary devices
that perform operations and produce results for complex calculations
• The storage devices, input devices, output devices, communication devices,
connection devices, as well as the processing devices are the part of a
system unit
• The term system unit is generally used to differentiate between
the computer itself and its peripheral devices, such as the keyboard, mouse
and monitor.
• It also includes several electronic components and circuits that are
connected to each other in order to perform the successful operations like,
monitor, printer, scanner, Web cam, speakers, and many other peripheral
devices. 65
Inside the System unit
66
Inside the System unit
67
CPU
• The term CPU refers to the Central Processing Unit, a small
component of the system unit. This is also known as the
processor or the microprocessor.
• All the instruction are carried to the processor and the job of
the processor is to process them and to fulfill them. These
instructions are carried to the processor in the forms of the
signals. Then the processor reads them and passes the signals to
the desired component. When this process completes the result
68
is shown on the screen of the computer.
CPU Click the link [URLl] below to watch the video and
understand more about the processor
70
Processors
• The processor, also called the
central processing unit (CPU),
interprets and carries out the basic
instructions that operate a computer
– Contain a control unit and an
arithmetic logic unit (ALU)
• A multi-core processor is a single
chip with two or more separate
processor cores
71
The control unit is the
component of the
processor that directs
and coordinates most of
the operations in the
computer
The arithmetic logic
unit (ALU) performs
arithmetic, comparison,
and other operations
72
ALU performs all mathematical calculation, and logical operations
Three basic logical operations
• Logical product operation (AND operation)
• Logical sum operation (OR operation)
• Negation operation (NOT operation)
73
PROCESSOR ARCHITECTURE
Logical operations
74
PROPOSITIONAL LOGIC
p ¬p
T F p q Not p
F T T T F
T F F
F T T
F F T
LOGICAL OPERATION
p q p٨q
T T T
T F F
F T F
F F F
LOGICAL OPERATION
p q p۷q
T T T
T F T
F T T
F F F
LOGICAL OPERATION
p q p q
T T F
T F T
F T T
F F F
LOGICAL OPERATION
84
Processors
The processor contains registers, that
temporarily hold data and instructions
86
Processor Performance
Processor Speed
• Instruction speeds measured in fractions of seconds
▪ Millisecond: one thousandth of a second
▪ Microsecond: one millionth of a second
▪ Nanosecond: one billionth of a second
▪ Picosecond: one trillionth of a second
87
Processor Performance
88
Processor Performance
Processor Speed
• Measure of system clock speed
▪ How many electronic pulses the clock produces per second
▪ Usually expressed in gigahertz (GHz)
• Billions of machine cycles per second
1KHz = 103Hz
1MHz = 106Hz
1GHz = 109Hz
1THz=1012Hz 89
Processor Performance
Processor Speed
• Measure of system clock speed
What is the performance of a processor with a clock frequency of 500 MHz?
91
Processor Performance
Processor Speed
92
Processor Performance
93
Processor Performance
Solution: Let’s have a recap first of the ff.
500 MHZ = 500 x10 6Hz = 500,000,000 Hz (pulses per seconds)
What is the average instruction speed? (How fast it could perform 1 clock pulse?)
How?
1. Note the given the processor can execute 5 million of instructions per second. How fast it
could perform one clock pulse where the given unit is pulses/second.
2. So, let’s find the inverse or reciprocal of the units to find its equiv. in sec/pulse
1 ms = 10-3 s
1 microsecond = 10-6s
1 ns = 10-9s
1 ps =10-12s
95
Processor Performance
Example 2:
A processor can perform 25 MIPS. How many nanoseconds is the average
instruction execution times of this processor to perform instruction per second?
Given is 25 million instructions per second which is 25,000,000 instructions per second
How much time the processor can execute 1 instruction in nanoseconds?
= 1
25,000,000 instruction/second
= 5,000,000 or 5 MIPS
97
Processor Performance
Example 4: What is the average instruction execution
time in ns of 50 MIPS processors?
98
Memory
• Memory consists of electronic components that
store instructions waiting to be executed by the
processor, data needed by those instructions, and
the results of processing the data
• Stores three basic categories of items:
Data being
The operating
processed and the
system and other Applications
resulting
programs
information
99
Memory
• The system unit contains two types of memory:
Examples include
Example includes RAM ROM, flash memory,
and CMOS
100
Memory
• RAM chips usually reside on a memory module
and are inserted into memory slots
Classified as:
- Mask ROM (Programs and data are already written before it is
shipped by the manufacturer. The user cannot add any
program or data.)
- User Programmable ROM (Nothing stored in it and user
can write data into it once.)
104
Types of User Programmable ROM:
• PROM (Programmable ROM)
- Once data has been written, it cannot be erased
• EPROM (Erasable PROM)
- It can be erased with ultraviolet light and rewritten
• EEPROM (Electrically Erasable ROM)
- It can be erased through the application of electrical voltage and
rewritten. It is used in storage medium called flash memory and in
the storage section of IC cards.
105
ADAPTERS
• An adapter card enhances functions
of a component of a desktop or
server system unit and/or provides
connections to peripherals
• Sound card and graphics card
106
ADAPTERS
• With Plug and Play, the
computer automatically
can recognize peripheral
devices as you install
them
107
COMPUTER PORTS
109
SOUNDCARD
110
LAPTOP CONNECTORS
USB Type-A
Ethernet
Thunderbolt 3 Audio Jack
Also Known As: Thunderbolt
USB Type-B
112
References:
Book
Shelly, Garey B., et.al. (2018).Discovering Computers 2018. Cengage Learning
YouTube Video
GCFLearFree.org. (2020, September 3). Computer Basics: Inside a Computer [Video].YouTube.
https://youtu.be/HB4I2CgkcCo?list=PL4316FC411AD077AA
Code.org. (2018, January 30). How Computers Work: Hardware and Software [Video].YouTube.
https://youtu.be/xnyFYiK2rSY
Code.org. (2018, January 30). How Computers Work: CPU, Memory, Input & Output [Video].YouTube.
https://youtu.be/DKGZlaPlVLY
113