GATE - 2

Gate - 2

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

When a program is executed on a distributed system, the user is not aware of where the program is executed or the location of the resource accessed. Which operating system is used for this?

  1. Network operating system
  2. Time sharing operating system
  3. Multiprocessor operating system
  4. Distributed operating system
Question 2 Multiple Choice (Single Answer)

The main function of ____ is to provide communication facility between the client program and various other services running in user space.

  1. kernel
  2. MACHOS
  3. microkernel
  4. utility
Question 3 Multiple Choice (Single Answer)

Which of the following signals does an I/O driver send through a special interrupt line to the CPU when it is finished with an I/O request?

  1. Trap execution
  2. Interrupt execution
  3. System call
  4. None of these
Question 4 Multiple Choice (Single Answer)

An OS layer is an implementation of an abstract object that is the ____ of data and of the operations that can be manipulated by this data.

  1. data abstraction
  2. encapsulation
  3. inheritance
  4. class
Question 5 Multiple Choice (Single Answer)

At a particular time, the value of semaphore is 10. It will become 7 after

  1. 3v operation
  2. 3p operation
  3. 5V and 2p operations
  4. 13p and 10v operations
Question 6 Multiple Choice (Single Answer)

How many states are present in the process-state transition diagram?

  1. 5
  2. 6
  3. 7
  4. 8
Question 7 Multiple Choice (Single Answer)

In how many cases can the process be scheduled in the back of ready queue?

  1. 3
  2. 4
  3. 5
  4. 6
Question 8 Multiple Choice (Single Answer)

____ supports primitives like process, memory, I/O, message. _____ supports file system, CPU schedule paging and threads.

  1. User mode, Kernel mode
  2. User mode, User mode
  3. Kernel mode, User mode
  4. Kernel mode, Kernel mode
Question 9 Multiple Choice (Single Answer)

Which of the following statements are true?

1. A thread has less context compared to a process.
2. Context switching time would be more in kernel-level threads as compared to the user level threads.
3. User level threads need a hardware support.
4. OS can recognise the kernel-level threads definitely.

  1. All of these
  2. Only 1, 2 and 4
  3. Only 1, 3 and 4
  4. Only 2, 3 and 4
Question 10 Multiple Choice (Single Answer)

The purpose of a ____ is to request the operating system to perform same task. A/An _____ provides an interface between a process and the operating system.

  1. system call, supervisor call
  2. supervisor call, interrupt
  3. system call, system call
  4. None of these
Question 11 Multiple Choice (Single Answer)

A/an ______ is a hardware-generated change of flow within the system. A/an ______ is a software-generated interrupt. A/an _____ can be used to signal the completion of an I/O.

  1. interrupt, interrupt, trap
  2. trap, interrupt, trap
  3. interrupt, trap, interrupt
  4. None of these
Question 12 Multiple Choice (Single Answer)

____ is the further extension of micro-kernel architecture of an operating system.

  1. Monolithic
  2. Micro-kernel
  3. Exo-kernel
  4. None of these
Question 13 Multiple Choice (Single Answer)

Which of the following is the correct route by which jobs enter the system?

  1. Batch queue – Job queue – Ready queue
  2. Job queue – Ready queue – Batch queue
  3. Ready queue – Batch queue – Job queue
  4. None of these
Question 14 Multiple Choice (Single Answer)

Which of the following sequences is followed before and after an OS takes control?

  1. BIOS – boot sector
    Other configuration – POST
  2. POST – Bios-boot sector
    Other configuration – Files
  3. Boot sector
    Other configuration files – BIOS-POST
  4. Boot sector
    Other configuration files – POST
Question 15 Multiple Choice (Single Answer)

A harmful situation called _____ may arise during the execution of concurrent processes.

  1. mutual exclusion
  2. critical section
  3. race condition
  4. mutual inclusion