Theory: Computer Architecture Flashcards

1
Q

What is the role of the processor?

A

To execute program instructions in order to run applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Name two types of main memory

A

-Random access memory (RAM)
-Read only memory (ROM)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which is usually faster: main memory or secondary storage?

A

Main memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Name two types of information that may be held in main memory

A

-Program instructions
-Frequently used data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is meant by a bus?

A

A series of parrallel wires that connects internal components of a computer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which bus is used to transport memory addresses?

A

Address bus

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which bus is used to send information to and from different components?

A

Data bus

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How many parallel wires does the address bus have?

A

8

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

An address bus with n parallel wires can allow how many addressable memory locations?

A

2^n

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What effect does increasing the width of the data bus have?

A

Increases the volume of data that can be transferred at any one time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the role of the control bus?

A

Carries control signals, including the system clock which regulates the operation of the computer system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the name given to hardware that controls the communication of data between the processor and external hardware devices?

A

I/O controllers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Describe the main difference between Harvard and Von Neumann architecture.

A

Von Neumann consists of shared memory for instructions and data, Whereas Harvard architecture has them seperate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the drawback of Von Neumann architecture?

A

An instruction fetch and data operation cannot occur at the same time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Is RAM or ROM volatile or non volatile

A

RAM is volatile
ROM is non volatile

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is meant by the stored program concept?

A

Machine code instructions stored in main memory are fetched and executed serially by a processor that performs arithmetic and logical operations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is an advantage of using the stored program concept?

A

Allows one computer to run several different programs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

When using the stored program concept, what two things could the contents of a memory location be interpreted as?

A
  1. Instructions
  2. Data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Which type of architecture is extensively used in embedded systems?

A

Harvard architecture

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Which type of architecture is used in general purpose computer systems?

A

von Neumann

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Name the two architectures on which stored program computers can be based.

A

Harvard architecture, von Neumann architecture

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Which type of register is the status register: general purpose or special purpose?

A

Special purpose

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Which of the following is not found within the processor? Control unit, Main memory, Buses

A

Main memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

For what do the letters ALU stand

A

Arithmetic Logic unit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What effect does increasing the width of the address bus have?
Increases the computers amount of addressable memory
26
Which register hold the instruction that is currently being executed by the processor?
Current instruction register
27
What is cache?
A small portion of fast memory used to store frequently used information in the processor
28
What name is given to small storage locations used to hold data temporarily in the processor?
Registers
29
What is meant by this assembly language instruction? STR R3, 33
Store the value in register 3 into memory location 33
30
Which register holds the contents of the memory location that has been read from or data that is to be stored?
Memory buffer register
31
Which part of a computer’s processor generates signals at a regular frequency?
Internal clock
32
Which special purpose register is abbreviated as MAR?
Memory Address Register
33
What name is given to the data to be used in an instruction: opcode or operand?
Operand
34
Form an assembly language instruction that would mean: “Add the value in register 4 to the value in register 5 and store the result in register 3”
ADD R3, R4, R5
35
In which stage of the fetch decode execute cycle is the program counter incremented?
Fetch
36
Between which two stages of the fetch decode execute cycle is the status register checked?
Execute and fetch
37
What name is given to the group of instructions that a processor can carry out?
Instruction set
38
In which addressing mode does the value specified by an operand signify a memory address?
Direct addressing
39
Name two parts of a barcode reader
Laser, lens, photodiodes, mirror
40
Which parts of a laser printer heat the paper, fixing the toner to the page?
Fusers
41
What is a bayer filter?
A bayer filter is a colour filter array (CFA) for arranging RGB color filters on a square grid of photosensors
42
Where is the Bayer filter used?
used in most single chip (CCD or CMOS) digital image sensors used in digital cameras, camcorders and scanners to create a colour image.
43
Define CCD and CMOS
Charge coupled device, complementary metal oxide semiconductor. Two different technologies for capturing images digitally
44
What is the difference between CCD and CMOS ?
CMOS faster than CCD. CCD allows for higher video frame rates. CMOS imagers provide higher dynamic range and require less current and voltage to operate.
45
Why is a bayer filter used?
allows photosensors, which normally only record light intensity, to record light wavelength as well.
46
What does a bayer filter look like? Draw it
47
Which technology is used for transferring information wirelessly between a tag and a reader?
Radio frequency identification (RFID)
48
What is RFID?
a technology that uses radio waves to passively identify a tagged object
49
What type of diagrams, consisting of light and dark portions, contains information that can be read by a computer?
Barcodes
50
What type of diagrams consisting of light and dark portions contain information that can be read by a computer?
Barcodes
51
Which type of RFID tag can be read from many metres away?
Active
52
What is the difference between active and passive RFID tags?
Where a passive tag has no internal power source and obtains its operating power from the radio frequency energy transmitted by the RFID reader, active RFID tags come equipped with its own battery and internal transmitter in the form of a beacon or transponder, typically allowing data to be rewritten and modified.
53
In a hard-disk drive, what is mounted at the end of an actuating arm?
The read/write head
54
What is an actuating arm?
The access arm is in every mechanical hard drive with a similar to the arm of a record player. As the platter spins, the access arm adjusts along the axis point to move the read/write heads to read/write/delete information
55
Which form of secondary storage is best suited for use in phones and tablets?
Solid-state drives (SSDs)
56
Give the three types of secondary storage device with example.
-Magnetic storage devices, hard disk drives -optical storage devices, CD, DVD, Blu-ray disks -solid state storage devices, solid state drives and USB memory sticks
57
Which form of secondary storage typically comes in capacities between 500 GB and 5TB?
Hard disk drives (HDD)
58
Name one way of increasing the capacity of a hard disk drive without altering its overall size
1. Adding more platters 2. Decreasing the width of tracks
59
What are tracks in hdd?
-The data is stored on the disk in thin concentric bands called tracks. -There can be more than a thousand tracks on a 3 1/2 inch hard disk. -Tracks are a logical rather than a physical structure -Are established when the disk is low level formatted
60
What is a platter in hdd?
One or more aluminium, glass or ceramic disk coated in a magnetic media located within the hard drive
61
Which part of a digital camera regulates the path of light
62
Define a bus
A bus is a communication system that transfers data between components inside a computer, or between computers A set of parallel wires that connect together components in the CPU in order to pass signals between them
63
What advantages does Harvard architecture have over Von Neumann architecture? What is it used for?
-higher performance, faster -internal processor structure for caching Microprocessors, embedded devices/systems, microcontrollers
64
Stored program concept WHAT IS IT??
-Instructions or programs are stored with data in main memory// RAM -Program is run by fetching decoding and executing instructions from main memory in sequence. -Program can be replaced by loading another program into main memory. -contents of a main memory location can be interpreted as either and instruction or data
65
Name four system hardware decisions that affect the performance of the processor: plus effects.
-multiple cores -cache memory -faster clock speed -bus speed/size -heat dissipation
66
Name an Assembly instruction and what it does:
ADD SUB DIV LSR LSL LDR LDA BNE CMO
67
What is ROM, give an example:
-Read only memory -can’t be written to -bootstrap loader, loads bios
68
Name one of the technological factors to consider when selecting a mainboard:
-number of RAM ports -CPU compatibility -I/O
69
Name two of the three system busses
-address bus -control bus -data bus
70
Give one difference between Harvard and Von Neumann architecture
harvard architecture stores instructions and data seperately whereas von neumann stores instructions and data in the same memory space.
71
Name two registers
-CIR -MDR -MAR -PC -ACC -GPR
72
What does the program counter do?
Stores the memory address of the next instruction to be executed
73
What is the difference between direct and immediate addressing modes?
Direct addressing modes contain the memory address of the data being used, whereas immediate addressing modes contain the data being used -# is used to show immediate
74
Explain parity checks
Parity checks contain a bit that indicates whether the number of ones is odd or even
75
BNE, what does it do?
‘Branch not equal’, checks if two values are equal and branches depending on if they are equal or not.
76
Explain how the width and speed of a data bus can affect performance
77
What is stored in cache?
Frequently used instructions and data
78
CMP, what does it do?
Compares two values
79
Name and explain a factor that can affect CPU performance
-multiple cores -clock speed -bus width/speed -heat dissipation
80
Explain the three levels of cache and what they are used for
Level 1: smallest, but fastest. Split into instructions and data cache. Level 2: more spacious than level 1 cache, but slower as it is further away than L1 Level 3: more spacious, again slower. Specific memory dedicated to improving the performance of L1 and L2
81
Role of ALU
simple arithmetic and logic operations
82
Role of Control Unit
Controlls the various components of the processor. Controls fetch execute cycle
83
Role of registers
Small storage locations that hold data temporarily, high read and write speeds
84
What are general purpose registers?
Used as storage for any data that is required by instructions during execution
85
What are special purpose registers?
Assigned to the storage of specific information
86
List the registers:
-program counter -current instruction register -memory address register -memory buffer register -status register
87
What does the program counter do?
Holds the memory address of the next instruction
88
What does current instruction register do?
Holds the instruction currently being executed by the processor
89
What does the memory address register do?
Stores the memory address of a memory location to be read from or written to
90
What does the memory buffer register do?
(Also called memory data register) holds the contents of a memory location that has been read from or data that is to be stored.
91
What does the status register do?
Contains a number of bits which change to indicate an interrupt
92
What is the system clock used for?
A timing signal that changes at regular frequencies. Synchronises the communication between components of the processor and the rest of the computer system.
93
What are the four different types of barcode scanner?
-pen style reader -laser reader -CCD reader -camera based readers
94
What is the disadvantage of CCD sensors in cameras?
-bulkier -uses up to 100 times more power than CMOS
95
What is an advantage and disadvantage of CMOS?
-not as bulky -uses much less power than CCD -lower quality images
96
How are coloured pictures captured?
-sensors (like ccd or cmos) are placed behind a colour filter
97
Describe two methods of coloured image capturing
-incoming light is split into three separate parts and each is passed through a red blue and green filter, higher quality images but bulky -a mosaic of red, blue and green filters is placed in front of the sensor. Software makes approximations for each pixel based on values of surrounding pixels. Produces approximate, but still accurate inages. More compact.
98
Describe the parts of a laser printer
-powdered ink (toner) stored in hoppers -negatively charged drum -laser
99
Describe the process of a laser printer
-a bitmap image is generated of the image -the laser draws a mirrored negative version of the image onto the drum as it turns -the areas that the laser hits of the negatively charged drum, lose their negative charge -the drum rotates past the toner hoppers -charged toner is attracted to non-lasered areas of the drum. -toner particles are then bound to the paper using heat and pressure as the drum rotates over it.
100
What is a disadvantage of a laser printer?
-Printed image will not be photorealistic -the process would need to be repeated 4 times for a colour image, for cyan magenta yellow and black toner.
101
What is a disadvantage of active RFID tags?
Must be much larger to accommodate for battery