Introduction To Operating System

25 Questions

Settings
Please wait...
Operating System Quizzes & Trivia

This quiz covers introduction to operating system, process management and CPU scheduling.


Questions and Answers
  • 1. 
    • A. 

      Mac OS

    • B. 

      Windows Explorer

    • C. 

      Red Hat

    • D. 

      Solaris

  • 2. 
    Which of the following is not a product of Microsoft?
    • A. 

      Ubuntu

    • B. 

      XP

    • C. 

      Vista

    • D. 

      ME

  • 3. 
    What is an Operating System?
    • A. 

      It is an interface between the user and the hardware.

    • B. 

      It is the first software that runs when the computer boots up.

    • C. 

      It provides a platform for the user to run applications.

    • D. 

      All of the above.

  • 4. 
    Which of the following is an example of Single Programming Operating System?
    • A. 

      MS-DOS

    • B. 

      Unix

    • C. 

      Windows

    • D. 

      Linux

  • 5. 
    Which of the following is not the function of Operating System?
    • A. 

      Process Management

    • B. 

      Memory Management

    • C. 

      Device Management

    • D. 

      Clock Management

  • 6. 
    A process is a
    • A. 

      Operating system itself.

    • B. 

      A complete software package

    • C. 

      Program in execution

    • D. 

      Interrupt handler

  • 7. 
    From waiting state, a process can only enter into _________
    • A. 

      Running state

    • B. 

      Ready state

    • C. 

      New state

    • D. 

      Terminated state

  • 8. 
    The full form of PCB is:
    • A. 

      Public Control Block

    • B. 

      Process Control Box

    • C. 

      Process Creating Block

    • D. 

      Process Control Block

  • 9. 
    Each process has its own PCB.
    • A. 

      True

    • B. 

      False

  • 10. 
    There can be more than one process in running state at any given time.
    • A. 

      True

    • B. 

      False

  • 11. 
    The state of a process is stored in its __________.
    • A. 

      Registers

    • B. 

      PCB

    • C. 

      Source code

    • D. 

      Memory

  • 12. 
    All the processes which are ready to execute reside in _________.
    • A. 

      I/O queue

    • B. 

      Waiting queue

    • C. 

      Ready queue

    • D. 

      Running queue

  • 13. 
    The ready queue is maintained by __________.
    • A. 

      Array

    • B. 

      Stack

    • C. 

      Tree

    • D. 

      Linked list

  • 14. 
    • A. 

      Selects a process from secondary storage device and allocates it to the CPU.

    • B. 

      Selects a process from memory and swaps out to secondary storage.

    • C. 

      Selects a process from ready queue and assigns it to the CPU.

    • D. 

      Selects a process from I/O queue to moves it to ready queue.

  • 15. 
    The function of long-term scheduler is to:
    • A. 

      Move the process from secondary storage to ready queue.

    • B. 

      Move the process from ready queue to CPU.

    • C. 

      Move the process from memory to secondary storage.

    • D. 

      Move the process between different queues.

  • 16. 
    What is the function of mid-term scheduler?
    • A. 

      It moves the process from ready queue to CPU.

    • B. 

      It swaps out the idle process from memory to secondary storage.

    • C. 

      It moves the process between different queues.

    • D. 

      It helps the CPU in executing the process.

  • 17. 
    Which scheduler maintains the Degree of Multiprogramming?
    • A. 

      Short-Term Scheduler

    • B. 

      Mid-Term Scheduler

    • C. 

      Long-Term Scheduler

    • D. 

      None of the Above

  • 18. 
    The switching of CPU between different processes is called _________.
    • A. 

      Swapping

    • B. 

      Organizing

    • C. 

      Context Switching

    • D. 

      Multiple Switching

  • 19. 
    Which of the following scheduling algorithm comes under preemptive scheduling?
    • A. 

      FCFS

    • B. 

      Round Robin

    • C. 

      Multilevel Queue Scheduling

    • D. 

      Largest Job First

  • 20. 
    Turnaround time is:
    • A. 

      The interval from the time of submission of a process to the time of completion.

    • B. 

      The sum of periods spent waiting in the ready queue.

    • C. 

      The sum of periods spent executing on CPU.

    • D. 

      The time when the process first responds.

  • 21. 
    Which of the following scheduling algorithms use Time Quantum?
    • A. 

      FCFS

    • B. 

      SJF

    • C. 

      Round Robin

    • D. 

      Priority Scheduling

  • 22. 
    • A. 

      The currently executing process will be preempted and the new process will be assigned to the CPU.

    • B. 

      The CPU will keep on executing the current process and the new process has to wait in the ready queue.

    • C. 

      The new process will be shifted to I/O queue.

    • D. 

      The system will crash.

  • 23. 
    One of the major problem with priority scheduling is:
    • A. 

      Swapping

    • B. 

      Context Switching

    • C. 

      Aging

    • D. 

      Starvation

  • 24. 
    Aging is a technique in which:
    • A. 

      The priority of a process decreases after sometime. (moves away from 1)

    • B. 

      The priority of a process increases after sometime. (moves closer to 1)

    • C. 

      The priority remains constant.

    • D. 

      The process becomes old and doesn't execute.

  • 25. 
    The processes are executed in the following manner in Round Robin Algorithm.
    • A. 

      The process coming first is executed first without preemption.

    • B. 

      The processes are executed according to their priority.

    • C. 

      The process having the smallest burst time is executed first.

    • D. 

      The process is executed for a time quantum and when the time quantum expires, the process enters into waiting state.