Computer science Flashcards

1
Q

What is the purpose of the program counter (PC)?

A

It holds the address of the instruction the CPU will execute next

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

What is the purpose of the current instruction register (CIR)?

A

It holds the address of the instruction the CPU is executing now

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

What is the purpose of the memory address register (MAR)?

A

It holds the address of the instruction that will be fetched from the main memory or the address in the main memory the data will be transferred to

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

What is the purpose of the accumulator (ACC)?

A

It holds the results of calculations

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

What is the purpose of the memory data register (MDR)?

A

It holds data that is being transferred to or from memory​

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

What is the purpose of the arithmetic logic unit (ALU)?

A

It performs arithmetic calculations, logical operations and logical shifts (halving or doubling)

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

What is the purpose of the cache?

A

It is a form of memory the CPU can access quickly, holding frequently used instructions and data.

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

What is a register?

A

A high-speed, tiny, expensive component of the CPU with a specific, set purpose.

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

What 4 things does a Von Neumann architecture consist of?

A

Control unit, arithmetic logic unit, memory, and inputs and outputs.

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

What is an embedded system?

A

A computer system that has one dedicated function and is within a larger mechanical system.

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

What is a general purpose system?

A

An overall system with many different functions and purposes.

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

What are some advantages of using an embedded system?

A

Embedded systems are faster at what they do, cheaper and more energy efficient.

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

What are some advantages of using a general purpose system?

A

General purpose systems can do many things, run many different programs.

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

What are some disadvantages of using an embedded system?

A

Embedded systems only have one function.

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

What are some disadvantages of using a general purpose system?

A

General purpose systems are more expensive, less energy efficient and more expensive.

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