Module 1: Introduction Flashcards

1
Q

CPU (Central Processing Unit)

A

the “overworked clerk” performs simple tasks
add/sub/mult/div
task to perform = instruction

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

Memory

A

clerk’s “desk drawers”

Each drawer has a number, also known as an address

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

Program Memory

A

contains instructions for clerk

tells clerk what to do

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

Data Memory

A

contains data for clerk to work on

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

Program Counter (PC)

A

tells the clerk which program memory drawer to open up and execute

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

Basic Operations of a CPU

A

PC tells clerk what drawer to open (fetching)
Clerk examines the instruction and performs (decoding and execution)
Stores result of instruction in data memory drawer (optional)
Updates the PC
Repeats process until instructions are complete (instructions = program)

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

4 basic parts of a CPU

A

ALU
PC
Memory for data
Memory for instruction

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