← Back to quizzesFree quiz

Fundamentals of Computer Organization

Understanding how a computer works at the hardware level is essential for anyone studying computer science or engineering. This course breaks down the core concepts tested in a typical…

10 questions~5 min
Fundamentals of Computer Organization — Qwi
0 / 10
Score: 0%
1

Which component directly supplies power to the CPU, RAM, and expansion cards?

2

If a program loads a value from memory into register R2, which instruction type is being used?

3

A 4‑bit two's complement system represents –5 as 1011. What binary pattern represents +5 in the same system?

4

During the instruction cycle, which stage follows Decode?

5

Which bus carries the address of the memory location that the CPU wants to read or write?

6

A system has 8 GB of RAM and 500 GB of SSD storage. Which statement correctly describes their roles?

7

Which of the following best explains why an interrupt is more efficient than polling?

8

When converting the decimal number 156 to binary, which power of two is used first?

9

A computer receives a keyboard press of the letter 'A'. Which stage of the basic computer functions processes this input?

10

Which representation can encode characters from many world languages, including Chinese and Arabic?

Fundamentals of Computer Organization

Understanding how a computer works at the hardware level is essential for anyone studying computer science or engineering. This course breaks down the core concepts tested in a typical introductory quiz, providing clear explanations, real‑world examples, and SEO‑friendly language to help you master the material.

Power Delivery in a Computer System

The Power Supply Unit (PSU) is the component that directly supplies electrical power to the CPU, RAM, and expansion cards. While the motherboard distributes this power, it does not generate it. The PSU converts AC from the wall outlet into regulated DC voltages (e.g., 12 V, 5 V, 3.3 V) required by the internal components.

  • Key functions of the PSU:
    • Voltage regulation and protection against surges.
    • Providing sufficient current for high‑performance CPUs and graphics cards.
    • Ensuring stable operation of memory modules (RAM).
  • Why it matters: An inadequate PSU can cause system instability, random reboots, or even hardware damage.

Instruction Types: Load Operations

When a program moves data from memory into a register, it uses a Load instruction. Load instructions are part of the memory‑to‑register data path and are distinct from Store (register‑to‑memory) or Operate (register‑to‑register) instructions.

  • Typical syntax: LOAD R2, [address]
  • Purpose: Retrieve operands needed for subsequent arithmetic or logical operations.
  • Impact on performance: Load latency can be a bottleneck; modern CPUs use caches to reduce this delay.

Two’s Complement Representation

Two’s complement is the most common method for representing signed integers in binary. In a 4‑bit system, the range is –8 to +7. The negative number –5 is encoded as 1011. To find the positive counterpart (+5), simply represent the magnitude in binary without the sign bit.

The correct binary pattern for +5 is 0101. This follows the rule that the most significant bit (MSB) indicates the sign (0 for positive, 1 for negative) while the remaining bits hold the magnitude.

Instruction Cycle: From Decode to Execute

Modern CPUs follow a multi‑stage instruction cycle: Fetch → Decode → Execute → Write‑back. After the Decode stage, the CPU determines the operation type and the required operands, then proceeds to the Execute stage where the actual computation or memory operation occurs.

  • Decode: Interprets the opcode and prepares control signals.
  • Execute: Performs arithmetic, logical, or memory‑access actions.
  • Understanding this flow helps in optimizing code and diagnosing pipeline stalls.

Bus Types: Address, Data, and Control

Inside a computer, three primary buses facilitate communication:

  • Address bus: Carries the memory address that the CPU wants to read from or write to. It is unidirectional—from CPU to memory.
  • Data bus: Transfers the actual data values between CPU, memory, and peripherals. It is bidirectional.
  • Control bus: Sends timing and control signals (e.g., read/write flags, interrupt requests).

Because the address bus determines where data will be accessed, its width directly influences the maximum addressable memory space.

RAM vs. SSD: Roles and Characteristics

Random Access Memory (RAM) and Solid‑State Drives (SSD) serve distinct purposes:

  • RAM: Volatile memory that holds temporary working data and program instructions while the computer is powered on. It offers nanosecond‑scale access speeds, making it ideal for active computation.
  • SSD: Non‑volatile storage that retains files permanently, even when power is removed. Although SSDs are much faster than traditional hard drives, they are still orders of magnitude slower than RAM.

In a system with 8 GB RAM and 500 GB SSD, the RAM is used for fast, short‑term data manipulation, while the SSD stores the operating system, applications, and user files for long‑term retention.

Interrupts vs. Polling

An interrupt allows a peripheral device to signal the CPU only when it requires attention, making it more efficient than polling, where the CPU continuously checks the device’s status.

  • Advantages of interrupts:
    • Reduces unnecessary CPU cycles.
    • Improves overall system responsiveness.
    • Enables multitasking by allowing the CPU to perform other work until an event occurs.
  • Polling is simple to implement but wastes processing time, especially when devices are idle.

Binary Conversion: Finding the Highest Power of Two

When converting a decimal number to binary, start with the largest power of two that does not exceed the number. For the decimal value 156, the highest power of two is 128 (2⁷). Subtracting 128 from 156 leaves 28, and the conversion continues with the next lower powers (64, 32, 16, etc.).

Understanding this method helps you quickly perform manual conversions and reinforces the concept of binary weighting.

Key Takeaways

  • The Power Supply Unit provides essential power to all core components.
  • Load instructions move data from memory to registers, a fundamental operation in program execution.
  • Two’s complement encodes signed numbers; +5 in a 4‑bit system is 0101.
  • After decoding, the CPU executes the instruction, completing the instruction cycle.
  • The address bus carries memory addresses, while the data bus carries the actual data.
  • RAM is volatile and fast; SSD is non‑volatile and slower but provides permanent storage.
  • Interrupts improve efficiency by notifying the CPU only when needed.
  • Binary conversion starts with the highest power of two less than or equal to the decimal number (128 for 156).

By mastering these concepts, you’ll build a solid foundation for deeper studies in computer architecture, operating systems, and hardware design.