CS401 Quiz 1 by MCS of Virtuallians
CS401 Quiz 1 by MCS of Virtuallians
55. In PIC, which of the following port is used for selectively enabling or disabling interrupts?
a. 19
b. 20
c. 21
d. 22
56. DOS has single entry point to access all its services through interrupt________
a. INT 21
b. INT 16
c. INT 2
d. INT 10
57. Which of the 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
58. The input frequency of the programmable interval timer(PIT) is
a. Fixed
b. Depends on processor block
c. Variable
d. Depends on hardware attached
59. All registers of task are stored in space called ________
a. Process storage block
b. Process control block
c. Process terminal
d. Swapping space
60. Which of the following IRQ`s is derived by a key board
a. IRQ 0
b. IRQ 1
c. IRQ 2
d. IRQ 3
61. The programmable interval timer (PIT) has input frequency of
a. 1.193MHz
b. 2.193MHz
c. 3.193MHz
d. 4.193MHz
62. Changing and restoring the state of Control processing unit (CPU) is referred as
a. Thrashing
b. Multitasking
c. Context Switching
d. Multithreading
63. For the external hardware to generate an interrupt there are how many pins outside the
processor?
a. 1
b. 2
c. 3
d. 4
64. Which of the following instruction selects peripheral address space?
a. MOV
b. DEC
c. IN
d. ADD
65. Which of the following is the most commonly used port with printer?
a. Serial Port
b. USB port
c. Parallel Port
d. DVI Port
66. _________allows us to execute one instruction at a time rather than the whole program at
once
a. INT 0
b. INT 1
c. INT 2
d. INT 3
67. Which of the following is used for exporting keyboard services?
a. INT 16
b. INT 11
c. INT 12
d. INT 8
68. TSR stands for
a. Terminate and store routines
b. Transmits and save resources
c. Terminate and Stay resident
d. Truncate and start recursively
69. Which of the following interrupts is of highest priority interrupt?
a. Key Board Interrupt
b. Timer Interrupt
c. INT 2
d. INT 3
70. In older computers, the port number designed for parallel pert LPT2 are_____
a. 078-07A
b. 178-17A
c. 278-27A
d. 378-37A
71. Which of the following is the ACK pin in DB-25 Connector
a. 10
b. 11
c. 12
d. 13
72. Which of the following IRQs is a cascading interrupt?
a. IRQ 0
b. IRQ 1
c. IRQ 2
d. IRQ 3
73. In interrupt masking, we use _______ to get control from the program without letting the
program know about it.
a. IRQ 0
b. IRQ 1
c. IRQ 5
d. IRQ 7
74. The output of programmable timer interval is connected to which line of the PIC?
a. IRQ 0
b. IRQ 1
c. IRQ 2
d. IRQ 3
75. Which of the following IRQs is used for Floppy disk drive?
a. IRQ 4
b. IRQ 5
c. IRQ 6
d. IRQ 7
76. In multitasking, each PCB requires _______ bytes to store the values of registers.
a. 14
b. 28
c. 32
d. 16
77. Which of the following IRQs is used for sound card or network card?
a. IRQ 4
b. IRQ 5
c. IRQ 6
d. IRQ 7
78. Programmable interrupt controller has _______ ports.
a. 1
b. 2
c. 3
d. 4
79. Which of the following bits of parallel control port enables the IRQ 7 triggering by the ACK
pin?
a. Bit 1
b. Bit 2
c. Bit 3
d. Bit 4
80. Which of the following IRQs is derived by a timer device?
a. IRQ 0
b. IRQ 1
c. IRQ 2
d. IRQ 3
81. ________is a special type of interrupt that returns to the same instruction instead f the next
instruction
a. Divide overflow
b. Debug interrupt
c. Arithmetic overflow interrupt
d. Change the sign interrupt
82. All the registers & stack are saved in
a. Multitasking
b. Multi-Processing
c. Function call
d. BIOS
83. Which of the following is the source register in OUT instruction?
a. AL or AX
b. BL or BX
c. CL or CX
d. DL or DX
84. Which of the following is the destination register in IN instruction?
a. AL or AX
b. BL or BX
c. CL or CX
d. DL or DX