28th
Dec
Operating System MCQ

Operating System MCQ

  • Admin
  • 28th Dec, 2022
  • 676 Followers

Operating System MCQ with Answers

Following are mostly asked Operating system MCQ test that are designed for professionals like you to crack you interviews. You can take this Operating system online test before appearing to you real interview. This Operating system quiz there are around 30+ multiple choice questions on Operating system with four options.

1) 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

2) To access the services of operating system, the interface is provided by the ___________

  • A. API
  • B. Library
  • C. System calls
  • D. Assembly instructions

3) Which one of the following error will be handle by the operating system?

  • A. connection failure in the network
  • B. lack of paper in printer
  • C. power failure
  • D. all of the mentioned

4) If a process fails, most operating system write the error information to a ______

  • A. new file
  • B. log file
  • C. another running process
  • D. none of the mentioned

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

  • A. Palm OS
  • B. RTLinux
  • C. VxWorks
  • D. Windows CE
Download Free : Operating System MCQ PDF

6) The OS X has ____________

  • A. hybrid kernel
  • B. microkernel
  • C. monolithic kernel
  • D. monolithic kernel with modules

7) In operating system, each process has its own __________

  • A. pending alarms, signals and signal handlers
  • B. address space and global variables
  • C. open files
  • D. All of the mentioned

8) In Unix, Which system call creates the new process?

  • A. create
  • B. fork
  • C. new
  • D. none of the mentioned

9) A process stack does not contain __________

  • A. Return addresses
  • B. PID of child process
  • C. Function parameters
  • D. Local variables

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

  • A. fork
  • B. get
  • C. wait
  • D. exit

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

  • A. fork
  • B. get
  • C. wait
  • D. exit

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

  • A. Code
  • B. Bootstrap program
  • C. Data
  • D. Stack

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

  • A. Old
  • B. New
  • C. Waiting
  • D. Running

14) What is a Process Control Block?

  • A. A secondary storage section
  • B. A Block in memory
  • C. Process type variable
  • D. Data Structure

15) The entry of all the PCBs of the current processes is in __________

  • A. Process Table
  • B. Program Counter
  • C. Process Register
  • D. Process Unit

16) What is the objective of multiprogramming?

  • A. Have multiple programs waiting in a queue ready to run
  • B. To minimize CPU utilization
  • C. Have some process running at all times
  • D. None of the mentioned

17) Which of the following do not belong to queues for processes?

  • A. Ready Queue
  • B. Job Queue
  • C. Device Queue
  • D. PCB queue

18) What will happen when a process terminates?

  • A. Its process control block is de-allocated
  • B. It is removed from all, but the job queue
  • C. It is removed from all queues
  • D. Its process control block is never de-allocated

19) The only state transition that is initiated by the user process itself is __________

  • A. wakeup
  • B. dispatch
  • C. block
  • D. none of the mentioned

20) Which of the following does not interrupt a running process?

  • A. A device
  • B. Timer
  • C. Power failure
  • D. Scheduler process

21) Which process can be affected by other processes executing in the system?

  • A. child process
  • B. parent process
  • C. cooperating process
  • D. init process

22) Which one of the following is a synchronization tool?

  • A. pipe
  • B. thread
  • C. socket
  • D. semaphore

23) Mutual exclusion can be provided by the __________

  • A. binary semaphores
  • B. mutex locks
  • C. both mutex locks and binary semaphores
  • D. none of the mentioned

24) A monitor is a module that encapsulates __________

  • A. shared data structures
  • B. synchronization between concurrent procedure invocation
  • C. procedures that operate on shared data structure
  • D. All of the mentioned

25) In UNIX, each process is identified by its __________

  • A. Device Queue
  • B. Process Identifier
  • C. Process Control Block
  • D. None of the mentioned

26) The child process can __________

  • A. never be a duplicate of the parent process
  • B. cannot have another program loaded into it
  • C. be a duplicate of the parent process
  • D. never have another program loaded into it

27) Which of the following two operations are provided by the IPC facility?

  • A. send & delete message
  • B. receive & send message
  • C. delete & receive message
  • D. write & delete message

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

29) To differentiate the many network services a system supports ______ are used.

  • A. Variables
  • B. Ports
  • C. Sockets
  • D. Service names

30) RPC provides a(an) _____ on the client side, a separate one for each remote procedure.

  • A. name
  • B. identifier
  • C. stub
  • D. process identifier

31) How does the software trigger an interrupt?

  • A. Executing a special program called interrupt trigger program
  • B. Executing a special program called system program
  • C. Executing a special operation called system call
  • D. Sending signals to CPU through bus

32) What is an ISR?

  • A. Interrupt Service Request
  • B. Information Service Request
  • C. Information Service Routine
  • D. Interrupt Service Routine

33) In the layered approach of Operating Systems __________

  • A. Highest Layer(N) is the User interface
  • B. Highest Layer(N) is the hardware
  • C. Bottom Layer(0) is the User interface
  • D. Bottom Layer(N) is the hardware

34) In priority scheduling algorithm ____________

  • A. Equal priority processes can not be scheduled
  • B. CPU is allocated to the process with lowest priority
  • C. CPU is allocated to the process with highest priority
  • D. None of the mentioned

35) Process are classified into different groups in ____________

  • A. multilevel queue scheduling algorithm
  • B. priority scheduling algorithm
  • C. shortest job scheduling algorithm
  • D. round robin scheduling algorithm

36) CPU scheduling is the basis of ___________

  • A. larger memory sized systems
  • B. multiprocessor systems
  • C. multiprogramming operating systems
  • D. none of the mentioned

37) With multiprogramming ______ is used productively.

  • A. money
  • B. time
  • C. space
  • D. All of the mentioned

38) What is Scheduling?

  • A. making proper use of processor
  • B. all of the mentioned
  • C. allowing a job to use the processor
  • D. None of the mentioned

39) Which of the following conditions must be satisfied to solve the critical section problem?

  • A. Bounded Waiting
  • B. Progress
  • C. Mutual Exclusion
  • D. All of the mentioned

40) Which of the following statements are true? (GATE 2010)

  • A. i and iii only
  • B. i only
  • C. i, ii and iii
  • D. ii and iii only

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.

Related MCQ/Quiz

01st
Jun
Unix MCQ
01st
Jun
MongoDB MCQ
01st
Jan
C++  MCQ
01st
Jun
Kubernetes MCQ
01st
Jun
TensorFlow MCQ