Ch 02: 16-Bit Segmented Memory Model & Addressing Modes

395 Questions395 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 331 โ€“ 340 of 395 Questions
Page 34 of 40
Q331
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ 2.3. Addressing ModesMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Why does the assembly statement 'MOV AX, [SI + DI]' produce a syntax error?
๐Ÿ’ป assembly Snippet
mov ax, [si + di]  ; Illegal: cannot combine two index registers
  1. A.Two index registers cannot be used together as a memory address
  2. B.An index register cannot be used as a memory address
  3. C.Destination register size mismatch
  4. D.None of the given options
Q332
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ 2.7. Stack OperationsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The hardware stack is an abstract linear ________ that operates in a First-In, Last-Out (FILO) or Last-In, First-Out (LIFO) manner.
  1. A.Program
  2. B.Data structure
  3. C.Heap
  4. D.None of the given options
Q333
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ 2.7. Stack OperationsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When continuous push operations cause the stack to grow beyond its allocated boundary (where SP eventually wraps around past 0), overwriting critical memory, this condition is called stack ________.
  1. A.Overflow
  2. B.Leakage
  3. C.Error
  4. D.Pointer
Q334
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ 2.7. Stack OperationsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The POP operation copies the word element located at the top of the stack into its specified destination ________.
๐Ÿ’ป assembly Snippet
pop ax
  1. A.Register
  2. B.Operand (Register or Memory)
  3. C.RET n
  4. D.Pointer
Q335
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ 2.7. Stack OperationsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which assembly instruction decrements SP (the Stack Pointer) by two and then transfers a word from the source operand onto the top of the stack?
๐Ÿ’ป assembly Snippet
push ax
  1. A.PUSH
  2. B.POP
  3. C.CALL
  4. D.RET
Q336
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ 2.7. Stack OperationsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Executing the POP instruction transfers the 16-bit word at the top of the stack (SS:SP) to the destination operand, and then ________ SP by two to adjust the stack frame.
๐Ÿ’ป assembly Snippet
pop ax
  1. A.Increments
  2. B.Decrements
  3. C.Increases by 4
  4. D.Decreases by 4
Q337
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ 2.2. Data Definition DirectivesEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In NASM assembly language, which of the following syntax declarations can be used to define a byte sequence representing the string 'abc'?
๐Ÿ’ป assembly Snippet
db 'abc'
db 'a', 'b', 'c'
db 0x61, 0x62, 0x63
  1. A.db 0x61, 0x62, 0x63
  2. B.db 'a', 'b', 'c'
  3. C.db 'abc'
  4. D.All of the above
Q338
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ 2.1. Segment RegistersEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The 'LES' instruction loads a 32-bit far pointer from memory, placing the segment selector into which segment register?
๐Ÿ’ป assembly Snippet
les di, [far_ptr]
  1. A.ES
  2. B.DS
  3. C.PS
  4. D.LS
Q339
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ 2.1. Segment RegistersEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The 'LDS' instruction loads a 32-bit far pointer from memory, placing the segment selector into which segment register?
๐Ÿ’ป assembly Snippet
lds si, [far_ptr]
  1. A.ES
  2. B.DS
  3. C.PS
  4. D.LS
Q340
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ 2.7. Stack OperationsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The Stack Pointer (SP) register is a memory pointer that is modified indirectly by a set of stack manipulation ________.
๐Ÿ’ป assembly Snippet
push ax  ; Decrements SP by 2
pop ax   ; Increments SP by 2
  1. A.Instructions (e.g., PUSH, POP, CALL, RET)
  2. B.Pointers
  3. C.Indexes
  4. D.Variables