Ch 16: Interfacing Assembly with C/C++

69 Questions69 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 61 โ€“ 69 of 69 Questions
Page 7 of 7
Q61
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 16๐Ÿท๏ธ SPARC RISC Fixed 32-Bit Instruction SizeEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The Sun SPARC RISC processor architecture utilizes instructions with a fixed encoding size of:
  1. A.16-bit
  2. B.32-bit
  3. C.64-bit
  4. D.20-bit
Q62
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 16๐Ÿท๏ธ 32-Bit Memory Addressing Limit (4 GB)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
A 32-bit address register can generate unique addresses to directly access up to how much memory space?
  1. A.1 GB
  2. B.6 GB
  3. C.4 GB
  4. D.2 GB
Q63
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 16๐Ÿท๏ธ x86 Protected Mode Segment SelectorMediumโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The 16-bit value loaded into a segment register when an x86 processor is operating in Protected Mode is called a:
๐Ÿ’ป assembly Snippet
mov ax, 0x10  ; Load segment selector 0x10 into AX
mov ds, ax    ; Load segment selector into DS
  1. A.Segment Descriptor
  2. B.Segment Selector
  3. C.Global Descriptor Table
  4. D.Protected Register
Q64
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 16๐Ÿท๏ธ FS and GS Protected Mode Segment RegistersEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In 32-bit x86 architecture, FS and GS are two additional:
  1. A.Segment registers
  2. B.General purpose registers
  3. C.Control registers
  4. D.Debug registers
Q65
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 16๐Ÿท๏ธ Interrupt Descriptor Table (IDT) DefinitionEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In x86 system architecture, what does the abbreviation IDT stand for?
  1. A.Interrupt Descriptor Table
  2. B.Individual Descriptor Table
  3. C.Inline Data Table
  4. D.Instruction Descriptor Table
Q66
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 16๐Ÿท๏ธ Motorola 68K 32-Bit General Purpose RegistersEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Motorola 68K processors feature general-purpose registers that are how many bits wide?
  1. A.4 bits
  2. B.8 bits
  3. C.16 bits
  4. D.32 bits
Q67
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 16๐Ÿท๏ธ x86 Protected Mode Segment Selector Table Indicator (TI = 0)Medium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In x86 Protected Mode segment selectors, what value is assigned to the Table Indicator (TI) bit to select the Global Descriptor Table (GDT)?
  1. A.0
  2. B.1
  3. C.-1
  4. D.-2
Q68
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 16๐Ÿท๏ธ 16.1. Calling ConventionsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
How many major traditional calling conventions (C calling convention and Pascal calling convention) are primarily discussed for interfacing assembly with high-level languages?
  1. A.1
  2. B.2
  3. C.3
  4. D.4
Q69
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 16๐Ÿท๏ธ 16.1. Calling ConventionsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
How many prevalent traditional calling conventions (C calling convention and Pascal calling convention) exist for interfacing assembly routines with high-level languages?
  1. A.1
  2. B.2
  3. C.3
  4. D.4