Skip to main content

Computer Architecture & Assembly Language MCQs with Answers

Practice important Computer Architecture & Assembly Language MCQs with answers and explanations.

Multiple Choice Questions

Q291: In the context of the provided example code, what does the instruction jc error do?
  • A: Jump to next entry
  • B: Compare files
  • C: Jump if there is an error
  • D: Continue execution
View Answer
C

Q292: How many directory entries are reserved in the root directory on a standard floppy disk?
  • A: 128
  • B: 256
  • C: 512
  • D: 1024
View Answer
C

Q293: What is the size of a standard partition table entry?
  • A: 10 bytes
  • B: 16 bytes
  • C: 32 bytes
  • D: 64 bytes
View Answer
B

Q294: What is the function of the INT 21h - WRITE TO FILE service?
  • A: Read from a file
  • B: Write to a file
  • C: Delete a file
  • D: Close a file
View Answer
B

Q295: What is the role of the int 0x21 instruction in the provided example code?
  • A: Calls BIOS services
  • B: Calls DOS services
  • C: Reads from memory
  • D: Writes to memory
View Answer
B

Q296: What DOS interrupt is used to allocate memory?
  • A: INT 21h
  • B: INT 20h
  • C: INT 22h
  • D: INT 23h
View Answer
A

Q297: Which register is used to specify the number of paragraphs to allocate in memory with INT 21h, AH=48h?
  • A: AX
  • B: BX
  • C: CX
  • D: DX
View Answer
B

Q298: What does INT 21h, AH=49h service do?
  • A: Allocate Memory
  • B: Free Memory
  • C: Resize Memory
  • D: Load and Execute Program
View Answer
B

Q299: In the file comparison program, what service is used to open a file?
  • A: INT 21h, AH=3Ch
  • B: INT 21h, AH=3Dh
  • C: INT 21h, AH=3Eh
  • D: INT 21h, AH=3Fh
View Answer
B

Q300: What is the role of the repne scasb instruction in the file comparison program?
  • A: Search for a space
  • B: Search for a null character
  • C: Search for a specified byte
  • D: Search for a digit
View Answer
A

Test Your Knowledge

Take a timed quiz on Computer Architecture & Assembly Language

🚀 Start Quiz Now