Skip to content
VUBuddy

CS401P Final Term Quiz 14 January 2024 by Miss Mehwish

Computer Architecture and Assembly Language Programming (Practical) PDF 476 KBUpdated 23 Oct 2026
Final term past paper CS401P Final Term Quiz 14 January 2024 by Miss Mehwish PDF 476 KB
vubuddy.com
Type
Final term past paper
Course
CS401P Computer Architecture and Assembly Language Programming (Practical)
Size
PDF 476 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 476 KB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

Preview text

Text from pages 1, 2, 3 of 7. Download the file for all 7 pages.

Past Papers for Mids./Finals are also Available

Q1. What is the significance of the memory location B8000 in the context of Display Memory? Options:

  1. Default cursor position
  2. Physical memory location for video controller's memory
  3. Segment register for accessing video memory

Correct option: B) Physical memory location for video controller's memory

Q2. What is the purpose of ports 20 and 21 in the Programmable Interrupt Controller (PIC)? Options:

  1. Port 20 is for keyboard input, and port 21 is for mouse input.
  2. Port 20 is for sound card communication, and port 21 is for network card communication.
  3. Port 20 and port 21 both serve as control ports for the PIC.

Correct option: C) Port 20 and port 21 both serve as control ports for the PIC.

Q3. Video mode can be set with _________ while exporting with __________. Options:

  1. Ah and Al, 0x10
  2. Ah and Al, 0x13
  3. Ah and Al, 0x10A
  4. Ah and Al, 0x13A

Correct option: A) Ah and Al, 0x10

Q4. __________compares a source byte or word in register AL or AX with the destination string element addressed by ES:DI.

  1. STOSW
  2. STOSB
  3. STOSD
  4. SCAS

Correct option: D) SCAS

Q5. Let's assume that location A in memory has 0000 bits. What will be the result when XOR operation is performed between A and A (A XOR A)?

  1. 0
  2. 1
  3. 10
  4. 11

Correct option: A) 0

Q6. How is the video device perceived by the computer in terms of memory? Options:

  1. Linearly mapped memory
  2. Only accessible through I/O ports
  3. Two-dimensional space with ASCII codes

Correct option: A) Linearly mapped memory

Q7. How many possible I/O ports are there in the Intel architecture when using the lower 16 bits of the address bus?

  1. 1024
  2. 512
  3. 65536
  4. 256

Correct option: C) 65536

Q8. Which IO port is used to scan the code of key pressed on the keyboard? Options:

  1. 0x62
  2. 0x60
  3. 0x61
  4. 0x63

Correct option: B) 0x60

Q9. How many I/O Ports are there?

  1. 65524
  2. 65536
  3. 65548
  4. 65520

Correct option: B) 65536

Q10. Which of the following IO port is used to send an EOI signal to PIC? Options:

  1. 0x20
  2. 0x22
  3. 0x23
  4. 0x21

Correct option: A) 0x20

Q1. What does the attribute byte in the word designated for one screen location hold?

  • A) Video controller instructions
All CS401P files →
CS401P Computer Architecture and Assembly Language Programming (Practical) All CS401P handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.