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 151 โ€“ 160 of 387 Questions
Page 16 of 39
Q151
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ CMP Instruction MechanicsEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
True or False: The fundamental operation of the CMP instruction is to subtract the source operand from the destination operand without saving the mathematical result.
๐Ÿ’ป assembly Snippet
cmp ax, bx
  1. A.True
  2. B.False
Q152
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Assembly Language Size Mismatch Syntax ErrorsEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
True or False: A size mismatch error (such as 'MOV AL, AX') is a syntax error caught during assembly.
๐Ÿ’ป assembly Snippet
mov al, ax
  1. A.True
  2. B.False
Q153
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Unconditional JMP Instruction Control FlowEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Under what condition does an unconditional jump instruction (JMP) execute?
๐Ÿ’ป assembly Snippet
jmp label_name
  1. A.Executes unconditionally regardless of flag states
  2. B.Only if the condition is true
  3. C.Only if the condition is false
  4. D.None of the given
Q154
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Bit Rotation Instructions (ROR vs ROL vs RCR vs RCL)Mediumโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which rotation instruction shifts every bit one position to the right, inserts the bit dropped from the right (LSB) into the left (MSB), and also copies that bit into the Carry Flag?
๐Ÿ’ป assembly Snippet
ror ax, 1
  1. A.ROL
  2. B.RCR
  3. C.RCL
  4. D.None of the given
Q155
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Conditional Jump JA (Jump if Above) MechanicsEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
True or False: When executing a 'JA' (Jump if Above) instruction following a 'CMP', the jump is NOT taken if the unsigned destination operand is larger than the unsigned source operand.
๐Ÿ’ป assembly Snippet
cmp ax, bx
ja destination_label
  1. A.True
  2. B.False
Q156
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ System Bus Architecture (Address Bus Role)Easyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What group of signal lines does the processor use to inform memory which specific location to read or write?
  1. A.Control bus
  2. B.Data bus
  3. C.Address bus
  4. D.RAM
Q157
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ General Memory Operand RestrictionsEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
True or False: General 8088 data transfer instructions support direct memory-to-memory operations (e.g., 'MOV [mem1], [mem2]').
๐Ÿ’ป assembly Snippet
mov [mem1], [mem2]
  1. A.True
  2. B.False
Q158
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ NOP Opcode (0x90) Machine RepresentationEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In x86 assembly language, machine code byte 0x90 represents the opcode for which instruction?
๐Ÿ’ป assembly Snippet
nop
  1. A.Do nothing (NOP / XCHG AX, AX)
  2. B.Add
  3. C.Subtract
  4. D.Multiplication
Q159
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Intel Little-Endian Byte Ordering ArchitectureEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which byte ordering format is strictly followed by Intel x86 architectures for multi-byte values stored in system memory?
๐Ÿ’ป assembly Snippet
dw 0x1234
  1. A.Little-endian
  2. B.Big-endian
  3. C.Both little-endian and big-endian
  4. D.None of the given
Q160
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Equivalence of SHL and SAL InstructionsEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
True or False: In x86 assembly language, the SHL (Shift Logical Left) and SAL (Shift Arithmetic Left) instructions perform identical binary operations.
๐Ÿ’ป assembly Snippet
shl ax, 1
sal ax, 1
  1. A.True
  2. B.False