

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.
1651. |
In a multiprogramming environment : |
A. | the processor executes more than one process at a time |
B. | the programs are developed by more than one person |
C. | more than one process resides in the memory |
D. | a single user can execute many programs at the same time |
Answer» D. a single user can execute many programs at the same time | |
1652. |
In a time-sharing operating system, when the time slot given to a process is completed, the process goes from the running state to the : |
A. | Blocked state |
B. | Ready state |
C. | Suspended state |
D. | Terminated state |
Answer» C. Suspended state | |
1653. |
The only state transition that is initiated by the user process itself is : |
A. | block |
B. | wakeup |
C. | dispatch |
D. | none of the mentioned |
Answer» B. wakeup | |
1654. |
The primary distinction between the short term scheduler and the long term scheduler is : |
A. | The length of their queues |
B. | The type of processes they schedule |
C. | The frequency of their execution |
D. | None of the mentioned |
Answer» D. None of the mentioned | |
1655. |
What is a short-term scheduler ? |
A. | It selects which process has to be brought into the ready queue |
B. | It selects which process has to be executed next and allocates CPU |
C. | It selects which process to remove from memory by swapping |
D. | None of the mentioned |
Answer» C. It selects which process to remove from memory by swapping | |
1656. |
What is a medium-term scheduler ? |
A. | It selects which process has to be brought into the ready queue |
B. | It selects which process has to be executed next and allocates CPU |
C. | It selects which process to remove from memory by swapping |
D. | None of the mentioned |
Answer» D. None of the mentioned | |
1657. |
If all processes I/O bound, the ready queue will almost always be ______ and the Short term Scheduler will have a ______ to do. |
A. | full,little |
B. | full,lot |
C. | empty,little |
D. | empty,lot |
Answer» D. empty,lot | |
1658. |
What is a long-term scheduler ? |
A. | It selects which process has to be brought into the ready queue |
B. | It selects which process has to be executed next and allocates CPU |
C. | It selects which process to remove from memory by swapping |
D. | None of the mentioned |
Answer» B. It selects which process has to be executed next and allocates CPU | |
1659. |
When a process terminates : |
A. | It is removed from all queues |
B. | It is removed from all, but the job queue |
C. | Its process control block is de-allocated |
D. | Its process control block is never de-allocated |
Answer» B. It is removed from all, but the job queue | |
1660. |
When the process issues an I/O request : |
A. | It is placed in an I/O queue |
B. | It is placed in a waiting queue |
C. | It is placed in the ready queue |
D. | It is placed in the Job queue |
Answer» B. It is placed in a waiting queue | |
1661. |
Which of the following do not belong to queues for processes ? |
A. | Job Queue |
B. | PCB queue |
C. | Device Queue |
D. | Ready Queue |
Answer» C. Device Queue | |
1662. |
The objective of multiprogramming is to : |
A. | Have some process running at all times |
B. | Have multiple programs waiting in a queue ready to run |
C. | To minimize CPU utilization |
D. | None of the mentioned |
Answer» B. Have multiple programs waiting in a queue ready to run | |
1663. |
A single thread of control allows the process to perform: |
A. | only one task at a time |
B. | multiple tasks at a time |
C. | only two tasks at a time |
D. | all of the mentioned |
Answer» B. multiple tasks at a time | |
1664. |
The degree of multiprogramming is: |
A. | the number of processes executed per unit time |
B. | the number of processes in the ready queue |
C. | the number of processes in the I/O queue |
D. | the number of processes in memory |
Answer» E. | |
1665. |
The entry of all the PCBs of the current processes is in: |
A. | Process Register |
B. | Program Counter |
C. | Process Table |
D. | Process Unit |
Answer» D. Process Unit | |
1666. |
The Process Control Block is: |
A. | Process type variable |
B. | Data Structure |
C. | A secondary storage section |
D. | A Block in memory |
Answer» C. A secondary storage section | |
1667. |
Which of the following is not the state of a process? |
A. | New |
B. | Old |
C. | Waiting |
D. | Running |
Answer» C. Waiting | |
1668. |
The state of a process is defined by: |
A. | the final activity of the process |
B. | the activity just executed by the process |
C. | the activity to next be executed by the process |
D. | the current activity of the process |
Answer» E. | |
1669. |
The number of processes completed per unit time is known as __________ |
A. | Output |
B. | Throughput |
C. | Efficiency |
D. | Capacity |
Answer» C. Efficiency | |
1670. |
A Process Control Block(PCB) does not contain which of the following : |
A. | Code |
B. | Stack |
C. | Bootstrap program |
D. | Data |
Answer» D. Data | |
1671. |
The address of the next instruction to be executed by the current process is provided by the |
A. | CPU registers |
B. | Program counter |
C. | Process stack |
D. | Pipe |
Answer» C. Process stack | |
1672. |
Which system call returns the process identifier of a terminated child? |
A. | wait |
B. | exit |
C. | fork |
D. | get |
Answer» B. exit | |
1673. |
A process stack does not contain |
A. | Function parameters |
B. | Local variables |
C. | Return addresses |
D. | PID of child process |
Answer» E. | |
1674. |
A set of processes is deadlock if |
A. | each process is blocked and will remain so forever |
B. | each process is terminated |
C. | all processes are trying to kill each other |
D. | none of the mentioned |
Answer» B. each process is terminated | |
1675. |
What is interprocess communication? |
A. | communication within the process |
B. | communication between two process |
C. | communication between two threads of same process |
D. | None of the mentioned. |
Answer» C. communication between two threads of same process | |
1676. |
What is the ready state of a process? |
A. | when process is scheduled to run after some execution |
B. | when process is unable to run until some task has been completed |
C. | when process is using the CPU |
D. | none of the mentioned |
Answer» B. when process is unable to run until some task has been completed | |
1677. |
A process can be terminated due to |
A. | normal exit |
B. | fatal error |
C. | killed by another process |
D. | all of the mentioned |
Answer» E. | |
1678. |
In Unix, Which system call creates the new process? |
A. | fork |
B. | create |
C. | new |
D. | none of the mentioned |
Answer» B. create | |
1679. |
In operating system, each process has its own |
A. | address space and global variables |
B. | open files |
C. | pending alarms, signals and signal handlers |
D. | all of the mentioned |
Answer» E. | |
1680. |
The systems which allows only one process execution at a time, are called |
A. | uniprogramming systems |
B. | uniprocessing systems |
C. | unitasking systems |
D. | none of the mentioned |
Answer» C. unitasking systems | |
1681. |
The OS X has ____________ |
A. | monolithic kernel |
B. | hybrid kernel |
C. | microkernel |
D. | monolithic kernel with modules |
Answer» C. microkernel | |
1682. |
Which one of the following is not a real time operating system? |
A. | VxWorks |
B. | Windows CE |
C. | RTLinux |
D. | Palm OS |
Answer» E. | |
1683. |
Which facility dynamically adds probes to a running system, both in user processes and in the kernel? |
A. | DTrace |
B. | DLocate |
C. | DMap |
D. | DAdd |
Answer» B. DLocate | |
1684. |
If a process fails, most operating system write the error information to a ______ |
A. | log file |
B. | another running process |
C. | new file |
D. | none of the mentioned |
Answer» B. another running process | |
1685. |
By operating system, the resource management can be done via |
A. | time division multiplexing |
B. | space division multiplexing |
C. | both time and space division multiplexing |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
1686. |
The main function of the command interpreter is |
A. | to get and execute the next user-specified command |
B. | to provide the interface between the API and application program |
C. | to handle the files in operating system |
D. | none of the mentioned |
Answer» B. to provide the interface between the API and application program | |
1687. |
Which one of the following error will be handle by the operating system? |
A. | power failure |
B. | lack of paper in printer |
C. | connection failure in the network |
D. | all of the mentioned |
Answer» E. | |
1688. |
Which one of the following is not true? |
A. | kernel is the program that constitutes the central core of the operating system |
B. | kernel is the first part of operating system to load into memory during booting |
C. | kernel is made of various modules which can not be loaded in running operating system |
D. | kernel remains in the memory during the entire computer session |
Answer» D. kernel remains in the memory during the entire computer session | |
1689. |
To access the services of operating system, the interface is provided by the |
A. | System calls |
B. | API |
C. | Library |
D. | Assembly instructions |
Answer» B. API | |
1690. |
What is operating system? |
A. | collection of programs that manages hardware resources |
B. | system service provider to the application programs |
C. | link to interface the hardware and application programs |
D. | All of the mentioned |
Answer» E. | |