Computer Architecture Flashcards

1
Q

What does a basic computer system consist of?

A

CPU, System clock, RAM, HDD, Input/output devices, Bus

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

What does the CPU do?

A

Executes instructions, controls data transfer across the bus

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

What are the 3 main parts of the CPU?

A

Control Unit, ALU, Registers

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

Function of the control unit?

A

CU directs the execution of instructions

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

Function of the ALU?

A

Performs arithmetic and logical instructions on data stored in registers

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

Function of registers?

A

Binary storage units within the CPU

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

What is the PC(Program Counter)?

A

Contains the address of the currently executing instruction in memory

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

What is the SR(Status Register)?

A

Contains information(flags) about the result of a previous instruction

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

What is the purpose of the system clock?

A

to synchronize the CPU and other clocked devices through a signal

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

The bus

A

Used to transfer data between computer components.
Subdivided into address, data, and control buses.

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

Secondary Memory

A

HDD. Holds a computer’s file system. Non-volatile read/write memory.

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

Only which instructions can access RAM?

A

Load and Store instructions

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

RISC architecture

A

Uses only simple instructions that can be executed in one machine cycle. Enables faster clock rates

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

CISC architecture

A

May have instructions that take multiple cycles to execute. Machine instructions vary in length

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

Steps of the instruction cycle(fetch-decode-execute)

A

Fetch next instruction from RAM
increment PC
Decode instruction
Execute instruction
Store result

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

(T/F) Assembly language instructions are stored sequentially in memory

A

True

17
Q

What is the purpose of Assemblers

A

Translate assembly source code into machine code

18
Q

Accumulator machine

A
  1. Operands for an instruction come from the ACC or a single point in RAM
  2. ALU results are always put in the ACC
  3. The ACC can be loaded from or stored to RAM