CS201 MID TERM SOLVED MCQs || PAST PAPERS || GROUP-1 || INTRODUCTION TO PROGRAMMING || VuTech Visit Website For More Solutions www.vutechofficial.blogspot.com …
CS401 MID TERM SOLVED MCQs || PAST PAPERS || GROUP-1 || ASSEMBLY LANGUAGE
PROGRAMMING || VuTech
Visit Website For More Solutions www.vutechofficial.blogspot.com
CS401
Assembly Language Programming
Solved Mid Term Past Papers
______________________________
MCQs
______________________________
Group-1
Question No: 1
The first instruction of “COM” file must be at offset:
a) 0x0010
b) 0x0100
c) 0x1000
d) 0x0000
Correct Answer:
The correct answer is 'b'.
Question No: 2
The execution of the instruction “mov word [ES : 0], 0x0741” will print
character “A” on screen , background color of the screen will be
a) Black
b) White
c) Red
d) Blue
Correct Answer:
The correct answer is 'a'.
Question No: 3
The iAPX888 architecture consists of ______ register.
a) 12
b) 14
c) 16
d) 18
Correct Answer:
The correct answer is 'c'.
Visit Website For More Solutions www.vutechofficial.blogspot.com
Question No: 4
The execution of the instruction “mov word [ES: 0], 0x0741” will print “A”
on the screen, color of the character will be
a) Black
b) White
c) Red
d) Blue
Correct Answer:
The correct answer is 'b'.
Question No: 5
One screen location corresponds to a
a) Byte
b) Word
c) Double Byte
d) Double Word
Correct Answer:
The correct answer is 'b'.
Visit Website For More Solutions www.vutechofficial.blogspot.com
Question No: 6
When an item is pushed on the decrementing stack, the top of the stack
is
a) First decremented and then element copied on to the
stack
b) First incremented and then element copied on to the
stack
c) Decremented after the element copied on to the stack
d) Incremented after the element copied on to the stack
Correct Answer:
The correct answer is 'a'.
Question No: 7
Each screen location corresponds to a word, the lower byte of this word
contains
a) The character code
b) The attribute byte
c) The parameters
d) The dimensions
Correct Answer:
The correct answer is 'a'.
Question No: 8
if ax contains decimal -2 and BX contains decimal 2 then after the
execution of instructions: CMP AX, BX ,JA label
a) Jump will be taken
b) Zero flag will set
c) ZF will contain value -4
d) Jump will not be taken
Correct Answer:
The correct answer is 'a'.
Visit Website For More Solutions www.vutechofficial.blogspot.com
Question No: 9
If D is “35” is shift to left 2 bits the new value
a) 35
b) 70
c) 140
d) 17
Correct Answer:
The correct answer is 'c'.
Question No: 10
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
a) carry flag
b) Parity Flag
c) Auxiliary Carry
d) Zero Flag
Correct Answer:
The correct answer is 'a'.
Visit Website For More Solutions www.vutechofficial.blogspot.com
We provide Virtual University of Pakistan Study Materials such as Solution of Assignments, GDBs, Mid Term Solved Papers, Final Term Solved Papers, Mid Term Solved MCQs, and Final Term Solved MCQs. We also provide regular Semester Quizzes, Updated Handouts, and Short Questions and Answers. We help you with your research and many other educational-related topics, as far as we know. Furthermore, Share your problem with us and Please feel free to ask any related questions.