MCQ Bank
The value of ____________ is recovered from the stack when RET instruction is executed.
- A) PC
- B) SP
- C) IP
- D) DS
Our computers screen is like a 2-D array having __________ rows and __________ columns.
- A) 25, 40
- B) 40, 25
- C) 25, 80
- D) 80, 25
VGA stands for
- A) Video Graphics Adapter
- B) Video Graphic Accumulator
- C) Video Graphics Application
- D) Visual Graphics Adapter
In the assembly language program, when using div instruction, dividend is stored in ____
- A) Operand placed with div instruction
- B) DI
- C) AX
- D) BX
MOV AX, 0XB800 MOV ES, AX ; This instruction points ES to_______.
- A) graphics base
- B) numeric base
- C) audio base
- D) video base
MOVS instruction is used to ____________
- A) Move register to a memory location
- B) Move a memory location to register
- C) Move memory to memory
- D) Move register to register
In string instructions, the mode is called auto-increment mode when:
- A) DF is set
- B) CX is set
- C) DF is cleared
- D) ZF is cleared
DB-25 is a _______________ port connector.
- A) partially serial
- B) half duplex
- C) serial
- D) parallel
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)?
- A) 1
- B) 0
- C) 11
- D) 10
Which of following pins of parallel port are used to carry the data from processor to the device connected through parallel port?
- A) pin 2 to pin 9
- B) pin 10
- C) pin 4
- D) pin 18 to pin 25
The default source location for both LODS and MOVS instruction is ______.
- A) BP:ES
- B) CS:IP
- C) DS:SI
- D) AX:SI
Using OUT instruction on data port (378), 1 bits result in a ___________ signal on the corresponding pin.
- A) 10V
- B) 1V
- C) 5V
- D) 3V
To return back from the Interrupt Service Routine to position from where ISR was called, which of the following instruction is used?
- A) retf
- B) iret
- C) retn
- D) ret
Which of following IO port is used to send an EOI signal to PIC?
- A) 0x23
- B) 0x20
- C) 0x21
- D) 0x22
Which assembly language instruction is used to enable the interrupt requests?
- A) sti
- B) cli
- C) dit
- D) eit
Every String Instruction in iAPX88 architecture has ____ variants.
- A) 8
- B) 2
- C) 4
- D) 16
If ________ is set, then after every instruction a type 1 interrupt will automatically be generated.
- A) Overflow flag
- B) Trap flag
- C) Parity flag
- D) Carry flag
mov ax,2 push ax pop bx add bx,ax at the end of execution of above code, what will be value in ax?
- A) 1
- B) 0
- C) 4
- D) 2
In iAPX88 architecture, the DOS Interrupt Vector Table resides at _____ memory location.
- A) 8
- B) 4
- C) 2
- D) 0
Which IO port is used to scan the code of key pressed on the keyboard?
- A) 0x62
- B) 0x60
- C) 0x61
- D) 0x63