Skip to content
VUBuddy

CS401 Midterm Past Papers

Computer Architecture and Assembly Language Programming PDF 92 KBUpdated 23 Oct 2026
Midterm past paper CS401 Midterm Past Papers PDF 92 KB
vubuddy.com
Type
Midterm past paper
Course
CS401 Computer Architecture and Assembly Language Programming
Size
PDF 92 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 92 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 11. Download the file for all 11 pages.

MIDTERM EXAMINATION CS401Computer Architecture and Assembly Language Programming

Q1. After the execution of SAR instruction (1 marks)

  1. The msb is replaced by a 0
  2. The msb is replaced by 1
  3. The msb retains its original value
  4. The msb is replaced by the value of CF

Correct answer: The msb is replaced by a 0

Q2. RETF will pop the offset in the (1 marks)

  1. BP
  2. IP
  3. SP
  4. SI

Correct answer: IP

Q3. The routine that executes in response to an INT instruction is called (1 marks)

  1. ISR
  2. IRS
  3. ISP
  4. IRT

Correct answer: ISR

Q4. The first instruction of “COM” file must be at offset: (1 marks)

  1. 0x0010
  2. 0x0100
  3. 0x1000
  4. 0x0000

Correct answer: 0x0100

Q5. “Far” jump is not position relative but is _______________ (1 marks)

  1. memory dependent
  2. Absolute
  3. temporary
  4. indirect

Correct answer: Absolute

Q6. Only ___________ instructions allow moving data from memory to memory. (1 marks)

  1. string
  2. word
  3. indirect
  4. stack

Correct answer: string

Q7. After the execution of instruction “RET 2” (1 marks)

  1. SP is incremented by 2
  2. SP is decremented by 2
  3. SP is incremented by 4
  4. SP is decremented by 4

Correct answer: SP is incremented by 2

Q8. DIV instruction has (1 marks)

  1. Two forms
  2. Three forms
  3. Four forms
  4. Five forms

Correct answer: Two forms

Q9. When the operand of DIV instruction is of 16 bits then implied dividend will be of (1 marks)

  1. 8 bits
  2. 16 bits
  3. 32 bits
  4. 64 bits

Correct answer: 32 bits

Q10. After the execution of MOVS instruction which of the following registers are updated (1 marks)

  1. SI only
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.