Component 1 Section 1 Flashcards

(34 cards)

1
Q

What is the purpose of the CPU?

A

The central processing unit (CPU) executes instructions in computer programs. It is responsible for fetching, decoding, and executing instructions and controlling the operation of all hardware components.

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

Name the three main components of the Von Neumann architecture.

A
  1. CPU (Central Processing Unit), 2. Memory, 3. Input/Output devices connected by buses
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the function of the ALU in a CPU?

A

The Arithmetic Logic Unit (ALU) performs all arithmetic operations (addition, subtraction, etc.) and logical operations (AND, OR, NOT, etc.) within the CPU.

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

What is the function of the CU in a CPU?

A

The Control Unit (CU) controls the flow of data within the CPU, decodes instructions, and sends signals to other parts of the CPU and memory to execute instructions.

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

What are registers and what is their purpose?

A

Registers are small, high-speed memory units within the CPU that temporarily hold data and instructions that the CPU is processing. They allow for quick access to frequently used data.

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

What does the Program Counter (PC) register do?

A

The Program Counter holds the memory 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
7
Q

What is the function of the Memory Address Register (MAR)?

A

The MAR holds the memory address of data that needs to be accessed (read from or written to).

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

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

A

The MDR temporarily holds data being transferred to or from memory.

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

What does the Accumulator register do?

A

The Accumulator is a register that holds the results of calculations performed by the ALU.

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

What is clock speed and how is it measured?

A

Clock speed is the number of pulses per second generated by the CPU’s internal clock. It is measured in Hertz (Hz), typically Gigahertz (GHz). Higher clock speeds generally allow for faster execution of instructions.

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

What is the Fetch-Execute cycle (also known as the Fetch-Decode-Execute cycle)?

A

The continuous process by which a CPU loads instructions from memory, determines what they are asking the computer to do, and then carries them out.

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

What are the stages of the Fetch-Execute cycle?

A
  1. Fetch: Get instruction from memory, 2. Decode: Determine what the instruction is asking the CPU to do, 3. Execute: Carry out the instruction, 4. Store: Save the result if needed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does CPU cache do and why is it important?

A

CPU cache is a small, fast memory located on or close to the CPU that stores frequently accessed data. It’s important because it reduces the time needed to access data from the main memory, improving overall system performance.

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

What is the difference between L1, L2, and L3 cache?

A

L1 cache is smallest but fastest and closest to the processor core. L2 is larger but slower than L1. L3 is larger still but slower than L2 and often shared between multiple cores.

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

What factors affect CPU performance?

A
  1. Clock speed, 2. Number of cores, 3. Cache size, 4. Architecture design, 5. Word length/data width
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is a core in a CPU?

A

A core is a processing unit within a CPU that can execute instructions independently. Modern CPUs often have multiple cores to perform parallel processing.

17
Q

What is the benefit of having multiple cores in a CPU?

A

Multiple cores allow for parallel processing, where multiple instructions can be executed simultaneously, improving performance for multi-threaded applications and multitasking.

18
Q

What is meant by the term ‘embedded system’?

A

An embedded system is a computer system with a dedicated function within a larger mechanical or electrical system, often with real-time computing constraints.

19
Q

Give three examples of embedded systems.

A
  1. Smart thermostats, 2. Digital watches, 3. Car engine control systems, 4. Automatic washing machines, 5. Traffic lights
20
Q

What is RAM and what is its purpose?

A

Random Access Memory (RAM) is volatile memory that temporarily stores data that the CPU needs to access quickly. It loses its contents when power is turned off.

21
Q

What does it mean that RAM is ‘volatile’?

A

Volatile means that data stored in RAM is temporary and is lost when the computer is powered off or restarted.

22
Q

What is the difference between RAM and ROM?

A

RAM (Random Access Memory) is volatile and can be written to and read from. ROM (Read-Only Memory) is non-volatile and can only be read from, not written to under normal operation.

23
Q

What is the purpose of ROM in a computer?

A

ROM stores the essential startup instructions (bootstrap) needed for the computer to start, including the BIOS or UEFI firmware.

24
Q

What is virtual memory?

A

Virtual memory is a memory management technique that uses part of the hard disk to simulate additional RAM, allowing a computer to run programs larger than its physical RAM.

25
What is the difference between primary and secondary storage?
Primary storage (RAM) is volatile, directly accessible by the CPU, and faster but more expensive. Secondary storage (hard drives, SSDs) is non-volatile, not directly accessible by the CPU, and slower but cheaper and has larger capacity.
26
What are the advantages of solid state drives (SSDs) over hard disk drives (HDDs)?
SSDs are faster, use less power, are more reliable with no moving parts, quieter, lighter, more compact, and more resistant to physical shock.
27
What are the disadvantages of SSDs compared to HDDs?
SSDs are more expensive per gigabyte, have lower maximum capacities, and have a limited number of write cycles.
28
What is flash memory?
Flash memory is a type of non-volatile memory that can be electrically erased and reprogrammed. It's used in USB drives, memory cards, and solid-state drives.
29
What is optical storage?
Optical storage uses lasers to read and write data on reflective discs, such as CDs, DVDs, and Blu-ray discs.
30
What is magnetic storage?
Magnetic storage uses magnetic patterns to store digital data, such as in hard disk drives and magnetic tapes.
31
What factors should be considered when selecting storage devices?
1. Capacity, 2. Speed, 3. Portability, 4. Durability, 5. Cost, 6. Power consumption, 7. Compatibility
32
What is cloud storage?
Cloud storage is a model of computer data storage where digital data is stored in logical pools across multiple servers, typically hosted by third parties in data centers.
33
What are advantages of cloud storage?
1. Accessibility from anywhere with internet, 2. Scalability, 3. Automatic backups, 4. Cost-effective, 5. Collaboration features, 6. Reduced local storage needs
34
What are disadvantages of cloud storage?
1. Requires internet connection, 2. Potential security and privacy concerns, 3. Ongoing subscription costs, 4. Limited control over data, 5. Service provider dependency