CS401 Quiz No.3 (Solved) prepared by Amna

CS401

Quiz NO 3

 Fall 2023

Question # 1 of 10 (Start time: 04:04:57 PM) Total Marks: 1

1.    The area where all the registers of a process are stored, is known as __________.
Select correct option:
 Process Containing Block
Process Control Block
Process Code Block
Process Compilation Block 

2.    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

3.    While using INT 10 for writing graphic pixel on screen, which of the following registers hold the information about pixel color?
Select correct option:
DH
DL
AH
AL

4.    In multitasking, the process of saving and restoring the values of registers from a Process Control Block (PCB) is called __________.
Select correct option:
Context switching
Context saving
Context restoring
Code switching 

5.    Which of the following are required for thread entry?
Select correct option:
CS and DS
CS and IP
IP and general-purpose registers
SS and SP

6.    In the context of video services, if we want to set the cursor at top left corner, which of the values will be stored in DH and DL respectively?
Select correct option:
00, 00
00, 80
25, 80
01,01

7.    The space where all the registers of a task are stored is called the
Select correct option:
control block
process control block
stack
memory

8.    Which of the following services of INT 10 is used to write graphic pixel on the screen?
Select correct option:
0x0A
0x0B
0x0C
0x0D

9.    The space where all the registers of a task are stored is called the
Select correct option:
control block
process control block
stack
memory

10.  Which of the following services of INT 10 is used to write graphic pixel on the screen?
Select correct option:
0x0A
0x0B
0x0C
0x0D


Post a Comment

0 Comments