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 341 – 350 of 387 Questions
Page 35 of 39
Q341
πŸ“ Short QπŸ“˜ CS401πŸ“‘ Lec 1🏷️ 1.2. Internal RegistersEasyβ­πŸ’‘πŸ“„πŸŽ“VUπŸ›οΈVU
What are the four general-purpose registers in 8086/8088 CPU architecture, and what are their primary functions?
πŸ’» assembly Snippet
; Example showing usage of AX, BX, CX, DX
mov ax, 10    ; AX as Accumulator
mov bx, array ; BX as Base Pointer
mov cx, 5     ; CX as Loop Count
mov dx, 0x3f8 ; DX as I/O Port Address
Q342
πŸ“ Short QπŸ“˜ CS401πŸ“‘ Lec 1🏷️ 1.2. Internal RegistersEasyβ­πŸ’‘πŸ“„πŸŽ“VUπŸ›οΈVU
What is a Special-Purpose Register (SPR), and what examples exist in x86 processor architecture?
Q343
πŸ“ Short QπŸ“˜ CS401πŸ“‘ Lec 1🏷️ 1.2. Internal RegistersEasyβ­πŸ’‘πŸ“„πŸŽ“VUπŸ›οΈVU
What determines the size of general-purpose registers, and why are they termed multipurpose?
Q344
πŸ“ Short QπŸ“˜ CS401πŸ“‘ Lec 1🏷️ 1.2. Internal RegistersEasyβ­πŸ’‘πŸ“„πŸŽ“VUπŸ›οΈVU
What is the fundamental difference between main memory (RAM) and CPU registers?
Q345
πŸ“ Short QπŸ“˜ CS401πŸ“‘ Lec 1🏷️ 1.2. Internal RegistersMediumβ­πŸ’‘πŸ“„πŸŽ“VUπŸ›οΈVU
List the 4 general-purpose registers and 4 pointer/index registers in 16-bit x86 architecture alongside their specific functions.
Q346
πŸ“ Short QπŸ“˜ CS401πŸ“‘ Lec 1🏷️ 1.1. Basic Computer ArchitectureMediumβ­πŸ’‘πŸ“„πŸŽ“VUπŸ›οΈVU
How are General-Purpose Registers (GPRs) defined in computer architecture, and how were they configured in classic systems such as the DEC VAX and IBM 360/370?
Q347
πŸ“ Short QπŸ“˜ CS401πŸ“‘ Lec 1🏷️ 1.2. Internal RegistersMediumβ­πŸ’‘πŸ“„πŸŽ“VUπŸ›οΈVU
Compare the general-purpose register layouts and naming conventions across the Intel 8086/80286, Intel 80386, and Motorola 88100 processor architectures.
πŸ’» assembly Snippet
; 8086 16-bit vs 80386 32-bit Register Access
mov ax, 0x1234       ; 16-bit AX access (AH=0x12, AL=0x34)
mov eax, 0x12345678  ; 32-bit EAX access
Q348
πŸ“ Short QπŸ“˜ CS401πŸ“‘ Lec 1🏷️ 1.1. Basic Computer ArchitectureEasyβ­πŸ’‘πŸ“„πŸŽ“VUπŸ›οΈVU
What is Assembly Language, how is it created or generated, and how is it converted into executable machine code?
πŸ’» assembly Snippet
; Assembly Code Example
mov ax, 0x4c00  ; Terminate program instruction
int 0x21        ; DOS interrupt call
Q349
πŸ“ Short QπŸ“˜ CS401πŸ“‘ Lec 1🏷️ 1.2. Internal RegistersMediumβ­πŸ’‘πŸ“„πŸŽ“VUπŸ›οΈVU
Differentiate between General-Purpose Registers and Special-Purpose Registers, and explain how x86 register sizes progressed from 16-bit to 64-bit architectures.
πŸ’» assembly Snippet
; x86 Register Width Progression
mov ax, 0x1234       ; 16-bit register AX
mov eax, 0x12345678  ; 32-bit register EAX
Q350
πŸ“ Short QπŸ“˜ CS401πŸ“‘ Lec 1🏷️ 1.1. Basic Computer ArchitectureEasyβ­πŸ’‘πŸ“„πŸŽ“VUπŸ›οΈVU
Define a bit and a byte, and list the hierarchical data storage capacity units from Kilobyte up to Yottabyte using binary prefix scaling.