WEEK 2- CPU Flashcards

1
Q

What is a central processing unit (CPU)?

A

Fundamental component of every computer system, which executes all the tasks required by a computer system.

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

Why is a central processing unit ‘central’?

A

All actions of the computer system are initiated by the CPU.

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

What is the general role of the computer’s central processing unit?

A

Every task carried out by a computer is done by the CPU performing a sequence
of ‘simple’ machine language instructions.

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

What language is actually ‘understood’ by a computer’s CPU?

A

Different CPUs may have different machine languages.
A program written in the machine language of one type of CPU will probably not
work on a system with a different type of CPU.

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

What are the main internal hardware components of a typical CPU?

A

A Control Unit

A arithmietic/logic unit (ALU)

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

What is the role of the instruction register of a CPU?

A

This register stores the binary word that represents the single machine language
instruction that the CPU is currently executing.

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

What is the role of the program counter register of a CPU?

A

This register stores the binary word that represents the ADDRESS in main
memory of the current or next machine language instruction in the program being
executed

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

What is the role of the status register(s) of a CPU?

A

This register stores information about the status of various devices on the
systems and about the outcomes of various operations carried out by the CPU.

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

What is the role of the general purpose registers of a CPU?

A

Store binary words that represent data values, and can manipulated according to machine instructions obeyed by CPU.

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

What is a CPU’s machine cycle?

A

During the machine cycle the CPU gets machine instructions from the system’s
main memory and carries out the instructions.

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

What are the stages in a CPU’s machine cycle?

A

Fetch- (read the program counter and put the instruction in the instruction register)
Interpret- (read from the instruction register)
Execute- (do the task in the instruction register)
Increment- (modify the program counter)

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

What is an ALU?

A

arithmetic/logic unit- Performs arithmetic and logical manipulation of the contents of binary words.

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

What controls the speed of the machine cycle?

A

Electronic timing device called a ‘clock’ which produces a constant frequency of pulses.

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

What is a clock speed of

a) . 1 Megahertz (1MHz)
b) . 1 Gigahertz (1GHz)

A

a) . 1,000,000 beats per second

b) . 1,000,000,000 beats per second

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