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 171 โ€“ 180 of 387 Questions
Page 18 of 39
Q171
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Conditional Jump JA (Jump if Above) BehaviorEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
True or False: Following a CMP instruction, a 'JA' (Jump if Above) jump is NOT taken if the unsigned destination operand is larger than the unsigned source operand.
๐Ÿ’ป assembly Snippet
cmp ax, bx
ja label_above
  1. A.True
  2. B.False
Q172
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ RCR (Rotate through Carry Right) Instruction MechanicsMediumโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which rotation operation inserts the Carry Flag from the left (into MSB), shifts every bit one position to the right, and drops the rightmost bit (LSB) into the Carry Flag?
๐Ÿ’ป assembly Snippet
rcr ax, 1
  1. A.RCR
  2. B.ROL
  3. C.RCL
  4. D.ROR
Q173
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Parity Jump Instructions (JP / JPE)Easyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which conditional jump instruction is taken if an arithmetic or logical operation yields a destination value containing an even number of set bits (even parity)?
๐Ÿ’ป assembly Snippet
jpe even_parity_label
  1. A.JP
  2. B.JPE
  3. C.JNP
  4. D.both JP and JPE
Q174
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Direct Memory Addressing Offset SpecificationEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In direct memory addressing mode, the memory address explicitly specified within the instruction encoding represents the:
๐Ÿ’ป assembly Snippet
mov ax, [0x2000]
  1. A.16-bit offset (Effective Address) of the memory location
  2. B.20-bit physical RAM address
  3. C.Segment base address
  4. D.Register index
Q175
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Carry Flag (CF) Borrow OperationsEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When a larger unsigned number is subtracted from a smaller unsigned number requiring a borrow, which CPU status flag is set?
๐Ÿ’ป assembly Snippet
mov al, 2
sub al, 5
  1. A.ZF
  2. B.CF
  3. C.SF
  4. D.OF
Q176
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Illegal Memory Register Subtraction ModesEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
True or False: Subtracting an index register from a base register (e.g., [BX - SI]) is illegal in 8088 assembly language.
๐Ÿ’ป assembly Snippet
mov ax, [bx+si]
  1. A.True
  2. B.False
Q177
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 20-Bit Physical Address Wraparound MechanismMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What is the term for the 8088 real mode memory mechanism that drops the carry bit when a physical address calculation exceeds 1 MB (0xFFFFF) to keep the address valid?
  1. A.Carry Overload
  2. B.Overflow
  3. C.Address Wraparound
  4. D.None of the above
Q178
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Physical Address Calculation and Effective AddressEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the 8088 segmented memory model, calculating a physical address depends on combining the shifted segment base address with which offset value?
  1. A.Effective address
  2. B.Base register address
  3. C.Instruction Pointer only
  4. D.Flags register
Q179
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Implicit Register Pairing with Stack Segment (SS)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In 8088 architecture, the Stack Segment (SS) register is by default implicitly associated with which base register when accessing the stack frame?
๐Ÿ’ป assembly Snippet
mov ax, [bp+4]
  1. A.BP
  2. B.IP
  3. C.SI
  4. D.DI
Q180
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ CMP Instruction Subtraction OperationEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which internal arithmetic operation is used by a simple CMP (Compare) instruction to set CPU status flags?
๐Ÿ’ป assembly Snippet
cmp ax, bx
  1. A.Addition
  2. B.Division
  3. C.Subtraction
  4. D.Multiplication