System Architecture And Data Representation Flashcards

(11 cards)

1
Q

What is the purpose of the CPU?

A

The CPU (Central Processing Unit) carries out instructions from programs by performing basic arithmetic, logic, control, and input/output operations.

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

What is the Von Neumann architecture?

A

A computer architecture model where the same memory and data bus are used for both data and instructions.

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

What does MAR stand for and what is its function?

A

MAR stands for Memory Address Register. It holds the memory address of the data or instruction that needs to be accessed.

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

What is the function of the MDR (Memory Data Register)?

A

MDR temporarily 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
5
Q

What does the Program Counter do?

A

It holds the address of the next instruction to be executed.

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

What is the role of the Accumulator?

A

It stores intermediate arithmetic and logic results in the CPU.

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

What are the functions of the ALU, CU, and Cache?

A

• ALU (Arithmetic Logic Unit): Performs arithmetic and logical operations.
• CU (Control Unit): Directs operations of the processor.
• Cache: Small, fast memory that stores frequently accessed data.

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

What happens during the fetch-decode-execute cycle?

A
  1. Fetch:
    • PC → address of next instruction
    • MAR → gets that address
    • RAM → sends instruction to MDR
    • CIR → holds the instruction
    • PC is updated (incremented)
  2. Decode:
    • CIR → instruction decoded by Control Unit
    • Finds out what needs to be done
  3. Execute:
    • ALU or CU runs the instruction
    • May use Accumulator for results
    • Data may be read/written using MDR
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How do CPU characteristics affect performance? (Clock speed,cache size, number of cores)

A

• Clock speed: Higher speed means more instructions per second.
• Cache size: Larger cache allows more data to be stored close to the CPU.
• Number of cores: More cores allow multiple tasks to run simultaneously.

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 with a dedicated function within a larger device, like a washing machine or microwave.

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

Give examples of embedded systems.

A

Digital cameras, washing machines, microwaves, fitness trackers.

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