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 41 โ€“ 50 of 261 Questions
Page 5 of 27
Q41
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 3๐Ÿท๏ธ 3.1. Basic Assembly Instructions (Labels and Memory Allocation)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the assembly language line `total: dw 0`, the identifier `total` represents a __________.
๐Ÿ’ป assembly Snippet
total: dw 0 ; 'total' is a symbolic label pointing to a 16-bit word location
  1. A.Literal
  2. B.Variable
  3. C.Label
  4. D.Starting point
Q42
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 3๐Ÿท๏ธ 3.1. Basic Assembly Instructions (ADC Instruction Operands)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Functionally, the Add with Carry instruction (`ADC`) involves how many total operands during execution (including implicit status flags)?
๐Ÿ’ป assembly Snippet
adc ax, bx ; AX = AX + BX + CarryFlag (3 operands involved)
  1. A.two
  2. B.three
  3. C.Five
  4. D.Zero
Q43
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 3๐Ÿท๏ธ 3.1. Register Architecture (14 Core Registers in 8088/8086)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The iAPX88 (8088/8086) processor architecture consists of how many total core programmer-accessible registers?
  1. A.13
  2. B.12
  3. C.9
  4. D.14
Q44
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 3๐Ÿท๏ธ 3.1. Register Architecture (General-Purpose Registers AX, BX, CX, DX)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which registers are classified as the four primary General-Purpose Registers in x86 architecture?
  1. A.AX, BX, CX, and DX
  2. B.XA, BX, CX, and DX
  3. C.SS, SI, and DI
  4. D.CS, DS, SS, and ES
Q45
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 3๐Ÿท๏ธ 3.1. Register Architecture (AX Register Partitioning)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
True or False: Referring to 'AX' in 16-bit x86 assembly means referencing the complete 16-bit accumulator register (composed of high byte AH and low byte AL).
๐Ÿ’ป assembly Snippet
mov ax, 0x1234 ; AX is 16-bit word (AH=0x12, AL=0x34)
  1. A.True
  2. B.False
Q46
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 3๐Ÿท๏ธ 3.1. Register Architecture (AX Register Partitioning AH and AL)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The upper and lower bytes of the 16-bit accumulator register AX are separately accessible as __________.
๐Ÿ’ป assembly Snippet
mov ah, 0x12 ; Accesses upper byte of AX
mov al, 0x34 ; Accesses lower byte of AX
  1. A.AH and AL
  2. B.A Lower and A Upper
  3. C.AL, AU
  4. D.AX
Q47
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 3๐Ÿท๏ธ 3.1. Register Architecture (AX Accumulator Register)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
AX is a general-purpose register where the letter 'A' stands for __________.
  1. A.Academic
  2. B.Ado
  3. C.Architecture
  4. D.Accumulator
Q48
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 3๐Ÿท๏ธ 3.1. Register Architecture (BX Base Register Function)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The letter 'B' in register BX stands for __________ because of its special role in memory addressing.
๐Ÿ’ป assembly Snippet
mov ax, [bx] ; BX used as base register in indirect memory addressing
  1. A.Busy
  2. B.Base
  3. C.Better
  4. D.None of the Given
Q49
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 3๐Ÿท๏ธ 3.1. Register Architecture (DX Register I/O Port Function)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The letter 'D' in register DX stands for Data / Destination, as it holds hardware port addresses during __________.
๐Ÿ’ป assembly Snippet
mov dx, 0x3f8 ; Load serial port address into DX
in  al, dx    ; Read byte from port
  1. A.I/O operations
  2. B.operations
  3. C.memory cells
  4. D.Memory I/O operations
Q50
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 3๐Ÿท๏ธ 3.1. Register Architecture (CX Counter Register Function)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The letter 'C' in register CX stands for Counter because certain instructions work with an automatic count maintained in the __________.
๐Ÿ’ป assembly Snippet
mov cx, 10
rep stosb ; Uses CX register as loop counter
  1. A.DI register
  2. B.BX register
  3. C.CX register
  4. D.DX register