Ch 10: Hardware Interrupts and PIC 8259

189 Questions189 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 121 โ€“ 130 of 189 Questions
Page 13 of 19
Q121
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ Video RAM Word Storage Layout (Character vs Attribute)Easyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In text-mode Video RAM, each screen cell is stored as a 16-bit word. What does the memory byte at the higher address (odd offset) contain?
๐Ÿ’ป assembly Snippet
mov word [es:0], 0x0741
  1. A.The character code
  2. B.The attribute byte
  3. C.The parameters
  4. D.The dimensions
Q122
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ Video RAM Segment Address Initialization (0xB800)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following code sequences correctly sets up the Extra Segment (ES) register to point to text-mode Video RAM?
๐Ÿ’ป assembly Snippet
mov ax, 0xb800
mov es, ax
  1. A.MOV AX, 0xb008 MOV ES, AX
  2. B.MOV AX, 0xb800 MOV ES, AX
  3. C.MOV AX, 0x8b00 MOV ES, AX
  4. D.MOV AX, 0x800b MOV ES, AX
Q123
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ Video RAM Character Cell Memory FootprintEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In text-mode Video RAM, how many memory bytes correspond to each character cell on the screen?
  1. A.One byte
  2. B.Two bytes
  3. C.Four bytes
  4. D.Eight bytes
Q124
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ Video RAM Attribute Byte Background DecodingMediumโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Executing 'MOV word [ES:0], 0x0741' displays character 'A' on screen. What is the background color of the character cell?
๐Ÿ’ป assembly Snippet
mov word [es:0], 0x0741
  1. A.Black
  2. B.White
  3. C.Red
  4. D.Blue
Q125
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ Incrementing vs Decrementing Stack ArchitecturesMediumโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What is your understanding of an Incrementing Stack versus a Decrementing Stack in computer architecture?
๐Ÿ’ป assembly Snippet
push ax
pop ax
Q126
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ Subroutine Execution Control (CALL vs RET)Easyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What is the difference between the CALL instruction and the RET instruction in 8088 assembly language?
๐Ÿ’ป assembly Snippet
call my_subroutine
...
my_subroutine:
    ret
Q127
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ COM File Entry Offset (0x0100)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In DOS executable architecture, the first instruction of a '.COM' file must be located at offset:
๐Ÿ’ป assembly Snippet
org 0x0100
  1. A.0x0010
  2. B.0x0100
  3. C.0x1000
  4. D.0x0000
Q128
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ Video RAM Attribute Byte Bit 7 Blinking ControlEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In text-mode Video RAM, which bit position in the 8-bit attribute byte controls character blinking on the screen?
  1. A.Bit 5
  2. B.Bit 6
  3. C.Bit 7
  4. D.Bit 8
Q129
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ Segment Override Prefix MechanicsMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The mechanism through which a non-default segment register is explicitly specified in an assembly memory operand (e.g., 'MOV AX, [ES:BX]') is known as a:
๐Ÿ’ป assembly Snippet
mov ax, [es:bx]
  1. A.Segment addressing
  2. B.Segment override prefix
  3. C.Segment indexing
  4. D.Offset indexing
Q130
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ Stack Pointer (SP) Implicit Segment AssociationEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In 8088 CPU architecture, the Stack Pointer (SP) register is implicitly paired by default with which segment register?
  1. A.DS (Data Segment)
  2. B.SS (Stack Segment)
  3. C.ES (Extra Segment)
  4. D.CS (Code Segment)