MCQ Bank
INT 0x13 service 0x03 is used to _________.
- A) Get drive parameter
- B) Read disk sector
- C) Write disk sector
- D) Reset disk sector
While using INT 10 for writing graphic pixel on screen, which of the following registers hold the information about pixel color?
- A) DH
- B) AL
- C) AH
- D) DL
In DOS, if 'file name' is more than 8-characters then which flags of 'attribute byte' are set
- A) Directory flag, Hidden flag, System flag and Volume label flag
- B) Directory flag and Hidden flag
- C) Directory flag and System flag
- D) System flag and Volume label flag
Which of the following INT 21 service is used to read character from standard input?
- A) 02
- B) 01
- C) 00
- D) 03
In multitasking, which of the following interrupts is used as a scheduler?
- A) INT 16
- B) INT 13
- C) INT 08
- D) INT 21
BIOS video services are broadly classified into ________ categories.
- A) 2
- B) 3
- C) 4
- D) 1
Which of the following is the size of Hard Disk MBR (Master Boot Record)?
- A) 446 bytes
- B) 350 bytes
- C) 512 bytes
- D) 256 bytes
The first sector on hard disk contains the
- A) Partition table
- B) Data size
- C) Hard disk size
- D) Sector size
During multitasking, ____________ is used to get control from the program without letting the program know about it.
- A) IRQ 1
- B) IRQ 7
- C) IRQ 0
- D) IRQ 5
Which of the following symbols is used to terminate a string in assembly language?
- A) #
- B) $
- C) ;
- D) !
Which of the following services of INT 10 is used to write graphic pixel on the screen ?
- A) 0x0B
- B) 0x0C
- C) 0x0D
- D) 0x0A
Changing and restoring the state of Central Processing Unit (CPU) is called ________________.
- A) Multithreading
- B) Multitasking
- C) Context Switching
- D) Thrashing
"INT13 --BIOS disk services" generally uses which register to return the 'error flag' ?
- A) AL
- B) CF
- C) AH
- D) DL
In case of COM file, first command line parameter is stored at ___ offset of 'program segment prefix'
- A) 0x84
- B) 0x80
- C) 0x86
- D) 0x82
As compared to _________ , ___________ provides more cooked services.
- A) BIOS, DOS
- B) DOS,OS
- C) OS, DOS
- D) DOS, BIOS
Which of the following services of INT 10 is used for writing the string?
- A) 0x13
- B) 0x11
- C) 0x10
- D) 0x12
In case of COM file, maximum length of parameters passed through command line can be ___
- A) 511 bytes
- B) 255 bytes
- C) 63 bytes
- D) 127 bytes
Which of the following registers hold the page number for using the write string service of INT 10?
- A) BH
- B) CL
- C) BL
- D) AH
On executing INT 0x21 service 0x3D, if file is successfully opened then
- A) CF will contain 1
- B) ZF will contain 1
- C) ZF will contain 0
- D) CF will contain 0
The thread registration code initializes the Process Control Block (PCB) and adds it to the linked list. The ________________, then gives it a turn.
- A) scheduler
- B) interpreter
- C) linker
- D) assembler