Computer Science Notes: Computer Architecture & Fetch-Execute Cycle
Computer Science Notes: Computer Architecture & Fetch-Execute Cycle
Computer Science Notes: Computer Architecture & Fetch-Execute Cycle
Notes
Chapter 3
Computer Architecture & Fetch-Execute Cycle
● Computer Architecture
○ Address bus – unidirectional
○ Data bus – bidirectional
○ Control bus – unidirectional and bi-directional
❖ Types of Registers:
➢ Memory Address Register (MAR)
➢ Memory Data Register (MDR)
➢ Arithmetic & Logic Unit (ALU)
➢ Program Counter (PC)
➢ Current Instruction Register (CIR) Commented [2]: Definitions of each.
❖ Keyboard
➢ Advantages
■ Simple to use
■ If trained to type fast, then very efficient
device.
➢ Disadvantages
■ Easy to make mistake
■ If not trained, then person can be very slow.
➢ A concept keyboard is generally a flat surface
with a grid of buttons on it. Each button is used to
do a different task. For Eg- ‘✓’ can be used to
order a burger, and ‘✕’ can be used to order a
pizza.
■ Used where functionality is limited. For eg -
Restaurant.
❖ Mouse
➢ Used to control pointer or a cursor on a screen.
➢ Types of mouses-
■ Trackball
●
● Used in same way as a mouse.
● Useful where desk space is limited.
● User rotates ball while the body part
stays still.
● Has buttons like a standard mouse.
● Often used in CAD (Mainly 3D
Design) for increased precision
(compared to a mouse).
■ Foot Mouse
■
■ Same as Trackball, but adapted for those
who have limited hand movement (or
differently-abled users)
➢ Advantages
■ Simple to use
■ Efficient
➢ Disadvantages
■ Needs a flat surface
■ Limited space can restrict the user
■ Dirt clogging can damage/ stop the mouse
from working.
❖ Scanners
➢ 2D Scanner
➢
■ Used to scan a flat physical document (2D
such as paper), then convert it to a digital
format which can be used on a computer.
■ Works by shining light on the surface of the
document, after which the reflected light is
captured by a light-sensitive device using
mirrors and lenses.
■ 2D scanners can be used differently by
different softwares, which use the captured
image by the scanner-
● OCR (Optical Character Recognition
◆Text is converted to a text file, by
an OCR software, so that it can be
edited.
●
◆The OMR software notes where
marks have been made on the
OMR sheet (like above image).
■ Advantages
● High Quality
● Can be edited
● Digital Document could be attached to
emails.
■ Disadvantages
● Use a lot of memory space.
● High quality, but not as good as
original.
● If quality of document is bad, then the
scanned image’s will be worse.
➢ 3D Scanner
■
■ Used to produce a 3D model of a 3D object
■ Scans a 3D object by using a laser or a light
source. It measures and inputs the geometry
of an object in the computer and create a
model of it.
■ The created model when used with a 3D
printer, could be replicated as a physical
model.
■ They are nowadays used as security measure
in airports.