Operating System MCQ (Multiple Choice Questions) - SchoolingAxis

Operating System MCQ (Multiple Choice Questions)

 Que- 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- all of the mentioned         


Que- To access the services of operating system, the interface is provided by the 

a. System calls 

b. API 

c. Library 

d. Assembly instructions  


Answer- System calls        


Que- 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- kernel is made of various modules which can not be loaded in running operating system        


Que- 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- all of the mentioned         


Que- 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- to get and execute the next user-specified command        


Que- 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- both time and space division multiplexing        


Que- 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- log file        


Que- 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- DTrace        


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

a. VxWorks 

b. Windows CE 

c. RTLinux 

d. Palm OS  


Answer- Palm OS         


Que- The OS X has ____________ 

a. monolithic kernel 

b. hybrid kernel 

c. microkernel 

d. monolithic kernel with modules  


Answer- hybrid kernel        


Que- 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- uniprocessing systems        


Que- 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- all of the mentioned         


Que- In Unix, Which system call creates the new process? 

a. fork 

b. create 

c. new 

d. none of the mentioned  


Answer- fork        


Que- A process can be terminated due to 

a. normal exit 

b. fatal error 

c. killed by another process 

d. all of the mentioned  


Answer- all of the mentioned         


Que- 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- when process is scheduled to run after some execution        


Que- 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- communication between two process        


Que- 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- each process is blocked and will remain so forever        


Que- A process stack does not contain 

a. Function parameters 

b. Local variables 

c. Return addresses 

d. PID of child process  


Answer- PID of child process         


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

a. wait 

b. exit 

c. fork 

d. get  


Answer- wait        


Que- 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- Program counter        


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

a. Code 

b. Stack 

c. Bootstrap program 

d. Data  


Answer- Bootstrap program        


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

a. Output 

b. Throughput 

c. Efficiency 

d. Capacity  


Answer- Throughput        


Que- 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- the current activity of the process         


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

a. New 

b. Old 

c. Waiting 

d. Running  


Answer- Old        


Que- The Process Control Block is: 

a. Process type variable 

b. Data Structure 

c. A secondary storage section 

d. A Block in memory  


Answer- Data Structure        


Que- 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- Process Table        


Que- 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- the number of processes in memory        


Que- 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- only one task at a time        


Que- 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- Have some process running at all times        


Que- Which of the following do not belong to queues for processes ? 

a. Job Queue 

b. PCB queue 

c. Device Queue 

d. Ready Queue  


Answer- PCB queue        


Que- 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- It is placed in an I/O queue        


Que- 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- It is removed from all queues        


Que- 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- It selects which process has to be brought into the ready queue        


Que- 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- empty,little        


Previous Post Next Post

Responsive Ad