Autumn 2026 All AIOU Solved Assignments, Key Books & 8613 Projects Live!
100% Free Online Reading • Copy & Download Disabled
AIOU LIBRARY KEY BOOK Course Code 3501 • BS Computer Science (BSCS) 🇬🇧 English Medium

AIOU Code 3501: BSCS Computing Course 3501 — Complete Helping Key Book & Exam Guide

Read chapter-by-chapter summaries, solved self-assessment exercises, past paper long questions, and solved MCQs directly on AIOU Library. Free of cost for all AIOU students.

Published Units: 9 / 9 Units
← Course Hub

AIOU LIBRARY • READ ONLY

AIOULIBRARY.COM • CODE 3501

AIOU LIBRARY • DO NOT COPY

Unit 2 of 9 • Verified Key Book Authored by AIOU Library Academic Engine • 4712 Words

Unit 2: Computer Architecture and Organization

Part 1: Comprehensive Unit Summary & Core Concepts

Easy Chapter Introduction & Learning Objectives

Welcome to Unit 2 of Course 3501 (BSCS Computing). In Unit 1, you learned the very basics of what a computer is and how software talks to hardware. Now, in Unit 2, we zoom inside the computer case to explore Computer Architecture and Organization. Think of this unit as opening the hood of a car to understand how the engine, transmission, and fuel injectors work together to make the car move.

For Allama Iqbal Open University (AIOU) distance-learning students, understanding computer architecture is vital because it bridges the gap between physical electronic circuits and the high-level programs you write in C++, Java, or Python. When you write code, it eventually translates into binary instructions that your computer’s hardware must execute efficiently. This chapter explains those physical and logical layers in very simple, jargon-free English.

Learning Objectives of this Unit:

  • Differentiate between the Von Neumann and Harvard computer architectures and understand their core components.
  • Analyze the internal structure and functions of the Central Processing Unit (CPU), including the Arithmetic Logic Unit (ALU) and Control Unit (CU).
  • Explore the Memory Hierarchy—from ultra-fast CPU registers to massive secondary storage drives like SSDs and HDDs.
  • Understand how Input/Output (I/O) systems communicate with the rest of the computer system.
  • Master the Instruction Execution Cycle (Fetch, Decode, Execute, Writeback) and the mechanics of Interrupt Handling.

Detailed Explanation of Every Unit Topic

1. Von Neumann Architecture vs. Harvard Architecture

Before computers could perform complex calculations reliably, scientists had to design a blueprint for how hardware components should connect. Two major architectural models emerged: Von Neumann and Harvard.

  • Von Neumann Architecture: Named after the brilliant mathematician John von Neumann, this model features a single, shared memory space for both data and program instructions. The CPU uses a single bus (a set of physical wires) to fetch instructions and read/write data. Because instructions and data share the same pathway, they cannot be accessed at the exact same time. This creates a bottleneck known as the Von Neumann Bottleneck.
  • Harvard Architecture: In contrast, the Harvard architecture uses physically separate storage and separate signal pathways (buses) for instructions and data. This means the CPU can fetch a new instruction while simultaneously reading or writing data. Modern high-speed processors use a modified Harvard architecture inside the CPU (separate L1 instruction and data caches) while maintaining a Von Neumann structure for main memory.

Real-Life Example: Imagine a person cooking in a small kitchen with a single narrow door (Von Neumann). The cook must go through the same door to bring in ingredients (data) and recipe books (instructions). If someone is carrying ingredients, the recipe book cannot pass through simultaneously. Now, imagine a large kitchen with two separate doors: one exclusively for ingredients and one exclusively for recipe books (Harvard). Cooking happens much faster!

2. Central Processing Unit (CPU) Structure and Function

The CPU is the "brain" of the computer. It directs all activities, performs mathematical calculations, and makes logical decisions. Without a CPU, a computer is just a collection of idle silicon and plastic.

The CPU consists of three main parts:

  • Control Unit (CU): The manager or supervisor of the CPU. It directs the flow of data through the processor, tells the memory when to fetch instructions, and coordinates the actions of the ALU.
  • Arithmetic Logic Unit (ALU): The number-cruncher. It performs all basic arithmetic operations (addition, subtraction, multiplication, division) and logical operations (comparisons like AND, OR, NOT, greater than, less than).
  • Registers: Tiny, ultra-fast storage locations inside the CPU used to hold data that the processor is working on right now.

Pakistani Context Example: Think of a bustling bank branch in Lahore. The Branch Manager represents the Control Unit, directing staff where to go and managing workflow. The Head Cashier represents the ALU, rapidly counting currency, adding deposits, and verifying balances. The cash counters' immediate trays represent the CPU Registers, holding the exact cash being handed over to a customer right this second.

3. The Memory Hierarchy

Computers need memory to store programs and data. However, no single type of memory is perfect. Fast memory is extremely expensive and has a very small capacity. Cheap memory has a massive capacity, but it is very slow. To solve this dilemma, computer designers use a Memory Hierarchy—a pyramid structure that balances speed, cost, and capacity.

  • Level 1: CPU Registers: The absolute fastest memory in the computer. Located directly inside the CPU core. Very small capacity (a few hundred bytes).
  • Level 2: Cache Memory (L1, L2, L3): Extremely fast, small static RAM (SRAM) located close to or inside the CPU. It stores copies of frequently used data from main memory to save time.
  • Level 3: Main Memory (RAM - Random Access Memory): Fast volatile memory where active programs and operating systems run. When you turn off your PC, RAM is erased. Typical sizes today range from 8GB to 32GB.
  • Level 4: Secondary Storage (HDDs and SSDs): Non-volatile storage where your files, pictures, games, and operating system are saved permanently. Slower than RAM, but massive in capacity (e.g., 512GB to 2TB).

Real-Life Analogy: Think of how you keep items when studying at your study table:

  • Registers: The pen currently in your hand or the single formula you are memorizing in your mind right now.
  • Cache: The open textbook and notebook lying right beside you on the desk for instant reference.
  • Main Memory (RAM): Your bookshelf filled with textbooks you can grab within two seconds when needed.
  • Secondary Storage: A large public library across town where thousands of books are stored on shelves for long-term keeping.

4. Input/Output (I/O) Systems and Communication Mechanisms

A computer isolated from the outside world is useless. Input/Output (I/O) systems allow the computer to interact with human users and other machines. Input devices (like keyboards, mice, and microphones) bring data into the computer, while output devices (like monitors, printers, and speakers) present processed results to the user.

Because CPU speeds are millions of times faster than mechanical or electrical I/O devices, efficient communication mechanisms are needed so the CPU does not waste valuable time waiting for a slow hard drive or keyboard stroke:

  • Programmed I/O: The CPU continually checks (polls) the status of the I/O device until it is ready. This is extremely wasteful because the CPU sits idle doing nothing productive ("busy waiting").
  • Interrupt-Driven I/O: Instead of the CPU continuously checking the device, the I/O device sends an electrical signal (an interrupt) to the CPU only when it has data ready. The CPU pauses its current task, handles the I/O request, and returns to what it was doing.
  • Direct Memory Access (DMA): For large data transfers (like copying a massive movie file from a USB flash drive to your hard disk), a special hardware chip called the DMA controller takes over the data transfer directly between the I/O device and RAM, freeing the CPU to perform other computational tasks.

5. The Instruction Execution Cycle

How does a computer actually run a program? It does so by repeating a continuous four-step cycle known as the Instruction Execution Cycle (or Fetch-Decode-Execute Cycle) billions of times every second:

  • 1. Fetch: The CPU fetches the next instruction from Main Memory (RAM). The address of this instruction is kept in a special register called the Program Counter (PC). Once fetched, the instruction is stored in the Instruction Register (IR), and the Program Counter automatically increments to point to the next instruction.
  • 2. Decode: The Control Unit takes the fetched instruction and decodes it to understand what operation needs to be performed (e.g., "Add the number in Memory Address X to the accumulator register").
  • 3. Execute: The Control Unit sends the necessary control signals to the ALU or other hardware components to carry out the instruction.
  • 4. Writeback: The final result of the execution is written back to a CPU register or stored in main memory, and the cycle starts all over again for the next instruction.

6. Interrupt Handling

During the normal execution cycle, unexpected events occur that require immediate CPU attention. These are called Interrupts.

  • Hardware Interrupts: Triggered by external physical devices (e.g., you press a key on your keyboard, click your mouse, or a network packet arrives on your Wi-Fi card).
  • Software Interrupts (Exceptions): Triggered by internal program errors or requests (e.g., a program attempts to divide a number by zero, or requests an operating system service using a system call).

When an interrupt occurs, the CPU saves its current working state (registers, program counter value) into a temporary holding area called the Stack. It then jumps to a special routine called an Interrupt Service Routine (ISR) or Interrupt Handler to resolve the event. Once the interrupt is resolved, the CPU restores its previous state and resumes normal program execution seamlessly.

Analogy: Imagine you are studying for your AIOU exams at your desk (running a primary program). Suddenly, your mobile phone rings (Hardware Interrupt). You place a bookmark in your book (saving the Program Counter/State), pick up the phone call (running the ISR), finish talking, hang up, and immediately return to the exact page where you bookmarked your studies.

Key Terms & Easy Glossary

  • Von Neumann Architecture: A computer design model that uses a single shared memory space and a single data bus for both program instructions and data, creating a processing bottleneck.
  • Harvard Architecture: A computer design model that features physically separate storage spaces and separate signal buses for program instructions and data, allowing simultaneous access.
  • Central Processing Unit (CPU): The primary electronic chip in a computer system responsible for executing program instructions, performing arithmetic, and managing system operations.
  • Arithmetic Logic Unit (ALU): The internal component of the CPU that executes all basic mathematical calculations (addition, subtraction) and logical evaluations (comparisons).
  • Control Unit (CU): The component of the CPU that directs the flow of data, coordinates hardware operations, and manages the execution of program instructions.
  • Memory Hierarchy: The tiered organization of computer data storage based on speed, cost, and capacity, ranging from ultra-fast CPU registers down to massive secondary storage devices.
  • Cache Memory: A small, extremely fast type of volatile memory located close to the CPU that holds frequently accessed data and instructions to speed up processing times.
  • Random Access Memory (RAM): The primary volatile memory in a computer that holds the operating system, running applications, and active data while the machine is powered on.
  • Instruction Cycle: The continuous step-by-step process used by a CPU to fetch, decode, execute, and write back individual program instructions.
  • Interrupt: An electrical or software signal sent to the CPU that temporarily pauses the currently running program so the processor can handle a high-priority event or device request.
Part 2: Solved Self-Assessment & Short Questions

Q: Explain the primary components of the Von Neumann architecture and trace the path of data between them.

Easy Answer: The Von Neumann architecture is a foundational computer design model created by mathematician John von Neumann in 1945. It uses a single, shared memory space to hold both data and program instructions.

Primary Components:

  • Central Processing Unit (CPU): The "brain" of the computer, containing the Arithmetic Logic Unit (ALU) for calculations, the Control Unit (CU) for directing operations, and processor registers for temporary storage.
  • Memory Unit: A storage area (RAM) that holds both the operating instructions (software code) and the active data currently being processed.
  • Input/Output (I/O) Devices: Hardware components that allow the computer to communicate with the outside world (e.g., keyboard, monitor).
  • System Bus: A set of parallel electrical wires (data, address, and control buses) that connects all these components together for communication.


Trace the Path of Data (Example: Adding Two Numbers):
  • Step 1 (Fetch): The Control Unit fetches the instruction from the Memory Unit using an address sent over the address bus. The instruction travels back via the data bus into the CPU's Instruction Register.
  • Step 2 (Decode): The Control Unit decodes the instruction, recognizing it as an "Add" command.
  • Step 3 (Read Data): The CPU requests the data values from specific memory addresses. The memory sends the data through the data bus to the CPU registers.
  • Step 4 (Execute): The ALU performs the addition operation on the data inside the CPU.
  • Step 5 (Store/Output): The result is temporarily saved in a register or sent back across the data bus to be stored in memory, or sent to an output device like a screen.

Q: What are the major differences between Von Neumann and Harvard architecture models?

Easy Answer: The Von Neumann and Harvard architectures are two distinct ways computers organize and manage their memory and processing units.

Major Differences:

  • Memory Structure:
    • Von Neumann: Uses a single physical memory space and shared bus for both data and instructions.
    • Harvard: Uses physically separate memory storage and separate buses for instructions and data.
  • Data Access Bottleneck (The Von Neumann Bottleneck):
    • Von Neumann: The CPU cannot read an instruction and read/write data at the same time because they share the same data path (bus contention). This slows down processing speed.
    • Harvard: Because instruction memory and data memory are independent, the CPU can fetch an instruction and access data simultaneously, greatly improving speed.
  • Complexity and Cost:
    • Von Neumann: Simpler design, cheaper to manufacture, and easier for programmers to manage because code and data share one space.
    • Harvard: More complex circuitry, requires more physical pins on the processor, and is more expensive to produce.
  • Applications:
    • Von Neumann: Widely used in general-purpose computers like laptops, desktop PCs, and servers.
    • Harvard: Commonly used in Digital Signal Processors (DSPs), microcontrollers, hearing aids, and embedded systems where speed and specialized tasks are critical.

Q: Describe the role and internal components of the Arithmetic Logic Unit (ALU).

Easy Answer: The Arithmetic Logic Unit (ALU) is the core calculation engine inside a computer's CPU. Its primary role is to perform all basic mathematical calculations (like addition and subtraction) and logical decisions (like comparing if two numbers are equal) required by software programs.

Role of the ALU:

  • Executes all arithmetic instructions (ADD, SUBTRACT, MULTIPLY, DIVIDE).
  • Executes all logical operations (AND, OR, NOT, XOR) to compare data conditions.
  • Acts as the final execution point for data manipulation before results are saved back to registers or memory.


Internal Components of the ALU:
  • Adder / Arithmetic Circuit: Circuits built from logic gates (like half-adders and full-adders) designed to carry out numerical additions and subtractions. Multiplications and divisions are typically done through repeated shifting and adding.
  • Logic Circuit: Performs boolean logic operations to evaluate conditions (e.g., checking if value A is greater than value B).
  • Accumulator / Working Registers: Temporary holding spots inside or right next to the ALU that store operands waiting to be processed and hold the immediate results of calculations.
  • Flag Register (Status Register): A collection of single-bit flags that store the status of the last ALU operation (e.g., Zero flag if the result is 0, Carry flag if there is an overflow, Negative flag if the result is negative). These flags are used by the Control Unit to make conditional jump decisions.

Q: Explain the concept of memory hierarchy and why it is essential in modern computing systems.

Easy Answer: Memory hierarchy is the organizational structure of computer storage arranged in levels based on speed, cost, and capacity. It bridges the gap between fast CPU processing speeds and large, slow storage devices.

Levels of Memory Hierarchy (from top to bottom):

  • Level 1 (CPU Registers): Extremely fast, tiny storage inside the CPU.
  • Level 2 (Cache Memory - L1, L2, L3): Very fast SRAM located close to or on the CPU core.
  • Level 3 (Main Memory / RAM): Fast DRAM that holds currently running programs and data.
  • Level 4 (Secondary Storage): Non-volatile storage like SSDs and HDDs with large capacity but slower access speeds.


Why It Is Essential:
  • Cost-Performance Balance: Fastest memory (registers/cache) is extremely expensive per gigabyte. Slow storage (HDD/SSD) is cheap. Hierarchy allows computers to give the *illusion* of infinite fast memory at an affordable price.
  • Solving the Processor-Memory Speed Gap: CPUs operate in nanoseconds, while main RAM operates much slower. Without fast cache memory in between, the CPU would spend most of its time waiting for data to arrive.
  • Locality of Reference: Programs tend to access the same data and instructions repeatedly. Keeping these items in high-level cache drastically reduces retrieval times and boosts overall system performance.

Q: How does the instruction execution cycle (Fetch-Decode-Execute) operate in a standard CPU?

Easy Answer: The Instruction Execution Cycle, also known as the Fetch-Decode-Execute (FDE) cycle, is the continuous process the CPU uses to run program instructions.

The Three Core Steps:

  • 1. Fetch Stage:
    • The CPU places the address of the next instruction (stored in the Program Counter - PC) onto the Address Bus.
    • A Read command is sent, and the instruction travels from RAM across the Data Bus into the CPU's Instruction Register (IR).
    • The Program Counter automatically increments by 1 to point to the next instruction in line.
  • 2. Decode Stage:
    • The Control Unit takes the binary instruction stored in the Instruction Register and translates (decodes) it.
    • The Control Unit figures out what operation needs to happen (e.g., add, load, store, jump) and identifies what data or memory addresses are required to perform it.
  • 3. Execute Stage:
    • The Control Unit sends electronic control signals to the necessary hardware components (like the ALU, registers, or memory) to carry out the instruction.
    • If math is involved, the ALU performs the calculation.
    • The final result is stored back into a CPU register or written out to RAM.
Once execution finishes, the CPU loops back immediately to the Fetch stage for the next instruction, repeating billions of times per second. Example: A game loop constantly fetches, decodes, and executes movement and graphic rendering commands.
*(Note: Some complex CPUs also include "Memory Read", "Data Write", and "Writeback" phases, but FDE is the universal foundation).*

Q: Discuss the significance of interrupts in handling I/O operations and system exceptions.

Easy Answer: An interrupt is a signal sent to the CPU (either by hardware devices or software programs) that temporarily pauses the current program so the CPU can handle a higher-priority task.

Significance in I/O Operations:

  • Eliminating Polling Waste: Without interrupts, the CPU would have to constantly ask I/O devices (like a keyboard or printer) if they are ready ("Are you done yet? Are you done yet?"), wasting valuable processing power.
  • Asynchronous Handling: With interrupts, the CPU can continue running other programs. When the user presses a key on the keyboard, the keyboard sends a hardware interrupt signal. The CPU pauses, reads the keystroke instantly, and returns to what it was doing.


Significance in System Exceptions:
  • Error Management: Interrupts handle critical system errors (exceptions) like "Division by Zero," memory access violations (segmentation faults), or power failures.
  • Safe Recovery: When an exception occurs, a software interrupt triggers an Operating System routine to handle the error gracefully—either by fixing it, prompting the user, or safely shutting down the application rather than crashing the whole computer.

Q: Define computer architecture versus computer organization.

Easy Answer: Computer architecture refers to the programmer-visible attributes of a computer system, such as the instruction set, data types, number of bits used for addressing, and input-output mechanisms (the *logical* design). Computer organization refers to the operational units and their electrical connections that realize the architectural specifications, such as memory design, hardware control signals, and peripheral interfaces (the *physical* implementation). In short, architecture is *what* the computer does, while organization is *how* it does it. For example, two computers can have the exact same instruction set architecture (like Intel x86), but completely different internal hardware organizations (different cache sizes or core layouts).

Q: What is the function of the Program Counter (PC) in a CPU?

Easy Answer: The Program Counter (PC) is a vital special-purpose register inside the CPU. Its primary function is to store the memory address of the *next* instruction that needs to be fetched and executed. As soon as an instruction is fetched from memory, the Program Counter automatically increments (adds 1 to its value) so it points directly to the subsequent instruction in the program sequence. During jump, branch, or loop instructions, the PC can also be loaded with a brand-new address to redirect program flow to a different part of the code.

Q: Differentiate between RAM and ROM in terms of volatility and usage.

Easy Answer: RAM (Random Access Memory) is **volatile**, meaning it loses all stored data instantly when the computer is turned off or loses power. It is used as temporary working memory to hold programs and data currently in active use by the CPU. ROM (Read-Only Memory) is **non-volatile**, meaning it retains its data permanently even when the power is switched off. ROM is used to store essential startup instructions, such as the BIOS/UEFI firmware, that the computer needs in order to boot up and initialize hardware components.

Q: What is cache memory and how does locality of reference improve its efficiency?

Easy Answer: Cache memory is a small, extremely fast SRAM (Static RAM) located inside or right next to the CPU, used to store copies of frequently accessed data from main RAM. It achieves high efficiency thanks to the **locality of reference** principle, which comes in two forms: 1. *Temporal locality* (if a piece of data is accessed once, it will likely be accessed again soon). 2. *Spatial locality* (if a piece of data is accessed, nearby data points will likely be accessed soon). By keeping these predicted items in cache, the CPU avoids slow trips to main memory, speeding up processing.

Q: Define bus width and its impact on system performance.

Easy Answer: Bus width refers to the number of physical parallel data lines (wires) in a computer bus, determining how many bits of data can be transmitted simultaneously. For example, a 64-bit data bus can transfer 64 bits (8 bytes) of data in a single clock cycle. Bus width directly impacts system performance: a wider bus allows more data to move between the CPU, memory, and peripherals at once, increasing data throughput and preventing bottlenecks, much like widening a highway from two lanes to eight lanes to reduce traffic congestion.

Q: What are general-purpose registers?

Easy Answer: General-purpose registers are small, ultra-fast storage locations located directly inside the CPU. Unlike special-purpose registers (like the Program Counter), they do not have a single fixed duty. Instead, they can be used by programmers and the CPU to temporarily hold various types of data during execution—such as intermediate calculation results, loop counters, memory addresses, or data operands waiting to be processed by the ALU. Having multiple general-purpose registers speeds up processing by keeping working data right inside the processor.

Q: Briefly explain Direct Memory Access (DMA).

Easy Answer: Direct Memory Access (DMA) is a feature that allows certain hardware subsystems (like sound cards, network cards, and disk drives) to transfer data directly to and from system RAM independently of the CPU. Normally, the CPU must handle every single byte of data transfer, tying up its processing power. With a dedicated DMA Controller (DMAC) chip, the CPU simply initiates the transfer task and then continues running other programs while the DMA controller handles the high-speed data movement between peripherals and memory, drastically improving overall computer efficiency.

Q: What is an instruction set architecture (ISA)?

Easy Answer: An Instruction Set Architecture (ISA) is the abstract model of a computer that defines the interface between software and hardware. It acts as a bridge or dictionary, detailing the native machine language commands that the CPU understands and can execute. The ISA defines supported data types, processor registers, addressing modes, and the complete list of available instructions (such as arithmetic, logic, data transfer, and control flow commands). Examples of popular ISAs include x86 (used in PCs) and ARM (used in mobile phones).

Q: Differentiate between synchronous and asynchronous data transfer.

Easy Answer: In **synchronous data transfer**, communication between the sender and receiver is strictly timed and coordinated using a shared system clock pulse. Every action happens at precise, predictable clock intervals. In **asynchronous data transfer**, there is no shared clock signal. Instead, devices use special control signals (like start and stop bits or handshaking protocols) to signal when data is being sent and when it has been successfully received, making it flexible for devices operating at different or variable speeds.

Q: What is the role of the System Bus in a computer?

Easy Answer: The system bus is the central communication highway connecting all the primary components of a computer system, including the CPU, main memory (RAM), and I/O devices. Its primary role is to transfer data, memory addresses, and control commands between these components. The system bus is physically divided into three distinct sub-buses: the **Data Bus** (carries the actual data), the **Address Bus** (carries memory location addresses), and the **Control Bus** (carries command signals like read, write, and interrupt requests) to ensure orderly communication.

Part 3: Detailed Exam Long Questions (20-Marks Standard)

Long Question: Provide a detailed analysis of the Von Neumann bottleneck and discuss modern architectural advancements designed to mitigate it.

1. Introduction and Definition

The Von Neumann architecture, conceptualized by mathematician and physicist John von Neumann in 1945, revolutionized computing by introducing the "stored-program" concept. In this design, both computer instructions (code) and data are stored together in the same physical main memory (RAM). The Central Processing Unit (CPU) fetches instructions and reads/writes data through a single common bus system. However, this foundational design suffers from a major structural limitation known as the

Part 4: Solved Multiple Choice Questions (MCQs)

MCQ #1 Which architecture uses a single physical memory space for both data and instructions?

Harvard Architecture
Von Neumann Architecture
RISC Architecture
Pipeline Architecture

MCQ #2 Which architecture features physically separate storage and signal pathways for instructions and data?

Von Neumann Architecture
Harvard Architecture
CISC Architecture
Sequential Architecture

MCQ #3 Which component of the CPU performs arithmetic and logical operations?

Control Unit
Arithmetic Logic Unit (ALU)
Registers
Cache Memory

MCQ #4 What is the primary function of the Control Unit in a CPU?

To store permanent data
To perform calculations
To direct the operation of the processor
To manage secondary storage

MCQ #5 Which level of the memory hierarchy has the fastest access time?

Main Memory
Registers
Cache Memory
Secondary Storage

MCQ #6 Which memory type is used to bridge the speed gap between the CPU and main memory?

Secondary Storage
Cache Memory
Registers
Magnetic Tape

MCQ #7 Which of the following is considered volatile memory?

Hard Disk Drive
Solid State Drive
Main Memory (RAM)
ROM

MCQ #8 What is the first step in the Instruction Execution Cycle?

Execute
Fetch
Decode
Store

MCQ #9 During which phase of the instruction cycle does the CPU determine what action is required?

Fetch
Decode
Store
Interrupt

MCQ #10 What is an 'Interrupt' in computer architecture?

A permanent hardware failure
A signal to the CPU requesting immediate attention
A method to speed up clock cycles
A type of secondary storage error

MCQ #11 Which mechanism allows I/O devices to communicate directly with main memory without passing through the CPU?

Programmed I/O
Interrupt-Driven I/O
Direct Memory Access (DMA)
Cache Coherency

MCQ #12 Which storage type offers non-volatile, high-capacity data retention for long-term use?

Registers
Cache
RAM
Secondary Storage

MCQ #13 What does the Program Counter (PC) register hold?

The result of the last ALU operation
The address of the next instruction to be fetched
The current instruction being executed
The data to be written to memory

MCQ #14 Which bus carries the actual data being transferred between the CPU, memory, and I/O devices?

Control Bus
Address Bus
Data Bus
System Clock

MCQ #15 What is the primary disadvantage of the Von Neumann bottleneck?

High manufacturing cost
Excessive power consumption
Limitation on instruction/data transfer speed due to a single bus
Inability to use RAM

Manage Cookie Preferences

Strictly Necessary Cookies

Required for consent storage and site security.

Always Active

View full details in our Cookies Policy & Privacy Policy.