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 161 โ€“ 170 of 387 Questions
Page 17 of 39
Q161
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Carry Flag (CF) Borrow Mechanics in Unsigned SubtractionEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“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, 5
sub al, 10
  1. A.ZF
  2. B.CF
  3. C.SF
  4. D.OF
Q162
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Intel Processor Historical MilestonesEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
True or False: The first 16-bit processor produced by Intel was the 8085.
  1. A.True
  2. B.False
Q163
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Assembly Source File Extensions (.asm)Easyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What is the standard file extension used for assembly language source files?
  1. A..doc
  2. B..com
  3. C..lst
  4. D..asm
Q164
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Effective Address (EA) Calculation in 8088Easyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
All indirect memory addressing modes in the iAPX88 (8088) architecture compute and return a 16-bit offset value known as the:
๐Ÿ’ป assembly Snippet
mov ax, [bx+si+4]
  1. A.Effective Address (EA)
  2. B.Segment Base Address
  3. C.Physical RAM Address
  4. D.Bus Control Address
Q165
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Bit Shift Instructions (SHR vs SHL/SAR)Mediumโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which bit shifting operation inserts a zero into the Most Significant Bit (left), shifts every bit one position to the right, and copies the dropped Least Significant Bit into the Carry Flag?
๐Ÿ’ป assembly Snippet
shr ax, 1
  1. A.SHL
  2. B.SAL
  3. C.SAR
  4. D.None of the given
Q166
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Effective Address (EA) CalculationEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
All addressing mechanisms in the 8088 (iAPX88) architecture calculate and return a 16-bit offset value known as the:
๐Ÿ’ป assembly Snippet
mov ax, [bx+si+4]
  1. A.Effective address
  2. B.Physical address
  3. C.Direct address
  4. D.None of the given
Q167
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Direct Memory Addressing ModeEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The assembly instruction 'MOV, AX' is an example of which memory addressing mode?
๐Ÿ’ป assembly Snippet
mov [1234], ax
  1. A.Direct addressing
  2. B.Base register indirect
  3. C.Base-plus-index
  4. D.None of the given
Q168
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ CPU Registers as Scratchpad MemoryEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
True or False: Microprocessor registers are also referred to as internal high-speed scratchpad memory.
  1. A.True
  2. B.False
Q169
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Primary Function of CPU RegistersEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What is the primary function of a CPU register in assembly language processing?
  1. A.Hold the operand data
  2. B.Hold the operator opcode
  3. C.Hold both operator and operand simultaneously
  4. D.None of the given
Q170
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ JO (Jump if Overflow) Conditional JumpEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which conditional jump instruction is taken if a signed arithmetic operation resulted in an unexpected sign bit change (signed overflow)?
๐Ÿ’ป assembly Snippet
add al, bl
jo overflow_handler
  1. A.JO
  2. B.JNO
  3. C.JNZ
  4. D.JZ