Ch 09: Software Interrupts and DOS/BIOS Services

174 Questions174 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 111 โ€“ 120 of 174 Questions
Page 12 of 18
Q111
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ JCXZ Register-Based Conditional JumpEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following jump commands does NOT depend on the state of the FLAGS register?
๐Ÿ’ป assembly Snippet
jcxz cx_is_zero
  1. A.JCXZ
  2. B.JO
  3. C.JNE
  4. D.JP
Q112
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ REPNE SCASB String Null Byte SearchingMediumโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When using the SCAS instruction to scan a string for a null byte (0x00), SCASB is paired with which repeat prefix and value in AL?
๐Ÿ’ป assembly Snippet
mov al, 0
repne scasb
  1. A.REPNE prefix with 0 in AL
  2. B.REPE prefix with 1 in AL
  3. C.REP prefix with 0xFF in AL
  4. D.LOOP prefix with 0 in AL
Q113
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 16-Bit Stack Word Size RestrictionsEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In 8088 assembly language architecture, how many bytes CANNOT be pushed onto or popped from the stack in a single instruction?
๐Ÿ’ป assembly Snippet
push ax
  1. A.Single byte (1 byte)
  2. B.Double byte (2 bytes / Word)
  3. C.Four bytes (32 bits)
  4. D.Eight bytes (64 bits)
Q114
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ STOS String Instruction Variants (STOSB / STOSW)Easyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following are the two primitive byte and word variants of the STOS (Store String) instruction?
๐Ÿ’ป assembly Snippet
stosb
stosw
  1. A.STOSB and STOSW
  2. B.STOS and STOSES
  3. C.STOS1 and STOS2
  4. D.STOSA and STOSB
Q115
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ Far Jump Absolute Addressing MechanicsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which type of jump instruction in 8088 assembly language is absolute (specifying explicit segment and offset target addresses) rather than position-relative?
๐Ÿ’ป assembly Snippet
jmp far ptr target_label
  1. A.Near jump
  2. B.Short jump
  3. C.Far jump
  4. D.Extra jump
Q116
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ DW Assembler Directive Memory AllocationEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
How many bits of memory storage are allocated per declared value by the 'DW' (Define Word) assembler directive?
๐Ÿ’ป assembly Snippet
var_name dw 0x1234
  1. A.8 bits
  2. B.16 bits
  3. C.24 bits
  4. D.32 bits
Q117
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ LDS Instruction Segment Register LoadingEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The LDS instruction loads a 32-bit far pointer from memory, placing the 16-bit offset into a specified destination register and the 16-bit segment selector into which segment register?
๐Ÿ’ป assembly Snippet
lds si, [far_ptr]
  1. A.ES
  2. B.DS
  3. C.CX
  4. D.SS
Q118
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ Video RAM Text Mode Screen Dimensions (25x80)Easyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In standard IBM PC text mode video RAM, the screen is formatted as a 2D array consisting of how many rows and columns?
  1. A.25 rows, 40 columns
  2. B.25 rows, 80 columns
  3. C.80 rows, 25 columns
  4. D.50 rows, 40 columns
Q119
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ Far Jump Absolute Addressing CharacteristicsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
A 'Far' jump instruction in 8088 assembly language is not position-relative but is:
๐Ÿ’ป assembly Snippet
jmp far ptr target_label
  1. A.Memory dependent
  2. B.Absolute
  3. C.Temporary
  4. D.Indirect
Q120
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ Far Jump Mechanics and Inter-Segment Control TransferMediumโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Why is it necessary to provide both the segment address and the offset address in the case of a FAR jump instruction?
๐Ÿ’ป assembly Snippet
jmp far ptr target_label