Ch 08: String Instructions and Primitives

307 Questions307 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 251 โ€“ 260 of 307 Questions
Page 26 of 31
Q251
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ CS:IP Implicit Register PairingEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
By default, the Code Segment (CS) register is implicitly associated with which offset register to form logical memory addresses for instruction execution?
  1. A.SS
  2. B.BP
  3. C.CX
  4. D.IP
Q252
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ ROR (Rotate Right) Bit Rotation MechanicsMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In which bit rotation operation does every bit move one position to the right, with the bit dropped from the rightmost position (LSB) inserted into the leftmost position (MSB) and also copied into the Carry Flag?
๐Ÿ’ป assembly Snippet
ror ax, 1
  1. A.ROL
  2. B.RCR
  3. C.RCL
  4. D.ROR
Q253
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ SAR (Shift Arithmetic Right) MechanicsMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which bit shift operation shifts every bit one position to the right while replicating the original Most Significant Bit (sign bit) at the MSB position and catching the bit dropped from the right in the Carry Flag?
๐Ÿ’ป assembly Snippet
sar ax, 1
  1. A.Shift Logical Right (SHR)
  2. B.Shift Arithmetic Right (SAR)
  3. C.Shift Arithmetic Left (SAL)
  4. D.Shift Logical Left (SHL)
Q254
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Illegal Base-Base Addressing Mode ([BX + BP])Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which one of the following instructions is illegal in 8088 assembly language?
๐Ÿ’ป assembly Snippet
MOV AX, [BX + BP]
  1. A.MOV AX, BX
  2. B.MOV AX, 65
  3. C.MOV AX, [BX + BP]
  4. D.MOV BX, 10
Q255
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ CX Counter Register RoleEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In 8088 processor architecture, the CX register is primarily designated and used as a:
๐Ÿ’ป assembly Snippet
mov cx, 10
loop label_name
  1. A.Counter register
  2. B.Base register
  3. C.Flag register
  4. D.Segment register
Q256
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Bi-directional Data Bus ArchitectureEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Regarding signal transmission direction between the processor and peripheral devices, the System Data Bus is:
  1. A.Uni-directional
  2. B.Bi-directional
  3. C.Non-directional
  4. D.None of the given
Q257
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Multiplication by 8 via Left Bit ShiftEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which instruction is effectively equivalent to multiplying the value in register AX by 8?
๐Ÿ’ป assembly Snippet
shl ax, 3
  1. A.SHL AX, 3
  2. B.MUL AX, 3
  3. C.SHR AX, 3
  4. D.ADD AX, 8
Q258
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ 16-Bit DIV Instruction Remainder Bit WidthEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When a 32-bit dividend is divided by a 16-bit divisor in 8088 assembly language ('DIV reg16'), what is the bit width of the remainder stored in register DX?
๐Ÿ’ป assembly Snippet
div bx
  1. A.4 bits
  2. B.8 bits
  3. C.16 bits
  4. D.32 bits
Q259
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Special Processor Control InstructionsEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
________ allow changing specific processor flags and system control behaviors directly.
๐Ÿ’ป assembly Snippet
cld
cli
  1. A.Special instructions
  2. B.Data movement instructions
  3. C.Program control instructions
  4. D.Arithmetic and logic instructions
Q260
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ CMP Instruction Effect on FLAGS RegisterEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the instruction 'CMP AX, BX', the contents of which register are modified?
๐Ÿ’ป assembly Snippet
cmp ax, bx
  1. A.AX
  2. B.BX
  3. C.FLAGS register
  4. D.Both AX and BX