Ch 06: Parameter Passing and Stack Frames

216 Questions216 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 1 โ€“ 10 of 216 Questions
Page 1 of 22
Q1
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ 6.2. Display Memory FormationEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the instruction mov word [es:160], 0x1230, the byte 30 represents which character?
  1. A.A
  2. B.B
  3. C.0
  4. D.1
Q2
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ 6.2. Display Memory FormationMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The execution of instruction mov word [es:160], 0x1230 will print a character on the screen at:
  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
Q3
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ 6.1. Stack Operations and SubroutinesEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The far return instruction RETF pops the segment address from the stack into which register?
๐Ÿ’ป assembly Snippet
RETF
  1. A.CS register
  2. B.DS register
  3. C.SS register
  4. D.ES register
Q4
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ 6.1. Stack Operations and SubroutinesEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The 8088/8086 processor stack architecture operates strictly on elements of what data size?
๐Ÿ’ป assembly Snippet
PUSH AX
POP BX
  1. A.Word sized elements
  2. B.Byte sized elements
  3. C.Double sized element
  4. D.Nible sized element
Q5
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ 6.1. Video Memory Structure and Text Mode AddressingEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Execution of the instruction `MOV WORD [ES:160], 0x1230` will display a character on the screen at which location in standard 80x25 text mode?
๐Ÿ’ป 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
Q6
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ 6.1. ASCII Character Representation and Video DisplayEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
How many unique characters are defined in the standard ASCII character set?
  1. A.128
  2. B.256
  3. C.512
  4. D.64
Q7
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ 6.1. Video Memory Structure and Text Mode AddressingEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In text-mode video memory, each character cell/screen location corresponds to how many bytes of memory?
๐Ÿ’ป assembly Snippet
MOV WORD [ES:0], 0x0741
  1. A.2 byte
  2. B.1 byte
  3. C.4 byte
  4. D.8 byte
Q8
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ 6.1. Video Memory Structure and Attribute Byte FormattingEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which bit of the text-mode video attribute byte represents the Red component of the foreground color?
๐Ÿ’ป assembly Snippet
MOV AH, 0x04
  1. A.2
  2. B.3
  3. C.4
  4. D.5
Q9
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ 6.2. Font Definitions and Graphical Text ModesEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
An 8 x 16 matrix character font bitmap is stored in ________ bytes of memory.
  1. A.16
  2. B.2
  3. C.4
  4. D.8
Q10
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ 6.1. Video Memory Structure and Text Mode AddressingEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
MS-DOS natively operates in ________ display mode.
  1. A.Character based
  2. B.Graphics based
  3. C.Numeric based
  4. D.Console based