Ch 03: Branching, Loops and Program Flow

261 Questions261 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 81 โ€“ 90 of 261 Questions
Page 9 of 27
Q81
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 3๐Ÿท๏ธ 3.1. Register Architecture (AX Byte Registers AH and AL)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the 16-bit AX register, its upper 8-bit byte and lower 8-bit byte are individually accessible as __________.
  1. A.AH and AL
  2. B.A Lower and A Upper
  3. C.AL, AU
  4. D.AX
Q82
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 3๐Ÿท๏ธ 3.1. Register Architecture (AX Accumulator Register Name)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In register AX, the letter 'A' stands for __________.
  1. A.Academic
  2. B.Ado
  3. C.Architecture
  4. D.Accumulator
Q83
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 3๐Ÿท๏ธ 3.1. Register Architecture (BX Base Register Name)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In register BX, the letter 'B' stands for __________ because of its special role in memory addressing.
  1. A.Busy
  2. B.Base
  3. C.Better
  4. D.None of the Given
Q84
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 3๐Ÿท๏ธ 3.1. Register Architecture (DX Data Register in I/O Operations)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In register DX, the letter 'D' stands for Data, and it acts as the port address holder in __________.
  1. A.I/O operations
  2. B.operations
  3. C.memory cells
  4. D.Memory I/O operations
Q85
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 3๐Ÿท๏ธ 3.1. Register Architecture (CX Count Register Function)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In register CX, the letter 'C' stands for Counter because certain instructions (such as `LOOP` and `REP`) work with an automatic iteration count in the __________.
  1. A.DI register
  2. B.BX register
  3. C.CX register
  4. D.DX register
Q86
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 3๐Ÿท๏ธ 3.1. Register Architecture (SI and DI Index Registers)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which registers serve as the primary Index Registers in the Intel 8088 architecture to hold memory offset addresses during data access and string operations?
๐Ÿ’ป assembly Snippet
mov si, source_buffer ; SI holds source memory offset
mov di, dest_buffer   ; DI holds destination memory offset
Q87
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 3๐Ÿท๏ธ 3.1. Register Architecture (SI and DI Index Registers)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which pair of registers serves as the primary index registers in the Intel iAPX88 architecture to hold memory addresses for data access?
๐Ÿ’ป assembly Snippet
mov si, source_buffer
mov di, dest_buffer
  1. A.SI and SS
  2. B.PI and DI
  3. C.SI and IP
  4. D.SI and DI
Q88
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 3๐Ÿท๏ธ 3.1. Register Architecture (Instruction Pointer IP)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In Intel iAPX88 architecture, __________ is the special register containing the memory offset address of the next instruction to be executed.
  1. A.AX
  2. B.PI
  3. C.IP
  4. D.SI
Q89
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 3๐Ÿท๏ธ 3.1. Register Architecture (Stack Pointer SP and Instructions)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The Stack Pointer (`SP`) is a specialized memory pointer register used indirectly by a specific set of __________ (e.g., `PUSH`, `POP`, `CALL`, `RET`).
๐Ÿ’ป assembly Snippet
push ax ; SP decremented by 2
pop bx  ; SP incremented by 2
  1. A.instructions
  2. B.Pointers
  3. C.Indexes
  4. D.Variables
Q90
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 3๐Ÿท๏ธ 3.1. Register Architecture (Base Pointer BP and Stack Frames)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
__________ is also a memory pointer register containing the base address of variables and parameters within a special area of memory called the stack.
๐Ÿ’ป assembly Snippet
mov bp, sp
mov ax, [bp + 4] ; Accesses parameter on stack
  1. A.SP
  2. B.BP
  3. C.PB
  4. D.AC