Skip to content
VUBuddy

CS401 Midterm Past Papers by Junaid

Computer Architecture and Assembly Language Programming PDF 1.5 MBUpdated 23 Oct 2026
Midterm past paper CS401 Midterm Past Papers by Junaid PDF 1.5 MB
vubuddy.com
Type
Midterm past paper
Course
CS401 Computer Architecture and Assembly Language Programming
Size
PDF 1.5 MB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 1.5 MB

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 2, 3, 4 of 30. Download the file for all 30 pages.

Q1. The first instruction of “COM” file must be at offset:

  1. 0x0010
  2. 0x0100 (Page 19)
  3. 0x1000
  4. 0x0000

Correct answer: 0x0100 (Page 19)

Q2. The execution of the instruction “mov word [ES : 0], 0x0741” will print character “A” on screen , background color of the screen will be

  1. Black (Page 81)
  2. White
  3. Red
  4. Blue

Correct answer: Black (Page 81)

Q3. The iAPX888 architecture consists of _______ register.

  1. 12
  2. 14
  3. 16 (Page 15)
  4. 18

Correct answer: 16 (Page 15)

Q3. The iAPX888 architecture consists of _______ register.

  1. 12
  2. 14
  3. 16 (Page 15)
  4. 18

Correct answer: 16 (Page 15)

Q5. One screen location corresponds to a

  1. Byte
  2. Word (Page 80)
  3. Double byte

Correct answer: Word (Page 80)

  •  Double word

Q6. When an item is pushed on the decrementing stack, the top of the stack is

  1. First decremented and then element copied on to the stack (Page 68)
  2. First incremented and then element copied on to the stack
  3. Decremented after the element copied on to the stack
  4. Incremented after the element copied on to the stack

Correct answer: First decremented and then element copied on to the stack (Page 68)

Q7. one Each screen location corresponds to a word, the lower byte of this word contains ____

  1. The character code (Page 81)
  2. The attribute byte
  3. The parameters
  4. The dimensions

Correct answer: The character code (Page 81)

Q8. if ax contains decimal -2 and BX contains decimal 2 then after the execution of instructions: CMP AX, BX ,JA label

  1. Jump will be taken
  2. Zero flag will set
  3. ZF will contain value -4
  4. Jump will not be taken

Correct answer: Jump will be taken

Q9. If D is “35” is shift to left 2 bits the new value

  1. 35
  2. 70
  3. 140
  4. 17

Correct answer: 140

Q10. When two 16bit numbers are added the answer can be 17 bits long, this extra bit that won’t fit in the target register is placed in the where it can be used and tested

  1. carry flag (Page 16)
  2. Parity Flag
  3. Auxiliary Carry
  4. Zero Flag

Correct answer: carry flag (Page 16)

Q11. Only instructions allow moving data from memory to memory.

  1. string (Page 29)
  2. word
  3. indirect
  4. stack

Correct answer: string (Page 29)

Q12. When a 16 bit number is divided by an 8 bit number, the quotient will be in

  1. AL (Page 85)
  2. AX

Correct answer: AL (Page 85)

All CS401 files →
CS401 Computer Architecture and Assembly Language Programming All CS401 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.