https://chat.whatsapp.
com/IpD5cfNaIJX1u1MF5mHQc6
1. How is the screen location calculated (in the context of display
memory formation)?
a. Using the MUL instruction
b. Multiplying row number by 80 and adding column number
c. Adding row and column numbers
d. Dividing row and column numbers
2. What does the attribute byte in the word designated for one screen
location hold?
a. Video controller instructions
b. Cursor height information
c. ASCII code for the character
d. Foreground and background colors
3. Which of following IO port is used to send an EOI signal to PIC?
a. 0x22
b. 0x23
c. 0x21
d. 0x20
4. Which of following pins of parallel port are used to carry the data
from processor to the device connected through parallel port?
a. pin 18 to pin 25
b. pin 2 to pin 9
c. pin 10
d. pin 4
5. When ret function is called SP is ______ by _____
a. Incremented, 2
b. Deceremented 1
c. Incremented, 1
d. Decremented, 2
6. Push instruction, will store the value of operand used, in the _______
a. BP
b. AX
c. Flag
d. SP
7. Each entry of the interrupt vector table is of __________ bytes.
a. 1
b. 2
c. 3
d. 4
8. __________ interrupt is used for Arithmetic overflow.
a. INT 6
b. INT 8
c. INT 7
d. INT 4
9. Which assembly language instruction is used to enable the interrupt
requests?
a. sti
b. eit
c. dit
d. cli
10. What is the purpose of the MUL instruction in the context of display
memory?
a. Multiplies ASCII codes
b. Controls cursor attributes
c. Performs unsigned multiplication
d. Clears the screen
1. What would happen after execution of the
following instructions?
mov [vuid+di+2], [vuid+di]
mov [vuid+di], [vuid+di+2]
a. Same value will be copied to both locations
b. It will swap digit of location named as vuid
with its previous digit
c. It will swap digit of location named as vuid
with its next digit
d. This will cause error
2. When all the general registers are used then a
subroutine can receive maximum _____
parameters.
a. 5
b. 7
c. 6
d. 4
3. VGA stands for
a. Video Graphics Application
b. Visual Graphics Adapter
c. Video Graphics Adapter
d. Video Graphic Accumulator
4. The execution of the instruction "mov word [ES :
160], 0x1230" will print a character on the
screen at:
a. First column of third row
b. Second column of second row
c. Second column of first row
d. First column of second row
5. SP is decremented by ___________ when an
element is pushed on the stack.
a. 2
b. 3
c. 1
d. 4
6. The value of ____________ is recovered from the
stack when RET instruction is executed.
a. DS
b. PC
c. IP
d. SP
7. RET pops the ______ at the top of the stack into
the instruction pointer and increments SP by
________.
a. byte, two
b. byte, one
c. word, one
d. word, two
8. Far calls are also called ______________ calls.
a. distant
b. inter segment
c. obscure
d. intra segment
9. Our computers screen is like a 2-D array having
__________ rows and __________ columns.
a. 40, 25
b. 80, 25
c. 25, 80
d. 25, 40
10. mov byte [swap], 0
What would happen if we dont use the keyword
byte or word before the operand?
a. Its good to use, otherwise size mismatch
error may occur
b. Its useless to use these keywords
c. Nothing will happen, program will run
smoothly all the time
d. Nothing will happen but its good practice to
use theses keywords