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 101 โ€“ 110 of 395 Questions
Page 11 of 40
Q101
๐Ÿง  Long Problem๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ Segmented Memory Model and Segment AssociationHardโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Compare the roles of the Code Segment Register (CS) and Data Segment Registers (DS / general data registers) in 8088 architecture.
๐Ÿ’ป assembly Snippet
mov ax, cs
mov ds, ax
Q102
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ Stack Mechanics and Push/Pop OperationsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which 8088 assembly instruction decrements the Stack Pointer (SP) by two bytes and then transfers a 16-bit word from the source operand onto the top of the stack?
๐Ÿ’ป assembly Snippet
push ax    ; Decrements SP by 2 and stores AX at [ss:sp]
  1. A.PUSH
  2. B.POP
  3. C.CALL
  4. D.MOV
Q103
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ FLAGS Register Access and Stack OperationsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Provide valid 8088 assembly instruction(s) to copy the contents of the FLAGS register into register AX.
๐Ÿ’ป assembly Snippet
pushf
pop ax
Q104
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ Stack Operations and PUSH/POP MechanicsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Describe the working mechanism and stack operation of the POP instruction in 8088 assembly language.
๐Ÿ’ป assembly Snippet
pop ax
Q105
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ Stack Pointer Mechanics during Push OperationsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When the instruction 'push ax' is executed in a downward-growing (decrementing) stack, how does the value of SP (Stack Pointer) change?
๐Ÿ’ป assembly Snippet
push ax
Q106
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ Instruction Operands and Addressing ModesEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In 8088 assembly language instructions, a constant (immediate value) can never be used as a ________ operand.
๐Ÿ’ป assembly Snippet
mov ax, 10    ; Valid: 10 is source
mov 10, ax    ; Invalid: Constant cannot be destination
  1. A.Source
  2. B.Destination
  3. C.Memory
  4. D.Register
Q107
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ Data Movement Restrictions and Memory AccessEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
True or False: In 8088 assembly language, a single MOV instruction can copy data directly from one memory location to another memory location (e.g., 'mov [num2], [num1]').
๐Ÿ’ป assembly Snippet
; Invalid instruction:
mov [num2], [num1]

; Valid equivalent:
mov ax, [num1]
mov [num2], ax
  1. A.True
  2. B.False
Q108
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ Operand Size Matching RulesEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
True or False: In 8088 assembly language, arithmetic and data movement instructions allow mixing operands of different sizes (such as adding an 8-bit register directly to a 16-bit register: 'add bx, al') without explicit zero/sign extension.
๐Ÿ’ป assembly Snippet
; Invalid mismatched operation:
add bx, al

; Valid size-matched operation:
mov ah, 0
add bx, ax
  1. A.True
  2. B.False
Q109
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ Assembly Language Instructions and OperandsEasyโญ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the 8088 assembly language instruction 'MOV AX, 5', how many operands are present?
๐Ÿ’ป assembly Snippet
mov ax, 5
  1. A.1
  2. B.2
  3. C.3
  4. D.4
Q110
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ Addressing Modes and Effective Address CalculationEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
All memory addressing modes in the Intel 8088 (iAPX88) processor calculate an offset within a segment, which is called the ________ address.
๐Ÿ’ป assembly Snippet
mov ax, [bx+si+4]    ; Effective Address EA = BX + SI + 4
  1. A.Effective Address
  2. B.Indirect Address
  3. C.Direct Address
  4. D.Faulty Address