23.4.14

CS401 Quiz No.4 Shared by Qudsia

Question # 1
Which of the following is used to terminate a string in assembly language?
Select correct option:
!
#
$
;

Question # 2
Which of the following registers are used as a DOS input buffer?
Select correct option:
DS:AX
SS:SP
DS:DX
CS:BX

Question # 3
BIOS video services are exported via interrupt
Select correct option:
INT10
INT9
INT8
INT7

Question # 4
In interrupt masking, We use ________ to get control from the program without letting the program know about it.
Select correct option:
IRQ 0
IRQ 1
IRQ 2
IRQ 3

Question # 5
In case of COM file, maximum length of parameters passed through command line can be ___
Select correct option:
63 bytes
127 bytes
255 bytes (not confirmed)
511 bytes

Question # 6
In case of COM file, first command line parameter is stored at ___ offset of 'program segment prefix'
Select correct option:
0x80
0x82
0x84
0x86

Question # 7
In multitasking, which of the following interrupts is used as scheduler during context switching ?
Select correct option:
INT 21
INT 16
INT 13
INT 8

Question # 8
____________ is the highest priority interrupt in interrupt controller.
Select correct option:
IRQ 0
IRQ 1
IRQ 2
IRQ 3

Question # 9
Which of the following INT 21 service is used to read character from standard input?
Select correct option:
00
01
02
03

Question # 10
As compared to _________ , ___________ provides more cooked services.
Select correct option:
BIOS, DOS
DOS,OS
DOS, BIOS
OS, DOS



No comments:

Post a Comment

Please give us your feedback & help us to improve this site.

BNK601 Online Quizzes