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 31 โ€“ 40 of 69 Questions
Page 4 of 7
Q31
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 16๐Ÿท๏ธ RISC Architecture and SPARC Instruction FormattingMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What is the fixed instruction size utilized by the Sun SPARC RISC processor architecture?
  1. A.16-bit
  2. B.32-bit
  3. C.64-bit
  4. D.20-bit
Q32
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 16๐Ÿท๏ธ RISC Architecture vs CISC Architecture (SPARC 32-bit Instructions)Medium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The Sun SPARC RISC processor architecture utilizes a fixed instruction encoding size of __________.
  1. A.16-bit
  2. B.32-bit
  3. C.64-bit
  4. D.20-bit
Q33
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 16๐Ÿท๏ธ Motorola 68K Architecture and Program CounterEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In Motorola 68K processors, which 32-bit register holds the memory address of the currently executing instruction?
  1. A.Program counter (PC)
  2. B.Stack pointer (SP)
  3. C.Register
  4. D.Stack
Q34
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 16๐Ÿท๏ธ Motorola 68K Architecture and Program Counter WidthEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In Motorola 68K processors, the Program Counter (PC) that holds the memory address of the currently executing instruction is how many bits wide?
  1. A.8 bits
  2. B.16 bits
  3. C.32 bits
  4. D.64 bits
Q35
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 16๐Ÿท๏ธ Motorola 68K Register Set ArchitectureEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Motorola 68K microprocessors feature how many 32-bit general-purpose registers?
  1. A.4 registers
  2. B.8 registers
  3. C.16 registers
  4. D.32 registers
Q36
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 16๐Ÿท๏ธ Cache Memory Mechanics (Cache Hit vs Cache Miss)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following best describes a 'cache hit' in computer memory hierarchy?
  1. A.When requested data is successfully found in the high-speed cache memory
  2. B.When data is removed or evicted from the cache memory
  3. C.The total number of times the cache is accessed directly by the processor
  4. D.When requested data is missing from the cache memory
Q37
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 16๐Ÿท๏ธ Motorola 68K Instruction Set (Data Movement and Arithmetic)Hard๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
List and categorize key Data Movement and Arithmetic instructions available in the Motorola 68K processor architecture.
๐Ÿ’ป assembly Snippet
MOVE.L D0, D1
ADD.L D2, D1
Q38
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 16๐Ÿท๏ธ Motorola 68K Register Set ArchitectureEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Motorola 68K processors feature how many 32-bit general-purpose registers?
  1. A.4 registers
  2. B.8 registers
  3. C.16 registers
  4. D.32 registers
Q39
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 16๐Ÿท๏ธ ASCII Character Encoding (Standard 7-bit vs IBM Extended 8-bit ASCII)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What does ASCII stand for, and how does standard 7-bit ASCII differ from Extended 8-bit IBM PC ASCII?
Q40
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 16๐Ÿท๏ธ Display Memory (Video RAM Base 0xB800 and Memory-Mapped Video Output)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Explain the concept of Display Memory (Video RAM) in 8088 PC architecture and state why text mode display memory starts at physical segment base 0xB800.
๐Ÿ’ป assembly Snippet
mov ax, 0xb800
mov es, ax
mov byte [es:0], 'A'
mov byte [es:1], 0x07