Hardware Flashcards

(47 cards)

1
Q

What is the central processing unit (CPU)?

A

The CPU is the core component that controls and performs operations in modern computer systems.

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

What are the main components of the CPU architecture?

A

Processor, Control Unit, Arithmetic Logic Unit (ALU), System Clock, and Buses.

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

What does the Arithmetic Logic Unit (ALU) do?

A

The ALU performs calculations and logic operations.

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

What is the function of the Address Bus?

A

The Address Bus is unidirectional and carries the address of the data to be fetched.

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

What does the Control Unit do?

A

The Control Unit controls the operation of memory, the processor, and input/output devices.

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

What is the purpose of the System Clock?

A

The system clock generates timing signals to synchronize the CPU’s operations.

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

What is the function of the Data Bus?

A

The Data Bus is bidirectional and carries data between components.

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

What is the function of the Control Bus?

A

The Control Bus is bidirectional and carries control signals to manage the operation of various components.

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

What is the Immediate Access Store (IAS)?

A

The IAS stores instructions to be processed, which the CPU fetches.

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

What is the role of the Current Instruction Register (CIR)?

A

The CIR stores the instruction that the CPU is currently decoding or executing.

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

What is the Memory Address Register (MAR)?

A

The MAR stores the address of the instruction to be fetched and sends it to the Memory Data Register (MDR).

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

What does the Memory Data Register (MDR) do?

A

The MDR stores data from the address in the MAR and sends it to the CIR.

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

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

A

The PC stores the address of the next instruction to be fetched from memory.

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

What is the function of the Accumulator (ACC)?

A

The ACC temporarily holds data during calculations.

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

What is the Fetch-Execute Cycle?

A

The cycle where instructions are fetched from memory, decoded, and executed by the CPU.

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

What happens during the Fetch-Execute Cycle?

A

The instruction is fetched from memory, decoded, and executed, with the PC being incremented each time.

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

What is the Stored Program Concept?

A

Instructions are stored in memory and can be fetched, decoded, and executed by the processor.

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

What is an instruction set?

A

An instruction set is the list of all machine code commands that a CPU can process.

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

What is the system clock in a computer?

A

The system clock defines the clock cycle that synchronizes all operations in the computer.

17
Q

What is overclocking?

A

Overclocking is using a clock speed higher than the CPU is designed for, leading to potential instability and overheating.

18
Q

What is the role of the data bus width in CPU performance?

A

A wider data bus improves performance by allowing more data to be transferred at once.

19
Q

What is cache memory?

A

Cache memory is located within the CPU and stores frequently used data to improve access speed.

20
Q

How does the size of the cache affect CPU performance?

A

A larger cache improves CPU performance by allowing quicker access to frequently used data.

21
Q

What are cores in a CPU?

A

Cores are individual processing units within the CPU that allow multiple tasks to be processed simultaneously.

22
What is the effect of increasing the number of CPU cores?
More cores generally improve performance, but too many can slow down the system due to increased communication and data transfer overhead.
23
What is the difference between a dual-core and quad-core processor?
A dual-core processor has two cores, while a quad-core processor has four, offering more processing power.
24
What is needed to connect a device to a network like the Internet?
A Network Interface Card (NIC)
25
What uniquely identifies a device on a network?
A MAC address
25
How many bits are in a MAC address?
48 bits
25
What are the two types of MAC addresses?
Universally Administered Address (UAA) and Locally Administered Address (LAA)
26
What assigns dynamic IP addresses on a network?
DHCP (Dynamic Host Configuration Protocol)
26
What is the difference between static and dynamic IP addresses?
Static is manual and fixed, dynamic is automatic and changes
27
What does IPv4 use for its address format?
Four decimal groups separated by dots (e.g., 192.168.0.1)
28
What is the bit-length of an IPv4 address?
32 bits
29
Why was IPv6 introduced?
To provide more unique addresses than IPv4
30
What is the bit-length of an IPv6 address?
128 bits
31
What does a router do?
Routes data between different networks
32
What does a router use to direct data?
Routing tables and destination IP addresses
33
What is multitasking in an OS?
Sharing CPU time between multiple processes
33
What is the OS responsible for during booting?
Being loaded by the bootstrap loader via the BIOS
34
What are three functions of an Operating System?
Memory management, File management, User account management
35
What does a compiler do?
Translates the entire program into machine code
36
What does an interpreter do?
Executes a program line-by-line
37
What does an assembler do?
Converts assembly language to machine code
38
What are the benefits of high-level languages?
Easier to read, debug, and maintain
39
What is an IDE used for?
Writing, testing, and debugging code
40
Name 3 features of an IDE.
Code editor, debugger, error reports