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 1 โ€“ 10 of 387 Questions
Page 1 of 39
Q1
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.1. Basic Computer ArchitectureEasy๐Ÿ”โญ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Assembly language is not a low-level language.
  1. A.True
  2. B.False
Q2
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.1. Basic Computer ArchitectureEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Address information on the address bus always travels from:
  1. A.Processor to memory
  2. B.Memory to processor
  3. C.Memory to memory
  4. D.None of the above
Q3
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.3. Instruction GroupsMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Explain the dual working (operation) of the XCHG (Exchange) instruction with the help of an assembly language example.
๐Ÿ’ป assembly Snippet
mov ax, 5
mov bx, 10
xchg ax, bx
Q4
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.3. Instruction GroupsEasyโญ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Explain the two primary forms of the MOV instruction in x86 assembly language with examples.
๐Ÿ’ป assembly Snippet
mov ax, 5
mov bx, ax
Q5
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.1. Basic Computer ArchitectureEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Suppose a computer has a processor with 24-bit address lines. What is the maximum amount of memory that can be attached to your system? Show the step(s) for calculation of maximum addressable memory.
Q6
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.1. Basic Computer ArchitectureEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
How many address bits are required for accessing 1 GB RAM? Show the step(s) for calculation of required address bits.
Q7
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.3. Instruction GroupsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the MOV instruction, both the source and destination operands cannot be ________ operands.
๐Ÿ’ป assembly Snippet
; Illegal memory-to-memory instruction:
mov [mem1], [mem2]
Q8
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.3. Instruction GroupsEasy๐Ÿ”โญ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Name two basic types of operands supported by x86 assembly language instructions.
๐Ÿ’ป assembly Snippet
mov ax, bx
mov cx, [num]
Q9
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.3. Instruction GroupsEasyโญ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the instruction 'MOV AX, 5', how many operands are present?
๐Ÿ’ป assembly Snippet
mov ax, 5
  1. A.1
  2. B.2
  3. C.3
  4. D.4
Q10
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ 1.1. Introduction to CPU RegistersEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following statements is NOT true about CPU registers?
  1. A.None of the given options
  2. B.Their operation is very much like memory
  3. C.Intermediate results may also be stored in registers
  4. D.They are also called scratch pad RAM