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 231 โ€“ 240 of 387 Questions
Page 24 of 39
Q231
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.5. Arithmetic & LogicEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When a 32-bit dividend (stored in DX:AX) is divided by a 16-bit divisor using the 'DIV reg16' instruction, what is the maximum register size of the quotient?
๐Ÿ’ป assembly Snippet
div bx  ; Quotient stored in 16-bit AX register
  1. A.16 bits
  2. B.32 bits
  3. C.8 bits
  4. D.4 bits
Q232
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.5. Arithmetic & LogicEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When a 16-bit number is divided by an 8-bit divisor using the 'DIV reg8' instruction, where is the resulting quotient placed?
๐Ÿ’ป assembly Snippet
mov ax, 100
mov bl, 5
div bl       ; AL = quotient (20), AH = remainder (0)
  1. A.AL
  2. B.AX
  3. C.AH
  4. D.DX
Q233
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.3. Data MovementEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Define an implied operand in assembly language instructions and provide an example.
๐Ÿ’ป assembly Snippet
mul bl  ; Implied multiplicand AL, implied destination AX
Q234
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.5. Arithmetic & LogicEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When the operand of a DIV instruction is 16 bits wide, how many bits wide is the implied dividend?
๐Ÿ’ป assembly Snippet
div bx  ; Divides 32-bit dividend DX:AX by 16-bit divisor BX
  1. A.64 bits
  2. B.32 bits
  3. C.16 bits
  4. D.8 bits
Q235
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.2. Internal RegistersEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In 8088 CPU architecture, register CX is designated as the:
๐Ÿ’ป assembly Snippet
mov cx, 10
loop_label:
loop loop_label
  1. A.Count register
  2. B.Data register
  3. C.Index register
  4. D.Base register
Q236
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.5. Arithmetic & LogicEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In 8088 assembly language, the DIV (Unsigned Divide) instruction supports how many primary operand forms based on operand size?
๐Ÿ’ป assembly Snippet
div bl   ; 8-bit form
div bx   ; 16-bit form
  1. A.Two forms
  2. B.Three forms
  3. C.Four forms
  4. D.Five forms
Q237
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.5. Arithmetic & LogicEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When a very large dividend is divided by a very small divisor such that the calculated quotient exceeds the capacity of the destination register, what type of error occurs?
  1. A.Divide logical error
  2. B.Divide overflow error
  3. C.Divide syntax error
  4. D.An illegal instruction
Q238
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.1. Basic Computer ArchitectureEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The Sun SPARC RISC processor architecture utilizes a fixed instruction encoding length of:
  1. A.16-bit
  2. B.32-bit
  3. C.64-bit
  4. D.20-bit
Q239
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.1. Introduction to Computer ArchitectureEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which three system buses are used to communicate between the processor and memory?
  1. A.Address bus, Data bus, and Data bus
  2. B.Addressing bus, Data bus, and Data bus
  3. C.Address bus, Datamove bus, and Data bus
  4. D.Address bus, Data bus, and Control bus
Q240
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.1. Introduction to Computer ArchitectureEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
True or False: The address bus is unidirectional, meaning memory addresses always travel strictly from the processor to memory.
  1. A.TRUE
  2. B.FALSE