CS501 — Advance Computer Architecture: Midterm & Finalterm Solved MCQs and Subjective
This solved paper covers CS501 — Advance Computer Architecture for Virtual University of Pakistan students, with midterm (Lectures 1–22) and finalterm (Lectures 23–45) questions solved with answers. It includes 10 midterm MCQs, 10 finalterm MCQs, 5 midterm subjective questions and 5 finalterm subjective questions — 30 questions in total — covering advanced computer architecture, pipelining, cache memory, RISC/CISC and parallel processing. Every answer was solved independently and cross-checked against the VU handout, with the handout lecture cited under each question; handout page numbers are being added as they are verified. Use the Take the CS501 quiz link below to practise all 20 MCQs interactively with a live score counter. See the Solved MCQs page and the midterm and finalterm mega hubs for solved papers for every subject. Compiled and verified by Virtual Ustaad. Last updated: 6 November 2026.
1. Midterm Solved MCQs
Q1. For any instruction in the SRC instruction set, certain _________ are required, which may be used to select the appropriate ALU function, the appropriate registers, or the appropriate memory location.
A) Registers
B) Control signals
C) Memory
D) None of the given
Correct answer: B — Control signals
Reference: VU handout, Lecture 16 — Logic Design and Control Signals Generation in SRC. p. 171 (Moaaz copy).
Status: Verified
Q2. The FALCON-A processor bus has 16 lines (is 16-bits wide), while that of SRC is _________ wide.
A) 8-bits
B) 16-bits
C) 32-bits
D) 64-bits
Correct answer: C — 32-bits
Reference: VU handout, Lectures 9–11 — ISA of the FALCON-A; FALCON-E and ISA Comparison. p. 157 (Moaaz copy).
Status: Verified
Q3. What is the instruction length of the FALCON-A processor?
A) 8-bits
B) 16-bits
C) 32-bits
D) 64-bits
Correct answer: B — 16-bits
Reference: VU handout, Lecture 9 — ISA of the FALCON-A. p. 134 in the Moaaz copy; the Arslan copy cites p. 91 for the same fact — pagination differs between handout copies.
Status: Verified
Q4. _________ control signals enable the input to the PC for receiving a value that is currently on the internal processor bus.
A) LPC
B) INC
C) LC
D) I
Correct answer: A — LPC
Reference: VU handout, Lecture 16 — Logic Design and Control Signals Generation in SRC. p. 172 (Moaaz copy).
Status: Verified
Q5. Which one of the following is a bi-stable device, capable of storing one bit of information?
A) Decoder
B) Flip-Flop
C) Multiplexer
D) Diplexer
Correct answer: B — Flip-Flop
Reference: VU handout, Lecture 7 — RTL Using Digital Logic Circuits. p. 76 (Moaaz copy).
Status: Verified
Q6. Which instruction is used to store a register to memory using a relative address?
A) ld instruction
B) ldr instruction
C) lar instruction
D) str instruction
Correct answer: D — str instruction
Reference: VU handout, Lecture 4 — Introduction to SRC Processor / Lecture 5 — ISA and Instruction Formats. p. 48 (Moaaz copy).
Status: Verified
Q7. Which field of the machine language instruction is the "type of operation" that is to be performed?
A) Op-code
B) CPU registers
C) Memory cells
D) I/O locations
Correct answer: A — Op-code
Reference: VU handout, Lecture 3 — Instruction Set Architecture. p. 33 (Moaaz copy).
Status: Verified
Q8. The instruction _________ will load the register R3 with the contents of the memory location M[PC+56].
A) Add R3, 56
B) lar R3, 56
C) ldr R3, 56
D) str R3, 56
Correct answer: C — ldr R3, 56
Reference: VU handout, Lecture 4 — Introduction to SRC Processor. p. 56 (Moaaz copy; p. 47 in the Quiz 1 repeat).
Status: Verified
Q9. _________ operation is required to change the processor's state to a known, defined value.
A) Change
B) Reset
C) Update
D) None of the given
Correct answer: B — Reset
Reference: VU handout, Lectures 1–22 — Machine Reset and Machine Exceptions (lecture number not confirmed in source). p. 194 (Moaaz copy).
Status: Verified
Q10. Which type of instructions help in changing the flow of the program as and when required?
A) Arithmetic
B) Control
C) Data transfer
D) Floating point
Correct answer: B — Control
Reference: VU handout, Lecture 9 — ISA of the FALCON-A. p. 137 (Moaaz copy).
Status: Verified
2. Finalterm Solved MCQs
Q1. What problem arises due to differences in endianness between two systems?
A) Data is lost completely during transfer
B) Multi-byte values are interpreted with their bytes in the wrong order
C) The I/O port stops working
D) Only text data is affected
Correct answer: B — Multi-byte values are interpreted with their bytes in the wrong order
Reference: VU handout, Lectures 24–26 — Parallel I/O Ports; Programmed I/O. Page — not confirmed in source.
Status: Verified
Q2. In programmed I/O, the CPU checks whether an I/O device is ready by:
A) Waiting for an interrupt
B) Continuously polling the device status
C) Using the DMA controller
D) Switching to another process
Correct answer: B — Continuously polling the device status
Reference: VU handout, Lectures 26–28 — Programmed I/O and Interrupt-Driven I/O. Page — not confirmed in source.
Status: Verified
Q3. In nested interrupts, which interrupt is serviced first?
A) The one that arrived first
B) The one with the highest priority
C) The one from the slowest device
D) The one that arrived last
Correct answer: B — The one with the highest priority
Reference: VU handout, Lectures 26–28 — Programmed I/O and Interrupt-Driven I/O. Page — not confirmed in source.
Status: Verified
Q4. Which component manages DMA transfers between memory and an I/O device?
A) CPU
B) DMA controller
C) Interrupt controller
D) Memory address register
Correct answer: B — DMA controller
Reference: VU handout, Lecture 31 — DMA and Magnetic Disks. Page — not confirmed in source.
Status: Verified
Q5. A single parity bit is used to:
A) Correct any two-bit error
B) Detect a single-bit error
C) Compress data before transmission
D) Encrypt data before transmission
Correct answer: B — Detect a single-bit error
Reference: VU handout, Lectures 33–34 — Error Control and Number Systems. Page — not confirmed in source.
Status: Verified
Q6. In the IEEE (754) standard, a single-precision floating-point number occupies:
A) 16 bits
B) 32 bits
C) 64 bits
D) 128 bits
Correct answer: B — 32 bits
Reference: VU handout, Lecture 35 — Integer Arithmetic and Floating-Point Arithmetic. Page — not confirmed in source.
Status: Verified
Q7. Virtual memory acts as:
A) A cache between the CPU and the registers
B) A cache between main memory and secondary memory
C) A replacement for the hard disk
D) A faster form of ROM
Correct answer: B — A cache between main memory and secondary memory
Reference: VU handout, Lectures 40–45 — Virtual Memory, I/O Subsystems, and Networks. Page — not confirmed in source.
Status: Verified
Q8. If the cache hit rate is h, the hit time is T(hit) and the miss penalty is T(miss), the average memory access time is:
A) h × T(hit) + (1 − h) × T(miss)
B) (1 − h) × T(hit) + h × T(miss)
C) T(hit) + T(miss)
D) h × T(miss) only
Correct answer: A — h × T(hit) + (1 − h) × T(miss)
Reference: VU handout, Lectures 23–45 — Memory hierarchy / average access time. Page — not confirmed in source.
Status: Verified
Q9. Which type of network spans a city or metropolitan area?
A) LAN
B) MAN
C) WAN
D) PAN
Correct answer: B — MAN
Reference: VU handout, Lectures 23–45 — Classification of Networks. Page — not confirmed in source.
Status: Verified
Q10. Seek time of a magnetic disk is the time required to:
A) Transfer one sector of data
B) Move the read/write heads from one track to another
C) Spin the disk for one full rotation
D) Load the operating system
Correct answer: B — Move the read/write heads from one track to another
Reference: VU handout, Lectures 31–32 — DMA and Magnetic Disks. Page — not confirmed in source.
Status: Verified
3. Midterm Subjective
Q1. What are the two approaches for control unit design?
Answer: A control unit can be designed in two ways: hard-wired control and microprogrammed control. In hard-wired control the control signals are generated by fixed combinational logic (fast, but hard to change). In microprogrammed control the control signals are generated by a stored microprogram — a sequence of microinstructions held in a control memory — which is easier to modify and extend.
Reference: VU handout, Lecture 16 — Logic Design and Control Signals Generation in SRC. p. 150 (Moaaz copy).
Status: Verified
Q2. What is a microprogram?
Answer: A collection of microinstructions is called a microprogram. Each microinstruction specifies the control signals to be generated in one clock cycle (or one step of an instruction's execution), and the microprogram as a whole controls the step-by-step execution of machine instructions in a microprogrammed control unit.
Reference: VU handout, Lectures 1–22 — Control unit design (lecture number not confirmed in source). p. 222 (Moaaz copy).
Status: Verified
Q3. Which register holds the address of the next instruction to be executed in the processor?
Answer: The program counter (PC). It holds the address of the next instruction in memory that is to be executed; after an instruction is fetched, the PC is normally incremented to point to the following instruction (unless a branch changes it).
Reference: VU handout, Lecture 4 — Introduction to SRC Processor. p. 28 (Moaaz copy).
Status: Verified
Q4. What is the working of the Processor Status Word (PSW)?
Answer: The Processor Status Word holds the current status of the processor. It records condition flags and status information resulting from the execution of instructions (for example whether the last result was zero, negative, or produced a carry), which later instructions — such as conditional branches — can test.
Reference: VU handout, Lecture 4 — Introduction to SRC Processor. p. 28 (Moaaz copy).
Status: Verified
Q5. Compare the FALCON-A and SRC processors on bus width and instruction length.
Answer: FALCON-A has a 16-bit internal bus (16 lines) and a 16-bit instruction length (its instruction register is IR<15..0>). The SRC processor has a 32-bit bus and a 32-bit instruction length. So the SRC moves twice as much data per bus transfer as FALCON-A and uses a fixed 32-bit instruction word, while FALCON-A is the smaller, teaching-oriented 16-bit design.
Reference: VU handout, Lectures 9–11 — ISA of the FALCON-A; FALCON-E and ISA Comparison. p. 157; p. 134 (Moaaz copy).
Status: Verified
4. Finalterm Subjective
Q1. Briefly describe the classification of networks.
Answer: Networks are classified mainly by the geographical area they cover: a PAN (Personal Area Network) covers a few metres around a person; a LAN (Local Area Network) covers a building or campus; a MAN (Metropolitan Area Network) covers a city; and a WAN (Wide Area Network) covers a country, continent, or the whole world. Larger networks are generally built by interconnecting smaller ones, and the classification also affects the data rates, ownership, and technologies used.
Reference: VU handout, Lectures 23–45 — Classification of Networks. Page — not confirmed in source.
Status: Verified
Q2. Write a note on pipelining.
Answer: Pipelining is a technique in which the execution of an instruction is split into stages (for example fetch, decode, execute, memory access, write-back), and several instructions are in different stages at the same time — like an assembly line. Ideally it lets the processor complete one instruction per clock cycle, improving throughput. Its benefit is limited by hazards: structural hazards (resource conflicts), data hazards (an instruction needs a result not yet produced), and control hazards (branches change the instruction flow), which may force stalls or flushing.
Reference: VU handout, Lectures 23–45 — Pipelined SRC and Hazards in Pipelining. Page — not confirmed in source.
Status: Verified
Q3. What is virtual memory?
Answer: Virtual memory acts as a cache between main memory and secondary memory. Data is fetched in advance from the secondary memory (hard disk) into the main memory so that data is already available in the main memory when needed. It gives every program the illusion of a large, contiguous address space, while the operating system moves pages between disk and RAM on demand; the page table translates virtual addresses to physical addresses.
Reference: VU handout, Lectures 40–45 — Virtual Memory, I/O Subsystems, and Networks. Page — not confirmed in source.
Status: Verified
Q4. What is DMA?
Answer: DMA (Direct Memory Access) is a method that lets an I/O device transfer data directly to or from main memory without continuous CPU involvement. The CPU sets up the transfer (source, destination, byte count) and hands control to the DMA controller, which moves the data and interrupts the CPU only when the transfer is complete. It is used for fast devices such as disks, where polling or interrupt-per-byte would waste CPU time.
Reference: VU handout, Lecture 31 — DMA and Magnetic Disks. Page — not confirmed in source.
Status: Verified
Q5. What is the difference between an instruction in a machine with and without pipelining?
Answer: In a machine without pipelining, one instruction runs to completion before the next starts, so the processor is idle during parts of each instruction and throughput is at most one instruction per several clock cycles. In a pipelined machine, the stages of several instructions overlap — while one instruction is being executed, the next is being decoded and the one after is being fetched — so ideally one instruction completes every clock cycle. The trade-off is extra complexity: hazards (data, control, structural) can stall the pipeline, so the ideal speedup is not always achieved.
Reference: VU handout, Lectures 23–45 — Pipelined SRC and Hazards in Pipelining. Page — not confirmed in source.
Status: Verified
Frequently asked questions
How many questions are in this CS501 solved paper? 30 questions in total: 10 midterm MCQs, 10 finalterm MCQs, 5 midterm subjective questions and 5 finalterm subjective questions, all with solved answers and handout references.
Are the answers verified? Yes. Every answer was solved independently and cross-checked against at least two sources, including the VU handout. Where a handout page number is confirmed it is cited under the question; page numbers still being verified are being added over time.
Can I practise these MCQs as a quiz? Yes — use the Take the CS501 quiz link in this post to practise all 20 MCQs interactively on the Solved MCQs page, with a live score counter.

Comments
Post a Comment