Ch 08: String Instructions and Primitives

307 Questions307 MCQs0 Short Questions0 Long Questions
๐ŸŽฏ Exam Practice Papers
SEMESTER PASS

CS401 - Computer Architecture and Assembly Language Programming Examination Practice

Timed practice exam simulation for CS401 - Computer Architecture and Assembly Language Programming.

๐Ÿ“˜ VU MID TERM EXAMLectures 1 to 22
โฑ๏ธ 60 Mins

Mid Term Examination

Covers syllabus of Lectures 1 to 22 with 30 high-yield MCQs in a timed exam environment.

๐Ÿ“30 MCQs
โฑ๏ธ60 Minutes
๐Ÿ“— VU FINAL TERM EXAMLectures 23 to 45
โฑ๏ธ 90 Mins

Final Term Examination

Comprehensive semester exam preparation with 45 MCQs covering Lectures 23 to 45 with complete course coverage.

๐Ÿ“45 MCQs
โฑ๏ธ90 Minutes
Showing 221 โ€“ 230 of 307 Questions
Page 23 of 31
Q221
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Serial Port Interrupt Request Assignment (IRQ 4 / COM1)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which hardware Interrupt Request (IRQ) line is connected to serial communication port COM1?
  1. A.IRQ 4
  2. B.IRQ 5
  3. C.IRQ 6
  4. D.IRQ 7
Q222
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ 8259 PIC Control Port 20h and Data Port 21hEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the 8259 Programmable Interrupt Controller (PIC), which I/O port address functions as the primary Control / Command port?
๐Ÿ’ป assembly Snippet
mov al, 0x20
out 0x20, al
  1. A.Port 19h
  2. B.Port 20h
  3. C.Port 21h
  4. D.Port 22h
Q223
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ 8259 PIC I/O Port Address MappingEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
How many consecutive I/O port addresses does a single 8259 Programmable Interrupt Controller (PIC) chip occupy in x86 isolated I/O address space?
  1. A.1 port address
  2. B.2 port addresses (e.g., 20h and 21h for Master PIC)
  3. C.4 port addresses
  4. D.8 port addresses
Q224
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ 8259 PIC Hardware Input and Output SignalsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The 8259 Programmable Interrupt Controller (PIC) interface consists of how many input hardware request lines and CPU interrupt output signals?
  1. A.One input signal and eight output signals
  2. B.One input signal and one output signal
  3. C.Eight input signals and one output signal
  4. D.Eight input signals and eight output signals
Q225
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Single-Step Interrupt (INT 1) and IVT Vector Memory MappingMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
For what purpose is 'INT 1' reserved in x86 processor architecture? Specify its exact physical memory byte locations in the Interrupt Vector Table (IVT).
Q226
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Single-Step Debugging and Trap Flag (INT 1)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Explain the purpose of the Single-Step Interrupt (INT 1) and how the Trap Flag (TF) enables step-by-step program debugging.
Q227
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Interrupt Service Routine (ISR) and IRET Instruction MechanicsMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Explain the purpose of an Interrupt Service Routine (ISR) and describe how the IRET (Interrupt Return) instruction differs from a standard RET instruction.
๐Ÿ’ป assembly Snippet
my_isr:
    push ax
    ; ISR execution body
    pop ax
    iret
Q228
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Control Unit Role in System Bus SignalingEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Transmitting appropriate control and timing signals (such as MEMR or MEMW) over the control bus to memory is the responsibility of which system component?
  1. A.Control Unit (CU) / Processor
  2. B.Memory Management Unit
  3. C.Data Bus
  4. D.ALU
Q229
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Flag Register Structure and MeaningEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
A processor register where each individual bit has a distinct, independent meaning representing a CPU status condition or control setting is called the:
  1. A.Flag Register
  2. B.Accumulator Register
  3. C.Index Register
  4. D.Segment Register
Q230
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ 8088 Memory Addressing Modes CountEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
How many distinct modes of memory access (addressing modes) are supported by the iAPX88 (8088) processor?
  1. A.5
  2. B.7
  3. C.9
  4. D.12