MCQ Computer ScienceOperating System

Operating System MCQ

Operating System MCQ covering  all areas of Operating System.Each Operating system multiple choice questions are set on a specific topic in Operating Systems. Anyone who is plan to skill in any area of  Operating Systems for  preparing  interviews , for entrance examinations and other competitive examinations.

1. To access the services of operating system, the interface is provided by the
a) System calls
b) API
c) Library
d) Assembly instructions

Answer

Answer: a

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

Answer: d

3. Which system call returns the process identifier of a terminated child?
a) wait
b) exit
c) fork
d) get

Answer

Answer: a

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

Answer: c

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

Answer: a

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

Answer: a

7. Which one of the following is not a real time operating system?
a) VxWorks
b) Windows CE
c) RTLinux
d) Palm OS

Answer

Answer: d

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

Answer: d

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

Answer: c

10. In Unix, Which system call creates the new process?
a) fork
b) create
c) new
d) none of the mentioned

Answer

Answer: a

11. A process can be terminated due to
a) normal exit
b) fatal error
c) killed by another process
d) all of the mentioned

Answer

Answer: d

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

Answer: a

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

Answer: b

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

Answer: a

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

Answer: b

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

Answer: d

17. A process stack does not contain
a) Function parameters
b) Local variables
c) Return addresses
d) PID of child process

Answer

Answer: d

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

Answer: a

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

Answer: d

20. A Process Control Block(PCB) does not contain which of the following :
a) Code
b) Stack
c) Bootstrap program
d) Data

Answer

Answer: c

CLICK FOR ALL TOPICS OF OPERATING SYSTEM MCQ

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button