1) C++: Which of the following keywords allows the method resolution at run time?
a. abstract
b. override
c. virtual
d. None of the above.
b. 321
c. 324
d. None of the above
b. Medium-term scheduling
c. Short-term scheduling
d. None of the above.
b. 45
c. 48
d. None of the above.
b. Network layer.
c. Data layer.
d. None of the above.
a. abstract
b. override
c. virtual
d. None of the above.
2) OS: If the disk head is located initially at 32, find the number of disk moves required with FCFS if the disk queue of I/O blocks requests are 98, 37, 14, 124, 65, 70.
a. 320b. 321
c. 324
d. None of the above
3) OS: Which scheduler performs the "swapping out" or "swapping in"?
a. Long-term schedulingb. Medium-term scheduling
c. Short-term scheduling
d. None of the above.
4) Evaluate the postfix expression 3574-2^*+
a. 41b. 45
c. 48
d. None of the above.
5) Which OSI layer is responsible for delivery of data packets from source to destination?
a. Transport layer.b. Network layer.
c. Data layer.
d. None of the above.
Answers:
1) d
2) c
3) b
4) c
5) b