Operating System MCQs

Multiple Choice Questions 32 Pages
FT

Contributed by

Falguni Talwar
Loading
  • DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE 45
    Subject : Operating System Class : S.Y. BBA(CA)
    Prof . S. B. Potadar www.dacc.edu.in
    Unit 1 Introduction to OS
    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) System calls
    b) API
    c) Library
    d) Assembly instructions
    3. 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
    4. 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
    5. What is the main function of the command interpreter?
    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
    6. By operating system, the resource management can be done via __________
    a) time division multiplexing
    b) space division multiplexing
    c) time and space division multiplexing
    d) none of the mentioned
    7. 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

    Page 1

  • DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE 45
    Subject : Operating System Class : S.Y. BBA(CA)
    Prof . S. B. Potadar www.dacc.edu.in
    Unit 2 : System Structure
    8. 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
    9. Which one of the following is not a real time operating system?
    a) VxWorks
    b) Windows CE
    c) RTLinux
    d) Palm OS
    10. The OS X has ____________
    a) monolithic kernel
    b) hybrid kernel
    c) microkernel
    d) monolithic kernel with modules
    11. The systems which allow only one process execution at a time, are called __________
    a) uniprogramming systems
    b) uniprocessing systems
    c) unitasking systems
    d) none of the mentioned
    12. The systems which allow only one process execution at a time, are called __________
    a) uniprogramming systems
    b) uniprocessing systems
    c) unitasking systems
    d) none of the mentioned
    13. In operating system, each process has its own __________
    a) address space and global variables
    b) open files
    c) pending alarms, signals and signal handlers
    d) all of the mentioned
    14. In Unix, Which system call creates the new process?
    a) fork
    b) create
    c) new
    d) none of the mentioned

    Page 2

  • DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE 45
    Subject : Operating System Class : S.Y. BBA(CA)
    Prof . S. B. Potadar www.dacc.edu.in
    Unit 3 : Process Management
    15. A process can be terminated due to __________
    a) normal exit
    b) fatal error
    c) killed by another process
    d) all of the mentioned
    16. 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
    17. 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
    18. 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
    19. A process stack does not contain __________
    a) Function parameters
    b) Local variables
    c) Return addresses
    d) PID of child process
    20. Which system call returns the process identifier of a terminated child?
    a) wait
    b) exit
    c) fork
    d) get
    21. 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

    Page 3

  • DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE 45
    Subject : Operating System Class : S.Y. BBA(CA)
    Prof . S. B. Potadar www.dacc.edu.in
    22. A Process Control Block(PCB) does not contain which of the following?
    a) Code
    b) Stack
    c) Bootstrap program
    d) Data
    23. The number of processes completed per unit time is known as __________
    a) Output
    b) Throughput
    c) Efficiency
    d) Capacity
    24. The state of a process is defined by __________
    a) the final activity of the process
    b) the activity just executed by the process
    c) the activity to next be executed by the process
    d) the current activity of the process
    25. Which of the following is not the state of a process?
    a) New
    b) Old
    c) Waiting
    d) Running
    26. What is a Process Control Block?
    a) Process type variable
    b) Data Structure
    c) A secondary storage section
    d) A Block in memory
    27. The entry of all the PCBs of the current processes is in __________
    a) Process Register
    b) Program Counter
    c) Process Table
    d) Process Unit
    28. What is the degree of multiprogramming?
    a) the number of processes executed per unit time
    b) the number of processes in the ready queue
    c) the number of processes in the I/O queue
    d) the number of processes in memory
    29. A single thread of control allows the process to perform __________
    a) only one task at a time
    b) multiple tasks at a time

    Page 4

  • DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE 45
    Subject : Operating System Class : S.Y. BBA(CA)
    Prof . S. B. Potadar www.dacc.edu.in
    c) only two tasks at a time
    d) all of the mentioned
    Unit : Process Synchronization
    30. What is the objective of multiprogramming?
    a) Have some process running at all times
    b) Have multiple programs waiting in a queue ready to run
    c) To minimize CPU utilization
    d) None of the mentioned
    31. Which of the following do not belong to queues for processes?
    a) Job Queue
    b) PCB queue
    c) Device Queue
    d) Ready Queue
    32. When the process issues an I/O request __________
    a) It is placed in an I/O queue
    b) It is placed in a waiting queue
    c) It is placed in the ready queue
    d) It is placed in the Job queue
    33. What will happen when a process terminates?
    a) It is removed from all queues
    b) It is removed from all, but the job queue
    c) Its process control block is de-allocated
    d) Its process control block is never de-allocated
    34. What is a long-term scheduler?
    a) It selects which process has to be brought into the ready queue
    b) It selects which process has to be executed next and allocates CPU
    c) It selects which process to remove from memory by swapping
    d) None of the mentioned
    35. If all processes I/O bound, the ready queue will almost always be ______ and the Short term Scheduler
    will have a ______ to do.
    a) full, little
    b) full, lot
    c) empty, little
    d) empty, lot

    Page 5

  • DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE 45
    Subject : Operating System Class : S.Y. BBA(CA)
    Prof . S. B. Potadar www.dacc.edu.in
    36. What is a medium-term scheduler?
    a) It selects which process has to be brought into the ready queue
    b) It selects which process has to be executed next and allocates CPU
    c) It selects which process to remove from memory by swapping
    d) None of the mentioned
    37. What is a short-term scheduler?
    a) It selects which process has to be brought into the ready queue
    b) It selects which process has to be executed next and allocates CPU
    c) It selects which process to remove from memory by swapping
    d) None of the mentioned
    38. The primary distinction between the short term scheduler and the long term scheduler is __________
    a) The length of their queues
    b) The type of processes they schedule
    c) The frequency of their execution
    d) None of the mentioned
    39. The only state transition that is initiated by the user process itself is __________
    a) block
    b) wakeup
    c) dispatch
    d) none of the mentioned
    40. In a time-sharing operating system, when the time slot given to a process is completed, the process goes
    from the running state to the __________
    a) Blocked state
    b) Ready state
    c) Suspended state
    d) Terminated state
    41. In a multiprogramming environment __________
    a) the processor executes more than one process at a time
    b) the programs are developed by more than one person
    c) more than one process resides in the memory
    d) a single user can execute many programs at the same time
    42. Suppose that a process is in “Blocked” state waiting for some I/O service. When the service is completed,
    it goes to the __________
    a) Running state
    b) Ready state
    c) Suspended state
    d) Terminated state

    Page 6

  • DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE 45
    Subject : Operating System Class : S.Y. BBA(CA)
    Prof . S. B. Potadar www.dacc.edu.in
    43. The context of a process in the PCB of a process does not contain __________
    a) the value of the CPU registers
    b) the process state
    c) memory-management information
    d) context switch time
    44. Which of the following need not necessarily be saved on a context switch between processes?
    a) General purpose registers
    b) Translation lookaside buffer
    c) Program counter
    d) All of the mentioned
    45. Which of the following does not interrupt a running process?
    a) A device
    b) Timer
    c) Scheduler process
    d) Power failure
    46. Which process can be affected by other processes executing in the system?
    a) cooperating process
    b) child process
    c) parent process
    d) init process
    47. When several processes access the same data concurrently and the outcome of the execution depends on
    the particular order in which the access takes place, is called?
    a) dynamic condition
    b) race condition
    c) essential condition
    d) critical condition
    48. If a process is executing in its critical section, then no other processes can be executing in their critical
    section. This condition is called?
    a) mutual exclusion
    b) critical exclusion
    c) synchronous exclusion
    d) asynchronous exclusion
    49. Which one of the following is a synchronization tool?
    a) thread
    b) pipe
    c) semaphore
    d) socket

    Page 7

  • DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE 45
    Subject : Operating System Class : S.Y. BBA(CA)
    Prof . S. B. Potadar www.dacc.edu.in
    50. A semaphore is a shared integer variable __________
    a) that can not drop below zero
    b) that can not be more than zero
    c) that can not drop below one
    d) that can not be more than one
    51. Mutual exclusion can be provided by the __________
    a) mutex locks
    b) binary semaphores
    c) both mutex locks and binary semaphores
    d) none of the mentioned
    52. When high priority task is indirectly preempted by medium priority task effectively inverting the relative
    priority of the two tasks, the scenario is called __________
    a) priority inversion
    b) priority removal
    c) priority exchange
    d) priority modification
    53. Process synchronization can be done on __________
    a) hardware level
    b) software level
    c) both hardware and software level
    d) none of the mentioned
    54. A monitor is a module that encapsulates __________
    a) shared data structures
    b) procedures that operate on shared data structure
    c) synchronization between concurrent procedure invocation
    d) all of the mentioned
    55. To enable a process to wait within the monitor __________
    a) a condition variable must be declared as condition
    b) condition variables must be used as boolean objects
    c) semaphore must be used
    d) all of the mentioned
    56. Restricting the child process to a subset of the parent’s resources prevents any process from __________
    a) overloading the system by using a lot of secondary storage
    b) under-loading the system by very less CPU utilization
    c) overloading the system by creating a lot of sub-processes
    d) crashing the system by utilizing multiple resources

    Page 8

  • DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE 45
    Subject : Operating System Class : S.Y. BBA(CA)
    Prof . S. B. Potadar www.dacc.edu.in
    57. A parent process calling _____ system call will be suspended until children processes terminate.
    a) wait
    b) fork
    c) exit
    d) exec
    58. Cascading termination refers to termination of all child processes before the parent terminates ______
    a) Normally
    b) Abnormally
    c) Normally or abnormally
    d) None of the mentioned
    59. With _____________ only one process can execute at a time; meanwhile all other process are waiting for
    the processor. With ______________ more than one process can be running simultaneously each on a
    different processor.
    a) Multiprocessing, Multiprogramming
    b) Multiprogramming, Uniprocessing
    c) Multiprogramming, Multiprocessing
    d) Uniprogramming, Multiprocessing
    60. In UNIX, each process is identified by its __________
    a) Process Control Block
    b) Device Queue
    c) Process Identifier
    d) None of the mentioned
    61. In UNIX, the return value for the fork system call is _____ for the child process and _____ for the parent
    process.
    a) A Negative integer, Zero
    b) Zero, A Negative integer
    c) Zero, A nonzero integer
    d) A nonzero integer, Zero
    62. The child process can __________
    a) be a duplicate of the parent process
    b) never be a duplicate of the parent process
    c) cannot have another program loaded into it
    d) never have another program loaded into it
    63. The child process completes execution, but the parent keeps executing, then the child process is known as
    __________
    a) Orphan
    b) Zombie

    Page 9

  • DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE 45
    Subject : Operating System Class : S.Y. BBA(CA)
    Prof . S. B. Potadar www.dacc.edu.in
    c) Body
    d) Dead
    64. What is Inter process communication?
    a) allows processes to communicate and synchronize their actions when using the same address space
    b) allows processes to communicate and synchronize their actions without using the same address space
    c) allows the processes to only synchronize their actions without communication
    d) none of the mentioned
    65. Message passing system allows processes to __________
    a) communicate with one another without resorting to shared data
    b) communicate with one another by resorting to shared data
    c) share data
    d) name the recipient or sender of the message
    66. Which of the following two operations are provided by the IPC facility?
    a) write & delete message
    b) delete & receive message
    c) send & delete message
    d) receive & send message
    67. 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
    68. The link between two processes P and Q to send and receive messages is called __________
    a) communication link
    b) message-passing link
    c) synchronization link
    d) all of the mentioned
    69. Which of the following are TRUE for direct communication?
    a) A communication link can be associated with N number of process(N = max. number of processes
    supported by system)
    b) A communication link can be associated with exactly two processes
    c) Exactly N/2 links exist between each pair of processes(N = max. number of processes supported by
    system)
    d) Exactly two link exists between each pair of processes
    70. In indirect communication between processes P and Q __________
    a) there is another process R to handle and pass on the messages between P and Q

    Page 10

Download this file to view remaining 22 pages

logo StudyDocs
StudyDocs is a platform where students and educators can share educational resources such as notes, lecture slides, study guides, and practice exams.

Contacts

Links

Resources

© 2025 StudyDocs. All Rights Reserved.