Components of a Computer & Their Uses Quiz
Test your knowledge of Components of a Computer & Their Uses with these A-Level Computer Science exam style questions.
This quiz consists of 15 questions. Scroll down to start the quiz!
Questions
Describe the roles of the Arithmetic and Logic Unit (ALU), Control Unit, and registers within the CPU.
The CPU consists of three main components: the ALU, Control Unit, and registers. The ALU performs arithmetic operations such as addition and subtraction, as well as logical operations like AND and OR. The Control Unit manages and coordinates the activities of the CPU by fetching and decoding instructions and directing data flow. Registers are small, fast storage locations that temporarily hold data and instructions currently in use.
Explain the purpose of the Program Counter (PC), Memory Address Register (MAR), and Memory Data Register (MDR) during program execution.
The Program Counter (PC) stores the address of the next instruction to be executed. The MAR holds the address of the memory location being accessed, while the MDR stores the actual data being transferred to or from memory. Together, they facilitate communication between the CPU and memory.
Analyse how the Control Unit coordinates the fetch-decode-execute cycle.
The Control Unit orchestrates the fetch-decode-execute cycle by sending control signals. It retrieves instructions from memory, decodes them to determine the required operation, and coordinates the execution by directing the ALU and registers.
Describe the function of the Current Instruction Register (CIR) and Accumulator (ACC) in processing instructions.
The CIR stores the current instruction being decoded and executed, ensuring the CPU processes the correct instruction. The ACC temporarily stores intermediate results from ALU operations, allowing further processing or final output.
Explain the roles of the data bus, address bus, and control bus in a computer system.
The data bus carries actual data between components, the address bus transmits memory addresses specifying where data should be read from or written to, and the control bus carries signals that manage operations such as read and write commands.
Describe the stages of the fetch-decode-execute cycle and how data moves between registers.
In the fetch stage, the PC provides the address which is placed in the MAR; the instruction is fetched into the MDR and transferred to the CIR. During decode, the Control Unit interprets the instruction. In execute, the instruction is carried out, often involving the ALU. Data moves between registers such as MAR, MDR, CIR, and ACC throughout.
Evaluate how clock speed, number of cores, and cache size affect CPU performance.
Higher clock speeds increase the number of cycles per second, improving performance. More cores allow multiple instructions to be processed simultaneously. Larger cache reduces the need to access slower main memory, speeding up processing. However, other factors like architecture and workload also influence performance.
Explain how pipelining improves CPU efficiency and identify any potential drawbacks.
Pipelining allows multiple instructions to overlap in execution stages, increasing throughput. However, issues such as pipeline hazards and branch misprediction can cause delays or inefficiencies.
Compare Von Neumann and Harvard architectures, highlighting their advantages and disadvantages.
Von Neumann architecture uses a single memory and bus for both data and instructions, which can lead to the bottleneck problem. Harvard architecture uses separate memory and buses, allowing simultaneous data and instruction access, improving performance but increasing complexity.
Describe how contemporary processor architectures combine features of both Von Neumann and Harvard models.
Contemporary architectures often use separate caches for instructions and data (like Harvard) while maintaining a unified memory system (like Von Neumann), achieving a balance between performance and flexibility.
Compare CISC and RISC processors, including their characteristics and typical applications.
CISC processors use complex instructions that can perform multiple tasks, reducing the number of instructions needed but often taking longer per instruction. RISC processors use simpler instructions that execute quickly, requiring more instructions but improving efficiency. CISC is common in desktops, while RISC is common in mobile devices.
Explain the role of GPUs and discuss their uses beyond graphics processing.
GPUs are specialised processors designed for parallel processing, making them ideal for rendering graphics. They are also used in machine learning, scientific simulations, and cryptocurrency mining due to their ability to process large amounts of data simultaneously.
Describe multicore processors and explain how parallel processing improves performance.
Multicore processors contain multiple cores on a single chip, allowing several instructions to be executed at once. Parallel processing divides tasks into smaller parts that can be processed simultaneously, significantly improving performance for suitable workloads.
Compare magnetic, flash, and optical storage devices in terms of speed, capacity, reliability, and typical use cases.
Magnetic storage (HDDs) offers large capacity at low cost but is slower. Flash storage (SSDs) is faster and more reliable but more expensive. Optical storage is slower and less durable, mainly used for media distribution.
Explain the differences between RAM and ROM, and describe the concept of virtual storage.
RAM is volatile memory used for temporary storage of data and instructions currently in use, while ROM is non-volatile and stores firmware permanently. Virtual storage allows multiple physical storage devices or cloud systems to appear as a single storage unit, enabling flexible and scalable data access.
