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 101 โ€“ 110 of 387 Questions
Page 11 of 39
Q101
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ FLAGS Register Classification: Status Flags vs Control FlagsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which group of processor flags in the 8088 FLAGS register are classified as control/system flags rather than status flags used for mathematical arithmetic?
๐Ÿ’ป assembly Snippet
cld
cli
  1. A.Carry, Interrupt, and Trap flags
  2. B.Direction, Interrupt, and Trap flags
  3. C.Direction, Overflow, and Trap flags
  4. D.Direction, Interrupt, and Sign flags
Q102
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ NASM Assembler Directives (EXTERN and GLOBAL)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In NASM assembly language, an imported symbol is declared using the __________ directive, while an exported symbol is declared using the __________ directive.
๐Ÿ’ป assembly Snippet
extern printf
global _start
  1. A.GLOBAL directive, EXTERN directive
  2. B.EXTERN directive, GLOBAL directive
  3. C.HOME directive, FOREIGN directive
  4. D.FOREIGN directive, HOME directive
Q103
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Data Allocation Directives (db, dw, dd)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which pseudo-instruction directive is used in NASM assembly language to reserve or initialize an 8-bit byte in memory?
๐Ÿ’ป assembly Snippet
val8: db 0x55
val16: dw 0x1234
  1. A.db (Define Byte)
  2. B.dw (Define Word)
  3. C.dn (Define Nibble)
  4. D.dd (Define Doubleword)
Q104
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Assembly Language Classification and ArchitectureEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
How is Assembly Language classified in the hierarchy of computer programming languages?
  1. A.Low-level programming language
  2. B.High-level programming language
  3. C.Machine code language
  4. D.Not considered closer to the hardware
Q105
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ General Purpose Registers and CX Count RegisterEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In 8088 assembly language architecture, what is the primary architectural role of the CX general-purpose register?
๐Ÿ’ป assembly Snippet
mov cx, 10
loop_label:
    dec cx
    jnz loop_label
  1. A.Count register
  2. B.Data register
  3. C.Index register
  4. D.Base register
Q106
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ System Bus Architecture (Address, Data, and Control Buses)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What are the three fundamental buses used by the system architecture to connect the CPU, memory, and I/O subsystems?
  1. A.Address bus, data bus, and control bus
  2. B.Addressing bus, data bus, and data bus
  3. C.Address bus, datamove bus, and data bus
  4. D.Address bus, data bus, and signal bus
Q107
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Unidirectional Address Bus MechanicsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Is the statement true or false: 'The address bus is unidirectional, and memory addresses always travel strictly from the processor to memory or I/O devices'?
  1. A.TRUE
  2. B.FALSE
Q108
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Bidirectional Data Bus MechanicsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Why is the system data bus designed to be bidirectional in computer architecture?
  1. A.To allow data to move in both directions: from processor to memory (write) and from memory to processor (read)
  2. B.To allow data to move from processor to memory and memory to data bus
  3. C.To allow data to move only from memory to processor
  4. D.None of the given options
Q109
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Bidirectional Data Bus MechanicsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Why is the system data bus designed to be bidirectional?
  1. A.To allow data to travel both from the processor to memory (writes) and from memory to the processor (reads)
  2. B.To allow memory addresses to travel in both directions
  3. C.To carry control signals from peripheral devices back to CPU registers
  4. D.To connect only to internal registers without accessing external RAM
Q110
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 1๐Ÿท๏ธ Control Bus Architecture and DirectionalityEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In system bus architecture, how is the Control Bus classified with respect to signal transmission direction?
  1. A.It is not important
  2. B.It is unidirectional
  3. C.It is bidirectional
  4. D.It is optional