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 181 โ€“ 190 of 216 Questions
Page 19 of 22
Q181
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ BIOS Video Interrupt 10h Text Mode ServicesMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
List any three common BIOS INT 10h video services used in text mode display programming.
๐Ÿ’ป assembly Snippet
mov ah, 0x02
mov dh, 10
mov dl, 20
int 0x10
Q182
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ BIOS Video Interrupt 10h Text Mode ServicesMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
List and describe five common BIOS video interrupt (INT 10h) services used in text mode display programming.
๐Ÿ’ป assembly Snippet
mov ah, 0x02
mov dh, 10
mov dl, 20
int 0x10
Q183
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ BIOS Video Interrupt 10h Window Scrolling and Character DisplayMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Explain how window scrolling and character display with attribute bytes are performed using BIOS Interrupt 10h services AH = 06h (Scroll Up), AH = 07h (Scroll Down), and AH = 09h (Write Character and Attribute).
๐Ÿ’ป assembly Snippet
mov ah, 0x06
mov al, 0
mov bh, 0x07
mov cx, 0x0000
mov dx, 0x184f
int 0x10
Q184
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ Video Services Classification (Text vs Graphics Mode)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Video display services in PC architecture are broadly classified into how many primary display categories (modes)?
  1. A.5
  2. B.4
  3. C.3
  4. D.2
Q185
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ Stack Pointer (SP) Implicit Segment AssociationEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The Stack Pointer (SP) register is implicitly associated by default with which segment register?
  1. A.SS (Stack Segment)
  2. B.CS (Code Segment)
  3. C.DS (Data Segment)
  4. D.ES (Extra Segment)
Q186
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ Intel Little-Endian Memory ArchitectureEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which byte ordering convention is followed by Intel x86 processors for multi-byte values stored in system memory?
  1. A.Little-endian
  2. B.Big-endian
  3. C.Middle-endian
  4. D.Bi-endian
Q187
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ 8085 Microprocessor Memory Addressing CapacityEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What is the maximum physical RAM address space accessible by the Intel 8085 processor with its 16-bit address bus?
  1. A.64 KB
  2. B.1 MB
  3. C.128 KB
  4. D.256 KB
Q188
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ ASCII Case Conversion (+/- 0x20)Easyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
To convert the case of an ASCII character between uppercase and lowercase in assembly language, what hex value must be added to or subtracted from its ASCII code?
๐Ÿ’ป assembly Snippet
add al, 0x20
  1. A.0x10
  2. B.0x20
  3. C.0x30
  4. D.0x41
Q189
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ Motorola Big-Endian Memory Byte OrderingEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Motorola processor architectures (such as the 68000) follow which byte ordering convention for multi-byte values in memory?
  1. A.Big-endian
  2. B.Little-endian
  3. C.Bi-endian
  4. D.None of the given
Q190
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 6๐Ÿท๏ธ Intel Little-Endian Memory Byte OrderingEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Intel processor architectures (such as x86 / 8088) follow which byte ordering convention for multi-byte values in memory?
  1. A.Little-endian
  2. B.Big-endian
  3. C.Bi-endian
  4. D.None of the given