Computer Architecture Flashcards Preview

Paper 2 - Computer Science > Computer Architecture > Flashcards

Flashcards in Computer Architecture Deck (24)
Loading flashcards...
1

What is the Stored Program Concept?

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

2

What's the function of the ALU and what does it stand for

The Arithmetic Logic Unit performs arithmetic and logical operations.

3

What are examples of functions the ALU performs?

Performs functions such as:
- Fixed and floating point arithmetic
- Logical operations (AND, OR, XOR)
- Shift operations
- ADD, DIVIDE, SUBTRACT, MULTIPLY

4

Where are the inputs from and the outputs of the ALU ?

Inputs are from the accumulator
Outputs are routed to one of the registers.

5

What is the function of the Control Unit?

-Directs data flow between the cpu and other devices
-fetches program instructions from memory, to decode them and to execute them serially.

6

What is the function of the system Clock?

The clock synchronises all computer operations by sending a signal to each of the computer components on a regular basis.

7

What is a register?

A register is fast temporary storage that exists in the processor or I/O controller.

8

What are the two types of registers?

General purpose and dedicated registers

9

What are General Purpose registers used for?

-Usually named R0-R15
-They are used to hold instructions and data temporarily.
-All arithmetic/logical/shift operations takes place in the general purpose registers

10

What are special purpose/dedicated registers used for, name the 6 main ones?

They are used by the processor to carry out a specific role.
- PC, Program Counter
- ACC, Accumulator
- MAR, Memory Address Register
- MBR, Memory Buffer Register
- CIR, Current register
- SR, Status Register

11

What is Von Neumann Architecture?

Is when both instructions and data are stored in the same memory and share the same buses

12

What is Harvard Architecture?

is when data and instructions are stored in seperate memories and are accessed using different buses

13

When is Von Neumann Architecture mostly used?

-Used for general use computers
-helpful for running a variety of programs simultaneously

14

When is Harvard Architecture mostly used?

Used in embedded systems and situations where the speed of an operation is important

15

Name the internal components of a computer system?

-Processor
- Main memory
- address bus, control bus, data bus
- I/O controllers

16

What is the role of the processor?

To execute program instructions in order to run applications

17

What does the processor contain?

The control unit, the ALU and registers

18

What is a bus?

A set of parallel wires connecting two or more components of a computer

19

What is an i/o controller?

-A device which receives input/output requests from the processor and sends device specific control signals to the device they control
-They manage data flow to and from the device

20

What are the 3 parts that make up a i/o controller

-An interface connecting the controller to the system bus
-A set of data/command/status registers
-An interface connecting the controller to the cable connecting the device to the computer

21

Give an example of an interface

A USB

22

What is an advantage of using Harvard architecture

Can be faster as data and instructions can be fetched in parallel instead of having to compete for the same bus

23

How many general purpose registers does a computer typically have?

16

24

What is the accumulator?

A general purpose register