

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.
1601. |
In an interrupt driven input/output : |
A. | the CPU uses polling to watch the control bit constantly, looping to see if device is ready |
B. | the CPU writes one data byte to the data register and sets a bit in control register to show that a byte is available |
C. | the CPU receives an interrupt when the device is ready for the next byte |
D. | the CPU runs a user written code and does accordingly |
Answer» D. the CPU runs a user written code and does accordingly | |
1602. |
In a programmed input/output(PIO) : |
A. | the CPU uses polling to watch the control bit constantly, looping to see if device is ready |
B. | the CPU writes one data byte to the data register and sets a bit in control register to show that a byte is available |
C. | the CPU receives an interrupt when the device is ready for the next byte |
D. | the CPU runs a user written code and does accordingly |
Answer» B. the CPU writes one data byte to the data register and sets a bit in control register to show that a byte is available | |
1603. |
In a memory mapped input/output : |
A. | the CPU uses polling to watch the control bit constantly, looping to see if device is ready |
B. | the CPU writes one data byte to the data register and sets a bit in control register to show that a byte is available |
C. | the CPU receives an interrupt when the device is ready for the next byte |
D. | the CPU runs a user written code and does accordingly |
Answer» C. the CPU receives an interrupt when the device is ready for the next byte | |
1604. |
DMA is used for : |
A. | High speed devices(disks and communications network) |
B. | Low speed devices |
C. | Utilizing CPU cycles |
D. | All of the mentioned |
Answer» B. Low speed devices | |
1605. |
An interrupt vector |
A. | is an address that is indexed to an interrupt handler |
B. | is a unique device number that is indexed by an address |
C. | is a unique identity given to an interrupt |
D. | none of the mentioned |
Answer» B. is a unique device number that is indexed by an address | |
1606. |
What is an ISR ? |
A. | Information Service Request |
B. | Interrupt Service Request |
C. | Interrupt Service Routine |
D. | Information Service Routine |
Answer» D. Information Service Routine | |
1607. |
What is a trap/exception ? |
A. | hardware generated interrupt caused by an error |
B. | software generated interrupt caused by an error |
C. | user generated interrupt caused by an error |
D. | none of the mentioned |
Answer» C. user generated interrupt caused by an error | |
1608. |
How does the software trigger an interrupt ? |
A. | Sending signals to CPU through bus |
B. | Executing a special operation called system call |
C. | Executing a special program called system program |
D. | Executing a special program calle interrupt trigger program |
Answer» C. Executing a special program called system program | |
1609. |
The initial program that is run when the computer is powered up is called : |
A. | boot program |
B. | bootloader |
C. | initializer |
D. | bootstrap program |
Answer» E. | |
1610. |
A process that is based on IPC mechanism which executes on different systems and can communicate with other processes using message based communication, is called ________ |
A. | Local Procedure Call |
B. | Inter Process Communication |
C. | Remote Procedure Call |
D. | Remote Machine Invocation |
Answer» D. Remote Machine Invocation | |
1611. |
The remote method invocation : |
A. | allows a process to invoke memory on a remote object |
B. | allows a thread to invoke a method on a remote object |
C. | allows a thread to invoke memory on a remote object |
D. | allows a process to invoke a method on a remote object |
Answer» C. allows a thread to invoke memory on a remote object | |
1612. |
The full form of RMI : |
A. | Remote Memory Installation |
B. | Remote Memory Invocation |
C. | Remote Method Installation |
D. | Remote Method Invocation |
Answer» E. | |
1613. |
To resolve the problem of data representation on different systems RPCs define _____________ |
A. | machine dependent representation of data |
B. | machine representation of data |
C. | machine-independent representation of data |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
1614. |
The stub : |
A. | transmits the message to the server where the server side stub receives the message and invokes procedure on the server side |
B. | packs the parameters into a form transmittable over the network |
C. | locates the port on the server |
D. | all of the mentioned |
Answer» E. | |
1615. |
RPC provides a(an) _____ on the client side, a separate one for each remote procedure. |
A. | stub |
B. | identifier |
C. | name |
D. | process identifier |
Answer» B. identifier | |
1616. |
To differentiate the many network services a system supports ______ are used. |
A. | Variables |
B. | Sockets |
C. | Ports |
D. | Service names |
Answer» D. Service names | |
1617. |
Remote Procedure Calls are used : |
A. | for communication between two processes remotely different from each other on the same system |
B. | for communication between two processes on the same system |
C. | for communication between two processes on separate systems |
D. | None of the mentioned |
Answer» D. None of the mentioned | |
1618. |
Bounded capacity and Unbounded capacity queues are referred to as : |
A. | Programmed buffering |
B. | Automatic buffering |
C. | User defined buffering |
D. | No buffering |
Answer» C. User defined buffering | |
1619. |
The Zero Capacity queue : |
A. | is referred to as a message system with buffering |
B. | is referred to as a message system with no buffering |
C. | is referred to as a link |
D. | none of the mentioned |
Answer» C. is referred to as a link | |
1620. |
In the Zero capacity queue : |
A. | the queue can store at least one message |
B. | the sender blocks until the receiver receives the message |
C. | the sender keeps sending and the messages don’t wait in the queue |
D. | none of the mentioned |
Answer» C. the sender keeps sending and the messages don’t wait in the queue | |
1621. |
In the non blocking send : |
A. | the sending process keeps sending until the message is received |
B. | the sending process sends the message and resumes operation |
C. | the sending process keeps sending until it receives a message |
D. | none of the mentioned |
Answer» C. the sending process keeps sending until it receives a message | |
1622. |
In indirect communication between processes P and Q : |
A. | there is another process R to handle and pass on the messages between P and Qvv |
B. | there is another machine between the two processes to help communication |
C. | there is a mailbox to help communication between P and Q |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
1623. |
Which of the following are TRUE for direct communication : |
A. | A communication link can be associated with N number of process(N = max. number of processes supported by system) |
B. | A communication link can be associated with exactly two processes |
C. | Exactly N/2 links exist between each pair of processes(N = max. number of processes supported by system) |
D. | Exactly two link exists between each pair of processes |
Answer» C. Exactly N/2 links exist between each pair of processes(N = max. number of processes supported by system) | |
1624. |
The link between two processes P and Q to send and receive messages is called : |
A. | communication link |
B. | message-passing link |
C. | synchronization link |
D. | all of the mentioned |
Answer» B. message-passing link | |
1625. |
Messages sent by a process : |
A. | have to be of a fixed size |
B. | have to be a variable size |
C. | can be fixed or variable sized |
D. | None of the mentioned |
Answer» D. None of the mentioned | |
1626. |
An IPC facility provides at least two operations : |
A. | write & delete message |
B. | delete & receive message |
C. | send & delete message |
D. | receive & send message |
Answer» E. | |
1627. |
Message passing system allows processes to : |
A. | communicate with one another without resorting to shared data |
B. | communicate with one another by resorting to shared data |
C. | share data |
D. | name the recipient or sender of the message |
Answer» B. communicate with one another by resorting to shared data | |
1628. |
Inter process communication : |
A. | allows processes to communicate and synchronize their actions when using the same address space |
B. | allows processes to communicate and synchronize their actions without using the same address space |
C. | allows the processes to only synchronize their actions without communication |
D. | none of the mentioned |
Answer» C. allows the processes to only synchronize their actions without communication | |
1629. |
The child process completes execution,but the parent keeps executing, then the child process is known as : |
A. | Orphan |
B. | Zombie |
C. | Body |
D. | Dead |
Answer» C. Body | |
1630. |
The child process can : |
A. | be a duplicate of the parent process |
B. | never be a duplicate of the parent process |
C. | cannot have another program loaded into it |
D. | never have another program loaded into it |
Answer» B. never be a duplicate of the parent process | |
1631. |
In UNIX, the return value for the fork system call is _____ for the child process and _____ for the parent process. |
A. | A Negative integer, Zero |
B. | Zero, A Negative integer |
C. | Zero, A nonzero integer |
D. | A nonzero integer, Zero |
Answer» D. A nonzero integer, Zero | |
1632. |
In UNIX, each process is identified by its : |
A. | Process Control Block |
B. | Device Queue |
C. | Process Identifier |
D. | None of the the mentioned |
Answer» D. None of the the mentioned | |
1633. |
With _____________ only one process can execute at a time; meanwhile all other process are waiting for the processor. With ______________ more than one process can be running simultaneously each on a different processor. |
A. | Multiprocessing, Multiprogramming |
B. | Multiprogramming, Uniprocessing |
C. | Multiprogramming, Multiprocessing |
D. | Uniprogramming, Multiprocessing |
Answer» E. | |
1634. |
Cascading termination refers to termination of all child processes before the parent terminates ______ |
A. | Normally |
B. | Abnormally |
C. | Normally or abnormally |
D. | None of the mentioned |
Answer» B. Abnormally | |
1635. |
A parent process calling _____ system call will be suspended until children processes terminate. |
A. | wait |
B. | fork |
C. | exit |
D. | exec |
Answer» B. fork | |
1636. |
Restricting the child process to a subset of the parent’s resources prevents any process from : |
A. | overloading the system by using a lot of secondary storage |
B. | under-loading the system by very less CPU utilization |
C. | overloading the system by creating a lot of sub-processes |
D. | crashing the system by utilizing multiple resources |
Answer» D. crashing the system by utilizing multiple resources | |
1637. |
To enable a process to wait within the monitor, |
A. | a condition variable must be declared as condition |
B. | condition variables must be used as boolean objects |
C. | semaphore must be used |
D. | all of the mentioned |
Answer» B. condition variables must be used as boolean objects | |
1638. |
A monitor is a module that encapsulates |
A. | shared data structures |
B. | procedures that operate on shared data structure |
C. | synchronization between concurrent procedure invocation |
D. | all of the mentioned |
Answer» E. | |
1639. |
Process synchronization can be done on |
A. | hardware level |
B. | software level |
C. | both hardware and software level |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
1640. |
When high priority task is indirectly preempted by medium priority task effectively inverting the relative priority of the two tasks, the scenario is called |
A. | priority inversion |
B. | priority removal |
C. | priority exchange |
D. | priority modification |
Answer» B. priority removal | |
1641. |
Mutual exclusion can be provided by the |
A. | mutex locks |
B. | binary semaphores |
C. | both mutex locks and binary semaphores |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
1642. |
A semaphore is a shared integer variable |
A. | that can not drop below zero |
B. | that can not be more than zero |
C. | that can not drop below one |
D. | that can not be more than one |
Answer» B. that can not be more than zero | |
1643. |
Which one of the following is a synchronization tool? |
A. | thread |
B. | pipe |
C. | semaphore |
D. | socket |
Answer» D. socket | |
1644. |
If a process is executing in its critical section, then no other processes can be executing in their critical section. This condition is called |
A. | mutual exclusion |
B. | critical exclusion |
C. | synchronous exclusion |
D. | asynchronous exclusion |
Answer» B. critical exclusion | |
1645. |
When several processes access the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place, is called |
A. | dynamic condition |
B. | race condition |
C. | essential condition |
D. | critical condition |
Answer» C. essential condition | |
1646. |
Which process can be affected by other processes executing in the system? |
A. | cooperating process |
B. | child process |
C. | parent process |
D. | init process |
Answer» B. child process | |
1647. |
Which of the following does not interrupt a running process ? |
A. | A device |
B. | Timer |
C. | Scheduler process |
D. | Power failure |
Answer» D. Power failure | |
1648. |
Which of the following need not necessarily be saved on a context switch between processes ? |
A. | General purpose registers |
B. | Translation lookaside buffer |
C. | Program counter |
D. | All of the mentioned |
Answer» C. Program counter | |
1649. |
The context of a process in the PCB of a process does not contain : |
A. | the value of the CPU registers |
B. | the process state |
C. | memory-management information |
D. | context switch time |
Answer» E. | |
1650. |
Suppose that a process is in “Blocked” state waiting for some I/O service. When the service is completed, it goes to the : |
A. | Running state |
B. | Ready state |
C. | Suspended state |
D. | Terminated state |
Answer» C. Suspended state | |