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 111 โ€“ 120 of 395 Questions
Page 12 of 40
Q111
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ Stack Operations and POP MechanicsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When a value is popped from a downward-growing (decrementing) stack in 8088 assembly language, how is the Stack Pointer (SP) updated relative to retrieving the item?
๐Ÿ’ป assembly Snippet
pop ax
  1. A.Copied from the stack first, then SP is incremented
  2. B.SP is incremented first, then copied from the stack
  3. C.SP is decremented first, then copied from the stack
  4. D.Copied from the stack first, then SP is decremented
Q112
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ Stack Operations and PUSH MechanicsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When a value is pushed onto a downward-growing (decrementing) stack in the 8088 CPU, how is the Stack Pointer (SP) updated relative to copying the item?
๐Ÿ’ป assembly Snippet
push ax
  1. A.First decremented, then copied onto the stack
  2. B.First incremented, then copied onto the stack
  3. C.Copied onto the stack, then incremented
  4. D.Copied onto the stack, then decremented
Q113
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ MOV Instruction Syntax and OperandsEasy๐Ÿ”โญ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Write valid 8088 assembly language instructions to perform each of the following data transfer tasks: 1. Copy BL into CL 2. Copy DX into AX 3. Store 0x12 into AL 4. Store 0x1234 into AX 5. Store 0xFFFF into AX
๐Ÿ’ป assembly Snippet
mov cl, bl
mov ax, dx
mov al, 0x12
mov ax, 0x1234
mov ax, 0xFFFF
Q114
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ NASM Data Definition DirectivesEasy๐Ÿ”โญ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which NASM pseudo-instruction directive is used to reserve or define an 8-bit byte memory variable?
๐Ÿ’ป assembly Snippet
var1: db 10
  1. A.db
  2. B.dw
  3. C.dn
  4. D.dd
Q115
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ Assembly Instruction Syntax and OperandsEasyโญ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the 8088 assembly instruction 'mov ax, 5', the numeric value '5' serves as the ________ operand.
๐Ÿ’ป assembly Snippet
mov ax, 5
  1. A.source
  2. B.destination
  3. C.memory
  4. D.register
Q116
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ Direct Memory Addressing ModeEasy๐Ÿ”โญ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Write a valid 8088 assembly language instruction to copy the word contents of the memory location at offset 0x0025 in the current data segment into register AX.
๐Ÿ’ป assembly Snippet
mov ax, [0x0025]
Q117
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ Data Declaration and Intrinsic TypesEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Explain how data is declared in 8088 assembly language and contrast basic assembly memory allocation types (BYTE and WORD) with high-level language data types.
๐Ÿ’ป assembly Snippet
num1: db 10
num2: dw 1000
Q118
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ Direct Addressing Mode and Symbol Table ResolutionMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Explain the mechanism of Direct Addressing Mode in 8088 assembly language and describe how the assembler utilizes the symbol table to resolve memory offset addresses.
๐Ÿ’ป assembly Snippet
mov ax, [num1]
Q119
๐Ÿง  Long Problem๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ Size Mismatch Errors and Type SynchronizationHardโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Differentiate between syntax errors and size mismatch logic errors in assembly language, detailing the programmer's responsibility regarding operand size alignment.
๐Ÿ’ป assembly Snippet
num1: db 5
mov ax, [num1]
Q120
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 2๐Ÿท๏ธ Register Indirect Addressing ModeMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Describe Register Indirect Addressing Mode in 8088 assembly language, specifying which base and index registers can hold memory offset addresses.
๐Ÿ’ป assembly Snippet
mov bx, array
mov ax, [bx]