

MCQOPTIONS
Saved Bookmarks
This section includes 1690 Mcqs, each offering curated multiple-choice questions to sharpen your Technical Programming knowledge and support exam preparation. Choose a topic below to get started.
1301. |
Priority inversion is solved by use of _____________ |
A. | priority inheritance protocol |
B. | two phase lock protocol |
C. | time protocol |
D. | all of the mentioned |
Answer» B. two phase lock protocol | |
1302. |
The most effective technique to keep dispatch latency low is to : |
A. | provide non preemptive kernels |
B. | provide preemptive kernels |
C. | make it user programmed |
D. | run less number of processes at a time |
Answer» C. make it user programmed | |
1303. |
The amount of time required for the scheduling dispatcher to stop one process and start another is known as ______________ |
A. | event latency |
B. | interrupt latency |
C. | dispatch latency |
D. | context switch |
Answer» D. context switch | |
1304. |
Real time systems need to __________ the interrupt latency. |
A. | minimize |
B. | maximize |
C. | not bother about |
D. | none of the mentioned |
Answer» B. maximize | |
1305. |
Interrupt latency refers to the period of time : |
A. | from the occurrence of an event to the arrival of an interrupt |
B. | from the occurrence of an event to the servicing of an interrupt |
C. | from arrival of an interrupt to the start of the interrupt service routine |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
1306. |
Event latency is : |
A. | the amount of time an event takes to occur from when the system started |
B. | the amount of time from the event occurrence till the system stops |
C. | the amount of time from event occurrence till the event crashes |
D. | the amount of time that elapses from when an event occurs to when it is serviced. |
Answer» E. | |
1307. |
Real time systems must have : |
A. | preemptive kernels |
B. | non preemptive kernels |
C. | preemptive kernels or non preemptive kernels |
D. | neither preemptive nor non preemptive kernels |
Answer» B. non preemptive kernels | |
1308. |
Preemptive, priority based scheduling guarantees : |
A. | hard real time functionality |
B. | soft real time functionality |
C. | protection of memory |
D. | none of the mentioned |
Answer» C. protection of memory | |
1309. |
The disadvantage of real addressing mode is : |
A. | there is a lot of cost involved |
B. | time consumption overhead |
C. | absence of memory protection between processes |
D. | restricted access to memory locations by processes |
Answer» D. restricted access to memory locations by processes | |
1310. |
VxWorks is centered around |
A. | wind microkernel |
B. | linux kernel |
C. | unix kernel |
D. | None of the mentioned |
Answer» B. linux kernel | |
1311. |
Which one of the following is a real time operating system? |
A. | RTLinux |
B. | VxWorks |
C. | Windows CE |
D. | All of the mentioned |
Answer» E. | |
1312. |
Time required to synchronous switch from the context of one thread to the context of another thread is called |
A. | threads fly-back time |
B. | jitter |
C. | context switch time |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
1313. |
Time duration required for scheduling dispatcher to stop one process and start another is known as |
A. | process latency |
B. | dispatch latency |
C. | execution latency |
D. | interrupt latency |
Answer» C. execution latency | |
1314. |
The problem of priority inversion can be solved by |
A. | priority inheritance protocol |
B. | priority inversion protocol |
C. | both priority inheritance and inversion protocol |
D. | none of the mentioned |
Answer» B. priority inversion protocol | |
1315. |
In which scheduling certain amount of CPU time is allocated to each process? |
A. | earliest deadline first scheduling |
B. | proportional share scheduling |
C. | equal share scheduling |
D. | none of the mentioned |
Answer» C. equal share scheduling | |
1316. |
In rate monotonic scheduling |
A. | shorter duration job has higher priority |
B. | longer duration job has higher priority |
C. | priority does not depend on the duration of the job |
D. | none of the mentioned |
Answer» B. longer duration job has higher priority | |
1317. |
Hard real time operating system has ___ jitter than a soft real time operating system. |
A. | less |
B. | more |
C. | equal |
D. | none of the mentioned |
Answer» B. more | |
1318. |
In real time operating system |
A. | all processes have the same priority |
B. | a task must be serviced by its deadline period |
C. | process scheduling can be done only once |
D. | kernel is not required |
Answer» C. process scheduling can be done only once | |
1319. |
If the number of cycles spent busy – waiting is not excessive, then : |
A. | interrupt driven I/O is more efficient than programmed I/O |
B. | programmed I/O is more efficient than interrupt driven I/O |
C. | both programmed and interrupt driven I/O are equally efficient |
D. | none of the mentioned |
Answer» C. both programmed and interrupt driven I/O are equally efficient | |
1320. |
I/O is a _________ in system performance. |
A. | major factor |
B. | minor factor |
C. | does not matter |
D. | none of the mentioned |
Answer» B. minor factor | |
1321. |
A ________ is a full duplex connection between a device driver and a user level process. |
A. | Bus |
B. | I/O operation |
C. | Stream |
D. | Flow |
Answer» D. Flow | |
1322. |
Windows NT uses a __________ implementation for I/O |
A. | message – passing |
B. | draft – passing |
C. | secondary memory |
D. | cache |
Answer» B. draft – passing | |
1323. |
The kernel data structures include : |
A. | process table |
B. | open file table |
C. | close file table |
D. | all of the mentioned |
Answer» C. close file table | |
1324. |
The ________ keeps state information about the use of I/O components. |
A. | CPU |
B. | OS |
C. | kernel |
D. | shell |
Answer» D. shell | |
1325. |
Spooling : |
A. | holds a copy of the data |
B. | is fast memory |
C. | holds the only copy of the data |
D. | holds output for a device |
Answer» D. holds output for a device | |
1326. |
Caching : |
A. | holds a copy of the data |
B. | is fast memory |
C. | holds the only copy of the data |
D. | holds output for a device |
Answer» B. is fast memory | |
1327. |
Caching is ________ spooling. |
A. | same as |
B. | not the same as |
C. | All of the mentioned. |
D. | none of the mentioned |
Answer» C. All of the mentioned. | |
1328. |
Buffering is done to : |
A. | cope with device speed mismatch |
B. | cope with device transfer size mismatch |
C. | maintain copy semantics |
D. | all of the mentioned |
Answer» E. | |
1329. |
An asynchronous call : |
A. | returns immediately, without waiting for the I/O to complete |
B. | does not return immediately and waits for the I/O to complete |
C. | consumes a lot of time |
D. | is too slow |
Answer» B. does not return immediately and waits for the I/O to complete | |
1330. |
A non blocking system call _________________ |
A. | halts the execution of the application for an extended time |
B. | does not halt the execution of the application |
C. | does not block the interrupts |
D. | none of the mentioned |
Answer» C. does not block the interrupts | |
1331. |
In polling : |
A. | busy – wait cycles wait for I/O from device |
B. | interrupt handler receives interrupts |
C. | interrupt-request line is triggered by I/O device |
D. | all of the mentioned |
Answer» B. interrupt handler receives interrupts | |
1332. |
A keyboard is an example of a device that is accessed through a __________ interface. |
A. | block stream |
B. | set of blocks |
C. | character stream |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
1333. |
A dedicated device is : |
A. | opposite to a sharable device |
B. | same as a sharable device |
C. | can be used concurrently by several processes |
D. | none of the mentioned |
Answer» B. same as a sharable device | |
1334. |
A block device transfers : |
A. | bytes one by one |
B. | block of bytes as a unit |
C. | with unpredictable response times |
D. | none of the mentioned |
Answer» C. with unpredictable response times | |
1335. |
A character stream device transfers : |
A. | bytes one by one |
B. | block of bytes as a unit |
C. | with unpredictable response times |
D. | none of the mentioned |
Answer» B. block of bytes as a unit | |
1336. |
For large data transfers, _________ is used. |
A. | dma |
B. | programmed I/O |
C. | controller register |
D. | none of the mentioned |
Answer» B. programmed I/O | |
1337. |
Division by zero, accessing a protected or non existent memory address, or attempting to execute a privileged instruction from user mode are all categorized as ________ |
A. | errors |
B. | exceptions |
C. | interrupt handlers |
D. | all of the mentioned |
Answer» C. interrupt handlers | |
1338. |
The interrupt vector contains : |
A. | the interrupts |
B. | the memory addresses of specialized interrupt handlers |
C. | the identifiers of interrupts |
D. | the device addresses |
Answer» C. the identifiers of interrupts | |
1339. |
The __________ is used by device controllers to request service. |
A. | nonmaskable interrupt |
B. | blocked interrupt |
C. | maskable interrupt |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
1340. |
The ________ can be turned off by the CPU before the execution of critical instruction sequences that must not be interrupted. |
A. | nonmaskable interrupt |
B. | blocked interrupt |
C. | maskable interrupt |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
1341. |
The _________ are reserved for events such as unrecoverable memory errors. |
A. | non maskable interrupts |
B. | blocked interrupts |
C. | maskable interrupts |
D. | none of the mentioned |
Answer» B. blocked interrupts | |
1342. |
In general the two interrupt request lines are : |
A. | maskable & non maskable interrupts |
B. | blocked & non maskable interrupts |
C. | maskable & blocked interrupts |
D. | none of the mentioned |
Answer» B. blocked & non maskable interrupts | |
1343. |
The _________ determines the cause of the interrupt, performs the necessary processing and executes a return from the interrupt instruction to return the CPU to the execution state prior to the interrupt. |
A. | interrupt request line |
B. | device driver |
C. | interrupt handler |
D. | all of the mentioned |
Answer» D. all of the mentioned | |
1344. |
The CPU hardware has a wire called __________ that the CPU senses after executing every instruction. |
A. | interrupt request line |
B. | interrupt bus |
C. | interrupt receive line |
D. | interrupt sense line |
Answer» B. interrupt bus | |
1345. |
The hardware mechanism that allows a device to notify the CPU is called _______ |
A. | polling |
B. | interrupt |
C. | driver |
D. | controlling |
Answer» C. driver | |
1346. |
The ______ register is written by the host to send output. |
A. | status |
B. | control |
C. | data in |
D. | data out |
Answer» E. | |
1347. |
The ______ register is read by the host to get input. |
A. | flow in |
B. | flow out |
C. | data in |
D. | data out |
Answer» D. data out | |
1348. |
An I/O port typically consists of four registers status, control, ________ and ________ registers. |
A. | system in, system out |
B. | data in, data out |
C. | flow in, flow out |
D. | input, output |
Answer» C. flow in, flow out | |
1349. |
A ________ is a collection of electronics that can operate a port, a bus, or a device. |
A. | controller |
B. | driver |
C. | host |
D. | bus |
Answer» B. driver | |
1350. |
The _________ present a uniform device-access interface to the I/O subsystem, much as system calls provide a standard interface between the application and the operating system. |
A. | Devices |
B. | Buses |
C. | Device drivers |
D. | I/O systems |
Answer» D. I/O systems | |