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 11 โ€“ 20 of 216 Questions
Page 2 of 22
Q11
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ 6.2. Advanced Video Graphics and VESA ModesEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In VESA 16-bit high-color graphics mode, color components for each pixel are organized in which standard RGB format?
  1. A.5:5:5 or 5:6:5 format
  2. B.8:8:8 format
  3. C.4:4:4 format
  4. D.10:10:10 format
Q12
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ 6.2. Graphics Modes and Pixel Memory MappingEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In computer graphics display mode, a single address location in video memory corresponds to a ________ on the screen.
๐Ÿ’ป assembly Snippet
MOV BYTE [ES:DI], COLOR
  1. A.Dot
  2. B.Line
  3. C.Circle
  4. D.Rectangle
Q13
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ 6.2. Advanced Video Graphics and VESA StandardsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
VESA VBE (Video BIOS Extension) 2.0 is an industry standard designed for ________.
๐Ÿ’ป assembly Snippet
MOV AX, 0x4F02
MOV BX, 0x0101
INT 0x10
  1. A.High resolution Mode
  2. B.Low resolution Mode
  3. C.Medium resolution Mode
  4. D.Very High resolution Mode
Q14
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ 6.2. Advanced Video Graphics and VESA StandardsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
VESA VBE 2.0 is an industry standard designed for ________.
๐Ÿ’ป assembly Snippet
MOV AX, 0x4F02
MOV BX, 0x0101
INT 0x10
  1. A.High resolution Mode
  2. B.Low resolution Mode
  3. C.Medium resolution Mode
  4. D.Very High resolution Mode
Q15
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ 6.1. BIOS Video Services (INT 10h)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Software interrupt INT 10h is dedicated to accessing ________ services in IBM PC-compatible systems.
๐Ÿ’ป assembly Snippet
MOV AH, 0x00
MOV AL, 0x03
INT 0x10
  1. A.BIOS video
  2. B.RAM
  3. C.Disk
  4. D.DOS video
Q16
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ 6.1. BIOS vs DOS Video Display ServicesEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Video services in x86 systems are broadly classified into ________ main categories (ROM BIOS video services and DOS video services).
  1. A.2
  2. B.3
  3. C.4
  4. D.5
Q17
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ 6.1. BIOS Video Services and Pixel Plotting (INT 10h AH=0Ch)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which value must be loaded into register AH to invoke the BIOS Write Graphics Pixel service via INT 10h?
๐Ÿ’ป assembly Snippet
MOV AH, 0Ch
INT 10h
  1. A.0Ch
  2. B.0Bh
  3. C.1Ch
  4. D.2Ch
Q18
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ 6.2. Advanced Video Graphics and VESA StandardsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
VESA (Video Electronics Standards Association) organizes 16-bit color pixels (High Color mode) into which RGB bit distribution format?
  1. A.5:6:5 formats
  2. B.5:5:5 formats
  3. C.6:5:6 formats
  4. D.5:6:7 formats
Q19
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ 6.1. Control Flow Instructions (JA Unsigned Comparison with Negative Representations)Medium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
If register AX contains decimal -2 (0xFFFE in 16-bit 2's complement) and register BX contains decimal +2 (0x0002), what will happen upon executing: CMP AX, BX JA label
๐Ÿ’ป assembly Snippet
mov ax, -2 ; AX = 0xFFFE (65,534 unsigned)
mov bx, 2  ; BX = 0x0002 (2 unsigned)
cmp ax, bx
ja label   ; Jump taken because 65534 > 2 unsigned
  1. A.Jump will be taken
  2. B.Zero flag will set
  3. C.ZF will contain value -4
  4. D.Jump will not be taken
Q20
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ 6.2. Display Memory FormationMediumโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In standard 80x25 text mode video memory, what foreground character color is rendered when executing `mov word [ES:0], 0x1230`?
๐Ÿ’ป assembly Snippet
mov word [es:0], 0x1230 ; 0x12 = Green on Black attribute, 0x30 = '0'
  1. A.Green
  2. B.White
  3. C.Red
  4. D.Black