Operating System

This test consists of questions related to Operating system concepts for the gate aspirants and CS branch students.

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following OS scheduling algorithms provides a fix time for each process to execute?

  1. First Come First Serve (FCFS)
  2. Shortest Job First (SJF)
  3. Round Robin Scheduling
  4. Priority Based Scheduling
  5. None of the above
Question 2 Multiple Choice (Single Answer)

In Priority Based Scheduling, the priority are decided based on

  1. time requirements
  2. memory requirements
  3. resource requirements
  4. all of the above
  5. only (1) and (3)
Question 3 Multiple Choice (Single Answer)

Which of the following schedulers selects those processes, which are ready to execute?

  1. Long term scheduler
  2. Short term scheduler
  3. Medium term scheduler
  4. Both (1) and (2)
  5. None of the above
Question 4 Multiple Choice (Single Answer)

Which of the following scheduling algorithms are based on priority?

  1. Round Robin Scheduling
  2. Multi Queue Scheduling
  3. Shortest Job First (SJF) Scheduling
  4. Priority Based Scheduling
  5. Both (2) and (4)
Question 5 Multiple Choice (Single Answer)

Which of the following is the task of long term scheduler in operating system?

  1. This scheduler selects the processes from the queue and loads them into memory for execution.
  2. It removes the processes from memory and reduces the degree of multiprogramming.
  3. This scheduler is used to schedule the jobs for processing.
  4. All of the above
  5. Both (1) and (3)
Question 6 Multiple Choice (Single Answer)

Which of the following information is stored when the process is switched by the Context Switch in Operating System?

  1. Scheduling information
  2. Process changed state
  3. I/O state of the process
  4. Accounting information
  5. All of the above
Question 7 Multiple Choice (Single Answer)

Which of the following services is/are provided by the operating system?

  1. Protection
  2. File system manipulation
  3. Resource management
  4. Error handling
  5. All of the above
Question 8 Multiple Choice (Single Answer)

Which of the following processes is not included in multi queue scheduling?

  1. User processes
  2. Batch processes
  3. Interactive processes
  4. Interactive edit processes
  5. None of the above
Question 9 Multiple Choice (Single Answer)

Which of the following schedulers in operating system reduces the degree of multiprogramming?

  1. Long term scheduler
  2. Short term scheduler
  3. Medium term scheduler
  4. Both (1) and (3)
  5. None of the above
Question 10 Multiple Choice (Single Answer)

Which of the following scheduling algorithms uses context switching to save the state of the pre-empted process?

  1. Round Robin
  2. FCFS (First Come First Serve)
  3. SJF (Shortest Job First)
  4. Multi Queue Scheduling
  5. None of the above
Question 11 Multiple Choice (Single Answer)

Which of the following space allocations in files has external fragmentation in operating system?

  1. Linked Allocation
  2. Indexed Allocation
  3. Contiguous Allocation
  4. Both (1) and (3)
  5. None of the above
Question 12 Multiple Choice (Single Answer)

In file system of operating system, file contains the information can not to be recorded on

  1. magnetic discs
  2. magnetic tapes
  3. optical disks
  4. none of the above
  5. both (1) and (2)
Question 13 Multiple Choice (Single Answer)

Which of the following file types have information about the list of files in operating system?

  1. Directory files
  2. Ordinary files
  3. Special files
  4. Structure files
  5. None of the above
Question 14 Multiple Choice (Single Answer)

Which of the following is not true about context switch in operating system?

  1. Context switching is useful for multitasking operating systems.
  2. Context switch is used to store and restore the state of a CPU in Process Control Block.
  3. Context switching is dependent on hardware support.
  4. Context switcher saves the content of processor registers for the process being removed form the CPU.
  5. None of the above
Question 15 Multiple Choice (Single Answer)

Which of the following is an example of System threat?

  1. Worm
  2. Virus
  3. Trap door
  4. Trojan Horse
  5. None of the above