Ch 17: Secondary Storage and Device Drivers

183 Questions183 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 101 โ€“ 110 of 183 Questions
Page 11 of 19
Q101
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ CALL Instruction Stack BehaviorEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
True or False: During a CALL operation in 8088 assembly language, the current value of the instruction pointer (IP) is automatically saved on the stack, and the destination address of CALL is loaded into the instruction pointer.
๐Ÿ’ป assembly Snippet
call subroutine_name
  1. A.True
  2. B.False
Q102
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Extended ASCII Numerical RangeEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Extended ASCII consists of 256 total characters assigned numerical indices in which range?
  1. A.1 to 255
  2. B.0 to 256
  3. C.0 to 255
  4. D.1 to 256
Q103
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Character Encoding Standards vs Hexadecimal PresentationEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
True or False: Hexadecimal is the prevalent and standard internal binary format for representation of characters in computers.
  1. A.True
  2. B.False
Q104
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Video RAM Address Calculation for Text ModeMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In standard 80x25 text mode (where each row consumes 160 bytes), executing the instruction 'MOV WORD [ES:160], 0x1230' will display a character at which screen location?
๐Ÿ’ป assembly Snippet
mov word [es:160], 0x1230
  1. A.First column of second row
  2. B.Second column of first row
  3. C.Second column of second row
  4. D.First column of third row
Q105
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Video Attribute Byte Color Encoding (Foreground vs Background)Medium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In 80x25 text mode Video RAM, given the instruction 'MOV WORD [ES:160], 0x1230', what text and background color scheme does the attribute byte 0x12 represent?
๐Ÿ’ป assembly Snippet
mov word [es:160], 0x1230
  1. A.green color on black background
  2. B.green color on blue background
  3. C.black color on green background
  4. D.blue color on green background
Q106
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Stack Pointer (SP) Register FunctionEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In 8088 architecture, which register holds the memory offset pointing to the current top of the stack?
  1. A.SP
  2. B.BP
  3. C.AX
  4. D.BX
Q107
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ PUSH Instruction Stack Pointer OperationEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
True or False: The PUSH instruction increments SP (the stack pointer) by two before transferring a word from the source operand onto the top of the stack.
๐Ÿ’ป assembly Snippet
push ax
  1. A.True
  2. B.False
Q108
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Introduction of Block Processing Instructions in 8088Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The reduction in code size and the improvement in execution speed are the two primary reasons why block processing (string) instructions were introduced in which processor?
๐Ÿ’ป assembly Snippet
rep movsb
  1. A.8088
  2. B.8085
  3. C.8080
  4. D.iAPX386
Q109
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ MOVS Instruction PurposeEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The MOVS (Move String) instruction is primarily used to perform which operation on a block of memory?
๐Ÿ’ป assembly Snippet
rep movsw
  1. A.Save a block of memory
  2. B.Move a block of memory
  3. C.Delete a block of memory
  4. D.Push a block of memory
Q110
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 17๐Ÿท๏ธ Comparison of PUSH and CALL Stack OperationsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
True or False: The operation of PUSH is not similar to CALL, even though CALL saves an instruction pointer while PUSH saves a general-purpose register.
๐Ÿ’ป assembly Snippet
push ax
call sub_name
  1. A.True
  2. B.False