Ch 01: Introduction to Assembly Language

387 Questions387 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 221 โ€“ 230 of 387 Questions
Page 23 of 39
Q221
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.2. Internal RegistersEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In 8088 CPU architecture, the individual bits of which register work independently and individually as status indicators?
  1. A.FLAGS register
  2. B.Index register
  3. C.Base register
  4. D.Segment register
Q222
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.5. Arithmetic & LogicEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When a 32-bit dividend (stored in DX:AX) is divided by a 16-bit divisor using the 16-bit DIV instruction, what is the maximum register size allocated for the resulting quotient?
๐Ÿ’ป assembly Snippet
div bx  ; Quotient stored in 16-bit AX register
  1. A.16 bits (stored in AX)
  2. B.32 bits
  3. C.8 bits
  4. D.64 bits
Q223
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.5. Arithmetic & LogicEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When a 16-bit number is divided by an 8-bit divisor using the 'DIV reg8' instruction, where is the 8-bit quotient stored?
๐Ÿ’ป assembly Snippet
mov ax, 100
mov bl, 5
div bl       ; AL = quotient (20), AH = remainder (0)
  1. A.AX
  2. B.AL
  3. C.AH
  4. D.DX
Q224
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.5. Arithmetic & LogicEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
How many explicit operands does the ADC (Add with Carry) instruction require?
๐Ÿ’ป assembly Snippet
adc ax, bx  ; Adds AX + BX + CF -> AX
  1. A.0
  2. B.1
  3. C.2
  4. D.3
Q225
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.5. Arithmetic & LogicEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When performing 16-bit division using the 'DIV reg16' instruction, how many bits wide is the implicit dividend?
๐Ÿ’ป assembly Snippet
div bx  ; Divides 32-bit dividend DX:AX by 16-bit divisor BX
  1. A.64 bits
  2. B.32 bits
  3. C.16 bits
  4. D.8 bits
Q226
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.1. Basic Computer ArchitectureEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Regarding assembler software development utilities, which of the following statements is true?
  1. A.Assembler converts mnemonics to the corresponding OPCODE
  2. B.Assembler converts OPCODE to the corresponding mnemonics
  3. C.Assembler executes the assembly code all at once
  4. D.Assembler executes the assembly code step by step
Q227
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.7. Our First ProgramMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
If '0xBB' is the OPCODE for moving a constant value into the AX register, what is the complete hexadecimal byte representation (using little-endian format) for 'MOV AX, 336' (where 336 decimal equals 0x0150)?
๐Ÿ’ป assembly Snippet
mov ax, 336  ; Opcode BB, Immediate 0x0150 -> Byte sequence: BB 50 01
  1. A.0xBB0150
  2. B.0x5001BB
  3. C.0x01BB50
  4. D.0xBB5001
Q228
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.2. RegistersEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In x86 assembly language programming, the CX register is primarily used as a ________ register.
๐Ÿ’ป assembly Snippet
mov cx, 10
loop_label:
loop loop_label
  1. A.Source
  2. B.Counter
  3. C.Index
  4. D.Pointer
Q229
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.2. RegistersEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
List the names of the four primary 16-bit segment registers in 8088 CPU real mode architecture.
Q230
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.2. Internal RegistersEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In 8088 CPU architecture, individual bits of which register work independently and individually as status indicators?
  1. A.FLAGS register
  2. B.Index register
  3. C.Base register
  4. D.Accumulator register