Ch 01: Introduction to Assembly Language

387 Questions387 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 321 – 330 of 387 Questions
Page 33 of 39
Q321
πŸ“ Short QπŸ“˜ CS401πŸ“‘ Lec 1🏷️ 1.1. Basic Computer ArchitectureMediumβ­πŸ’‘πŸ“„πŸŽ“VUπŸ›οΈVU
Compare High-Level Languages and Low-Level Languages in terms of readability, translation requirements, memory footprint, and hardware control.
Q322
πŸ“ Short QπŸ“˜ CS401πŸ“‘ Lec 1🏷️ 1.1. Basic Computer ArchitectureMediumβ­πŸ’‘πŸ“„πŸŽ“VUπŸ›οΈVU
What are the primary advantages and disadvantages of Low-Level Languages (LLLs)?
Q323
πŸ“ Short QπŸ“˜ CS401πŸ“‘ Lec 1🏷️ 1.1. Basic Computer ArchitectureHardβ­πŸ’‘πŸ“„πŸŽ“VUπŸ›οΈVU
Why are Low-Level Languages predominantly chosen for developing operating system kernels, device drivers, and embedded systems rather than general application software?
πŸ’» assembly Snippet
; Direct Hardware Access Example in Assembly
mov dx, 0x3f8  ; Load COM1 serial port address into DX
in al, dx      ; Read byte directly from serial port hardware
Q324
πŸ“ Short QπŸ“˜ CS401πŸ“‘ Lec 1🏷️ 1.1. Basic Computer ArchitectureEasyβ­πŸ’‘πŸ“„πŸŽ“VUπŸ›οΈVU
How are low-level programming languages categorized, and what defines Machine Language?
Q325
πŸ“ Short QπŸ“˜ CS401πŸ“‘ Lec 1🏷️ 1.1. Basic Computer ArchitectureEasyβ­πŸ’‘πŸ“„πŸŽ“VUπŸ›οΈVU
Why is programming directly in Machine Language considered tedious, error-prone, and impractical for modern software development?
Q326
πŸ“ Short QπŸ“˜ CS401πŸ“‘ Lec 1🏷️ 1.1. Basic Computer ArchitectureEasyβ­πŸ’‘πŸ“„πŸŽ“VUπŸ›οΈVU
What is Assembly Language, and how do mnemonics improve upon raw binary Machine Language?
πŸ’» assembly Snippet
; Example Assembly Instruction vs Machine Code
; SUB AX, BX in Assembly maps directly to binary opcode 00001011 00000001 00100010
sub ax, bx
Q327
πŸ“ Short QπŸ“˜ CS401πŸ“‘ Lec 1🏷️ 1.1. Basic Computer ArchitectureEasyβ­πŸ’‘πŸ“„πŸŽ“VUπŸ›οΈVU
What is an Assembler, and what is its fundamental role in Assembly Language programming?
πŸ’» assembly Snippet
; NASM Assembly Source Code
mov ax, 0x05  ; Translated by Assembler into machine bytes: B8 05 00
Q328
πŸ“ Short QπŸ“˜ CS401πŸ“‘ Lec 1🏷️ 1.1. Basic Computer ArchitectureMediumβ­πŸ’‘πŸ“„πŸŽ“VUπŸ›οΈVU
Detail the key advantages of programming in Low-Level Languages (Assembly Language and Machine Code).
Q329
πŸ“ Short QπŸ“˜ CS401πŸ“‘ Lec 1🏷️ 1.1. Basic Computer ArchitectureMediumβ­πŸ’‘πŸ“„πŸŽ“VUπŸ›οΈVU
What are the major disadvantages and practical limitations associated with Low-Level Languages?
Q330
πŸ“ Short QπŸ“˜ CS401πŸ“‘ Lec 1🏷️ 1.1. Basic Computer ArchitectureEasyβ­πŸ’‘πŸ“„πŸŽ“VUπŸ›οΈVU
How do High-Level Languages (HLLs) overcome the primary limitations of Low-Level Languages?