Loading
- DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE – 45Subject : Operating System Class : S.Y. BBA(CA)Prof . S. B. Potadar www.dacc.edu.inUnit 1 Introduction to OS1. What is operating system?a) collection of programs that manages hardware resourcesb) system service provider to the application programsc) link to interface the hardware and application programsd) all of the mentioned2. To access the services of operating system, the interface is provided by the ___________a) System callsb) APIc) Libraryd) Assembly instructions3. Which one of the following is not true?a) kernel is the program that constitutes the central core of the operating systemb) kernel is the first part of operating system to load into memory during bootingc) kernel is made of various modules which can not be loaded in running operating systemd) kernel remains in the memory during the entire computer session4. Which one of the following error will be handle by the operating system?a) power failureb) lack of paper in printerc) connection failure in the networkd) all of the mentioned5. What is the main function of the command interpreter?a) to get and execute the next user-specified commandb) to provide the interface between the API and application programc) to handle the files in operating systemd) none of the mentioned6. By operating system, the resource management can be done via __________a) time division multiplexingb) space division multiplexingc) time and space division multiplexingd) none of the mentioned7. If a process fails, most operating system write the error information to a ______a) log fileb) another running processc) new filed) none of the mentioned
Page 1
- DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE – 45Subject : Operating System Class : S.Y. BBA(CA)Prof . S. B. Potadar www.dacc.edu.inUnit 2 : System Structure8. Which facility dynamically adds probes to a running system, both in user processes and in the kernel?a) DTraceb) DLocatec) DMapd) DAdd9. Which one of the following is not a real time operating system?a) VxWorksb) Windows CEc) RTLinuxd) Palm OS10. The OS X has ____________a) monolithic kernelb) hybrid kernelc) microkerneld) monolithic kernel with modules11. The systems which allow only one process execution at a time, are called __________a) uniprogramming systemsb) uniprocessing systemsc) unitasking systemsd) none of the mentioned12. The systems which allow only one process execution at a time, are called __________a) uniprogramming systemsb) uniprocessing systemsc) unitasking systemsd) none of the mentioned13. In operating system, each process has its own __________a) address space and global variablesb) open filesc) pending alarms, signals and signal handlersd) all of the mentioned14. In Unix, Which system call creates the new process?a) forkb) createc) newd) none of the mentioned
Page 2
- DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE – 45Subject : Operating System Class : S.Y. BBA(CA)Prof . S. B. Potadar www.dacc.edu.inUnit 3 : Process Management15. A process can be terminated due to __________a) normal exitb) fatal errorc) killed by another processd) all of the mentioned16. What is the ready state of a process?a) when process is scheduled to run after some executionb) when process is unable to run until some task has been completedc) when process is using the CPUd) none of the mentioned17. What is interprocess communication?a) communication within the processb) communication between two processc) communication between two threads of same processd) none of the mentioned18. A set of processes is deadlock if __________a) each process is blocked and will remain so foreverb) each process is terminatedc) all processes are trying to kill each otherd) none of the mentioned19. A process stack does not contain __________a) Function parametersb) Local variablesc) Return addressesd) PID of child process20. Which system call returns the process identifier of a terminated child?a) waitb) exitc) forkd) get21. The address of the next instruction to be executed by the current process is provided by the __________a) CPU registersb) Program counterc) Process stackd) Pipe
Page 3
- DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE – 45Subject : Operating System Class : S.Y. BBA(CA)Prof . S. B. Potadar www.dacc.edu.in22. A Process Control Block(PCB) does not contain which of the following?a) Codeb) Stackc) Bootstrap programd) Data23. The number of processes completed per unit time is known as __________a) Outputb) Throughputc) Efficiencyd) Capacity24. The state of a process is defined by __________a) the final activity of the processb) the activity just executed by the processc) the activity to next be executed by the processd) the current activity of the process25. Which of the following is not the state of a process?a) Newb) Oldc) Waitingd) Running26. What is a Process Control Block?a) Process type variableb) Data Structurec) A secondary storage sectiond) A Block in memory27. The entry of all the PCBs of the current processes is in __________a) Process Registerb) Program Counterc) Process Tabled) Process Unit28. What is the degree of multiprogramming?a) the number of processes executed per unit timeb) the number of processes in the ready queuec) the number of processes in the I/O queued) the number of processes in memory29. A single thread of control allows the process to perform __________a) only one task at a timeb) multiple tasks at a time
Page 4
- DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE – 45Subject : Operating System Class : S.Y. BBA(CA)Prof . S. B. Potadar www.dacc.edu.inc) only two tasks at a timed) all of the mentionedUnit : Process Synchronization30. What is the objective of multiprogramming?a) Have some process running at all timesb) Have multiple programs waiting in a queue ready to runc) To minimize CPU utilizationd) None of the mentioned31. Which of the following do not belong to queues for processes?a) Job Queueb) PCB queuec) Device Queued) Ready Queue32. When the process issues an I/O request __________a) It is placed in an I/O queueb) It is placed in a waiting queuec) It is placed in the ready queued) It is placed in the Job queue33. What will happen when a process terminates?a) It is removed from all queuesb) It is removed from all, but the job queuec) Its process control block is de-allocatedd) Its process control block is never de-allocated34. What is a long-term scheduler?a) It selects which process has to be brought into the ready queueb) It selects which process has to be executed next and allocates CPUc) It selects which process to remove from memory by swappingd) None of the mentioned35. If all processes I/O bound, the ready queue will almost always be ______ and the Short term Schedulerwill have a ______ to do.a) full, littleb) full, lotc) empty, littled) empty, lot
Page 5
- DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE – 45Subject : Operating System Class : S.Y. BBA(CA)Prof . S. B. Potadar www.dacc.edu.in36. What is a medium-term scheduler?a) It selects which process has to be brought into the ready queueb) It selects which process has to be executed next and allocates CPUc) It selects which process to remove from memory by swappingd) None of the mentioned37. What is a short-term scheduler?a) It selects which process has to be brought into the ready queueb) It selects which process has to be executed next and allocates CPUc) It selects which process to remove from memory by swappingd) None of the mentioned38. The primary distinction between the short term scheduler and the long term scheduler is __________a) The length of their queuesb) The type of processes they schedulec) The frequency of their executiond) None of the mentioned39. The only state transition that is initiated by the user process itself is __________a) blockb) wakeupc) dispatchd) none of the mentioned40. In a time-sharing operating system, when the time slot given to a process is completed, the process goesfrom the running state to the __________a) Blocked stateb) Ready statec) Suspended stated) Terminated state41. In a multiprogramming environment __________a) the processor executes more than one process at a timeb) the programs are developed by more than one personc) more than one process resides in the memoryd) a single user can execute many programs at the same time42. 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 stateb) Ready statec) Suspended stated) Terminated state
Page 6
- DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE – 45Subject : Operating System Class : S.Y. BBA(CA)Prof . S. B. Potadar www.dacc.edu.in43. The context of a process in the PCB of a process does not contain __________a) the value of the CPU registersb) the process statec) memory-management informationd) context switch time44. Which of the following need not necessarily be saved on a context switch between processes?a) General purpose registersb) Translation lookaside bufferc) Program counterd) All of the mentioned45. Which of the following does not interrupt a running process?a) A deviceb) Timerc) Scheduler processd) Power failure46. Which process can be affected by other processes executing in the system?a) cooperating processb) child processc) parent processd) init process47. When several processes access the same data concurrently and the outcome of the execution depends onthe particular order in which the access takes place, is called?a) dynamic conditionb) race conditionc) essential conditiond) critical condition48. If a process is executing in its critical section, then no other processes can be executing in their criticalsection. This condition is called?a) mutual exclusionb) critical exclusionc) synchronous exclusiond) asynchronous exclusion49. Which one of the following is a synchronization tool?a) threadb) pipec) semaphored) socket
Page 7
- DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE – 45Subject : Operating System Class : S.Y. BBA(CA)Prof . S. B. Potadar www.dacc.edu.in50. A semaphore is a shared integer variable __________a) that can not drop below zerob) that can not be more than zeroc) that can not drop below oned) that can not be more than one51. Mutual exclusion can be provided by the __________a) mutex locksb) binary semaphoresc) both mutex locks and binary semaphoresd) none of the mentioned52. When high priority task is indirectly preempted by medium priority task effectively inverting the relativepriority of the two tasks, the scenario is called __________a) priority inversionb) priority removalc) priority exchanged) priority modification53. Process synchronization can be done on __________a) hardware levelb) software levelc) both hardware and software leveld) none of the mentioned54. A monitor is a module that encapsulates __________a) shared data structuresb) procedures that operate on shared data structurec) synchronization between concurrent procedure invocationd) all of the mentioned55. To enable a process to wait within the monitor __________a) a condition variable must be declared as conditionb) condition variables must be used as boolean objectsc) semaphore must be usedd) all of the mentioned56. 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 storageb) under-loading the system by very less CPU utilizationc) overloading the system by creating a lot of sub-processesd) crashing the system by utilizing multiple resources
Page 8
- DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE – 45Subject : Operating System Class : S.Y. BBA(CA)Prof . S. B. Potadar www.dacc.edu.in57. A parent process calling _____ system call will be suspended until children processes terminate.a) waitb) forkc) exitd) exec58. Cascading termination refers to termination of all child processes before the parent terminates ______a) Normallyb) Abnormallyc) Normally or abnormallyd) None of the mentioned59. With _____________ only one process can execute at a time; meanwhile all other process are waiting forthe processor. With ______________ more than one process can be running simultaneously each on adifferent processor.a) Multiprocessing, Multiprogrammingb) Multiprogramming, Uniprocessingc) Multiprogramming, Multiprocessingd) Uniprogramming, Multiprocessing60. In UNIX, each process is identified by its __________a) Process Control Blockb) Device Queuec) Process Identifierd) None of the mentioned61. In UNIX, the return value for the fork system call is _____ for the child process and _____ for the parentprocess.a) A Negative integer, Zerob) Zero, A Negative integerc) Zero, A nonzero integerd) A nonzero integer, Zero62. The child process can __________a) be a duplicate of the parent processb) never be a duplicate of the parent processc) cannot have another program loaded into itd) never have another program loaded into it63. The child process completes execution, but the parent keeps executing, then the child process is known as__________a) Orphanb) Zombie
Page 9
- DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE – 45Subject : Operating System Class : S.Y. BBA(CA)Prof . S. B. Potadar www.dacc.edu.inc) Bodyd) Dead64. What is Inter process communication?a) allows processes to communicate and synchronize their actions when using the same address spaceb) allows processes to communicate and synchronize their actions without using the same address spacec) allows the processes to only synchronize their actions without communicationd) none of the mentioned65. Message passing system allows processes to __________a) communicate with one another without resorting to shared datab) communicate with one another by resorting to shared datac) share datad) name the recipient or sender of the message66. Which of the following two operations are provided by the IPC facility?a) write & delete messageb) delete & receive messagec) send & delete messaged) receive & send message67. Messages sent by a process __________a) have to be of a fixed sizeb) have to be a variable sizec) can be fixed or variable sizedd) None of the mentioned68. The link between two processes P and Q to send and receive messages is called __________a) communication linkb) message-passing linkc) synchronization linkd) all of the mentioned69. 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 processessupported by system)b) A communication link can be associated with exactly two processesc) Exactly N/2 links exist between each pair of processes(N = max. number of processes supported bysystem)d) Exactly two link exists between each pair of processes70. 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
Related documents:
- Electrostatics Notes and MCQs - Notes
- Applied Mathematics
- Qualitative Reasearch Methods MCQs - MCQ
- Digital Electronics MCQs - MCQ
- Marketing-Management-II - MCQ
- QP IFSM-23 STATISTICS PAPER-I - Question Paper
- Public Administration (Paper II) 2021 Question Paper - Question Paper
- Line and Lines (Solved MCQs and Notes) - Notes
- General Economics (Paper I) 2016 Question Paper
- HIST 9 UNIT 2-3 - MCQ
- अनुशासनिक मामलों से संबंधित प्रायः पूछे जाने वाले प्रश्न
- (BRM) Statistical Methods - Notes
- UPSC 2021 Prelims CURRENT AFFAIRS Answer Key with Explanation - Question Bank
- HISTORY II 2016 question paper - Question Paper
- Botany Question Paper - Research Paper
- Public Administration (Paper I) 2016 Question Paper - Question Paper
- American Literature Question bank with Answers - Question Bank
- Work Ethics [notes] - Notes
- General English Question bank with Answers - Question Bank
- LOGICAL REASONING - LETTERS AND SYMBOL SERIES - Question Bank