3.1 Computer Structure Flashcards

1
Q

What is the role of the CPU in a computer?

A

The CPU processes instructions and data that are input into the computer so the result can be output.

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

What is a microprocessor?

A

A microprocessor is a type of integrated circuit on a single chip.

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

What are the components of a CPU in a Von Neumann architecture?

A
  • Arithmetic and Logic Unit (ALU)
  • Control Unit (CU)
  • Registers
  • System Clock
  • System Buses
  • Memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the function of the Arithmetic and Logic Unit (ALU)?

A
  • The ALU allows arithmetic operations (e.g., +, −) and logic operations (e.g., AND, OR) to be carried out.
  • It also performs multiplication and division using shifting operators.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the function of the Control Unit (CU)?

A
  • Reads instructions from memory.
  • Generates signals during the Fetch-Decode-Execute cycle to control computer components.
  • Synchronizes data flow and program instructions.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are registers, and what do they store?

A

Registers are high-speed areas of memory within the CPU used to store:

  • Small amounts of data.
  • The address of the next instruction.
  • The current instruction is being decoded.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Name the types of registers in a CPU.

A
  • Current Instruction Register (CIR)
  • Accumulator (ACC)
  • Memory Address Register (MAR)
  • Memory Data/Buffer Register (MDR)
  • Program Counter (PC)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the purpose of the System Clock in a CPU?

A
  • The system clock produces timing signals to synchronize functions.
  • Changing the clock speed can improve performance but risks overclocking, which may cause overheating and crash the computer.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are system buses, and how do they function?

A

System buses transfer data and control signals in the computer.

Types:

  • Address bus (unidirectional) - Carries addresses
  • Data bus (bidirectional) - Transfers data
  • Control bus (bidirectional) - Carries control signals
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What determines the word size and performance of a computer?

A

The width of the data bus and address bus.

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

What is the function of RAM and ROM in primary memory?

A
  • RAM holds data, programs, and the operating system in use.
  • ROM contains start-up routines and cannot be altered.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Describe the process of the Fetch-Decode-Execute cycle.

A
  • PC contains the address of the next instruction.
  • The address is copied to the MAR via the address bus.
  • Instruction is copied to the MDR.
  • Instruction in the MDR is moved to the CIR.
  • PC is incremented by 1.
  • Instruction is decoded and executed.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How does the clock affect CPU performance?

A

A faster clock speed increases processing speed but may risk overheating due to overclocking.

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

How do caches improve CPU performance?

A
  • Caches store frequently used instructions and data, speeding up processing.
  • Larger cache memory improves performance.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a core, and how does it improve CPU performance?

A
  • A core contains an ALU, CU, and registers.
  • Multiple cores (e.g., quad-core) allow parallel processing, improving CPU performance.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is an instruction set in a CPU?

A

A list of all commands a CPU can process, written in machine code.

17
Q

What is an embedded system, and where is it used?

A
  • An embedded system performs a dedicated function (e.g., in domestic appliances, cars, vending machines).
  • It differs from general-purpose computers (e.g., Personal computers (PCs), and laptops).