Lecture 1 Flashcards

1
Q

What are the steps of processing a program for the CPU?

A

Fetch: Retrieve an instruction from program memory
Decode: Break down the instruction into parts that have significance to specific sections of the CPU
Execute: Various portions of the CPU are connected to perform the desired operation
Write Back: Simply “writes back” the results of the execute step if necessary

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

What are processor (CPU) made of?

A
  • Control Unit
  • Execution Unit
  • Register file
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the job of the control unit?

A

It controls the execution of the instructions stored in the main memory. Fetch unit, decode unit and execute unit

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

What is the job of the Program Counter (PC)?

A

Keeps the address of the next instruction

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

What is the job of the Instruction Register (IR)?

A

Keeps the instruction being executed

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

What are the two hierarchies of memory?

A

Nonvolatile and volatile

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

What is nonvolatile memory?

A
  • Does not lose its data stored when the system shuts down
  • Does take long to fetch and store data (still fast), has higher memory capacity than volatile memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is volatile memory?

A

Primary memory e.g. Cache and Random Access Memory

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

What are the 3 types of primary storage?

A

Processor Registers, Cache memory and RAM

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

What does the Processors Register do?

A

Contains information that CPU needs to carry out the current instruction (Small amount and FAST)

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

What does the Cache memory do?

A

Special type of internal memory used by many CPUs to increase their performance or “throughput”(Medium amount, medium fast)

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

What is the job of the RAM?

A

Contains the programs that are currently being run and the data the programs are operating on (Large amount, slow)

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

What is the width of address?

A

Limits the amount of memory that a computer can access (64-bit is common)

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

What does the I/O subsystem contain?

A

The devices that the computer uses to communicate with the outside world and to store data

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