Explore topic-wise MCQs in Testing Subject.

This section includes 657 Mcqs, each offering curated multiple-choice questions to sharpen your Testing Subject knowledge and support exam preparation. Choose a topic below to get started.

1.

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
2.

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
3.

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
4.

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
5.

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
6.

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
7.

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
8.

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
9.

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
10.

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
11.

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
12.

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
13.

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
14.

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.
15.

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
16.

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
17.

Which of the following is not the state of a process?

A. New
B. Old
C. Waiting
D. Running
Answer» C. Waiting
18.

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.
19.

The number of processes completed per unit time is known as __________

A. Output
B. Throughput
C. Efficiency
D. Capacity
Answer» C. Efficiency
20.

A Process Control Block(PCB) does not contain which of the following :

A. Code
B. Stack
C. Bootstrap program
D. Data
Answer» D. Data
21.

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
22.

Which system call returns the process identifier of a terminated child?

A. wait
B. exit
C. fork
D. get
Answer» B. exit
23.

A process stack does not contain

A. Function parameters
B. Local variables
C. Return addresses
D. PID of child process
Answer» E.
24.

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
25.

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
26.

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
27.

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.
28.

In Unix, Which system call creates the new process?

A. fork
B. create
C. new
D. none of the mentioned
Answer» B. create
29.

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.
30.

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
31.

The OS X has ____________

A. monolithic kernel
B. hybrid kernel
C. microkernel
D. monolithic kernel with modules
Answer» C. microkernel
32.

Which one of the following is not a real time operating system?

A. VxWorks
B. Windows CE
C. RTLinux
D. Palm OS
Answer» E.
33.

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
34.

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
35.

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
36.

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
37.

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.
38.

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
39.

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
40.

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.