You are on page 1of 8
Operaitiag Sysiem Part 5 MLA, THREADS NB Process waits for an 1/0 Operation, the operating system selects another General Lin, » when a runnii for execution. Real-time systems. tim sharing (/0 bound systems 2.1n the CPU executes multiple jobs by 7 switching among them so frequently. Multiprogramming, SRE SHSFIAG boot loader CPU scheduling 3A receives re ests from the client systems, execute acti back to clients. ‘ons on the server and send results Multicore system file-server system real-time system 48 System can have only one job (process) in memory at time. multiprogramming 5. multitasking The microkernel approach removes nonessential component from kernel and implement them as system programs. T/ } . Constructing the Operating system using the’ approach results in sor 3 Monolithic hybrid ystem performance, 7. The the services provided by the operating system. Dispatcher - system call. \ interrupt vector i hi Bram requests a service from the kernel of the OS, "System call. App software System software 9. A cloud server provider have thousands of Physical servers running milli timesharing 2 microkernel Provides an interface to 2 source code ions of virtual machines if/F 10. The OS provide application programniers with API to invoke services /T/F 11. Most operating sytems do no adopt a siigle, strictly defined structure but rather they usually use a ~~ ‘ , Monolithic approach), ‘hybrid approach microkernel approach layered approach 12.A together. Distributed” multiprocessor batch clustered 13. Fault tolerant systems can continue operating despite of failures.AIVE 14. Using the system is a colleétjon of physically separate computer systems that are networked makes itis difficult to define the functionality of each layer. Monolithic approach hybrid approach microkernel approach 15. A batch system has the advantage of high CPU utilization. T/E 16. operations, Device management. Information maintenance i it ition system calls support request device, release device, read, write and repos os M.A.S. General File management process control v7. system calls support create, load, execute, terminate and abort operations. Device management Information maintenance File management "process control. A special purpose processor supports a limited instruction set. [I/F The OS must provide processes with some means to perform 1/0. A/F The operating system ensure that all access to system resource: 18, 19, 20, 21, operations. controlled /it/F system calls support send message, receive message and transfer status information Device management Information maintenance File management "Communication, Some system calls require passing the parameters in the CPU registers JT/F 23. Using the makes the OS difficult to implement and éxtend.» ‘(MOmOliRHIEBBBFEBEHY §— hybrid approach 22. microkernel approach layered approach 24. allows device controller to transfer data directly between its local buffer and main memory. é 7 oma EcPRom RAM ROM 25. Using the allows the OS to link in additional services via LKMs, either at boot time or at run time. \ Ly “modules approach Dhybrid approach microkernel approach none 26. Some system calls require assing | the parameters onto the stack by the process.//I 27. Mobile computing refers to the use, of handheld. smartphones and tablet computers. yr 28. The operating system allows processes to exchange information between computers over a network./F o 29, Which of the following isFelated tereal-time operating system? Execution of progranis concurrent) "have a time as key parameter Serving several users at atime none of all 30. Which of the following is nabthe function of an operating systern? Memory management CPU management 1/0 and file management " debuaging programs 31. Privilege instruction can execute only in mode, Application User - Kernel, symmetric Provide user authentication and extend to defending external I/O devices from invalid access attempts. Protection "security privacy none of all 33. involves ensuring that all access to system resources is controlled. "Protection security 32. privacy hone of all “Interrupt Event other 35. Operating system run in _ ae Kernel mode: user mode dual mode 36. If mode bit is 0, that indica tes that the current mode i kernel mode user mode if mode bit is 1, that indicates that the current mode is~ kernel mode “user mode dual mode 38. is used to prevent a user program from system services and never returning control to the OS. Event interrupt -tiftier: trap can be set to interrupt the computer after a specified period, >= Event Interrupt Timer ~ Trae Cloud is available to anyone via the Internet, Private iBUBIE — hybria 41. 1/0 operation is interrupt drivenS/F =” Rn B 42. jounts ofdata. T, 43. Traditional 1/0 operation can produce less overhead, 7 44. In, dual mode Betting stuck in an infinite loop or not calling 40. In cloud computing, a y éstrictea Traditional I/O operation is fine for moving any,am the device Controller transfers an enttire block of data directly from its buffer storage to memory with no intervention iby the CPU. Trap Interrupt. i N a Thread 45, In DMA, Only one interrupt is generated per BBY © zBlocks Byte 2 Bytes 46. 47. 48. Modern computer.system Use OMA operation to reduce the performance overhead. ye Ageneral-purpose processor’ supports a complete instruction set/iT/F ingle-processor system Contains only one special purpose register. T/F 48, Multiprocessor systems can Gost _equivalent multiple single-processor systems. More than "Less than Equals None of all 50. In multiprocessor system, the failure of one processor will halt the system. T/E) 51. Multiprocessor system increased reliability in many applications. H/F 52, Multiprocessor system has the advantage of Graceful degradation. f/i 53. In multiprocessor system, level of surviving hardware. Fault tolerance “Graceful degradation Paging Multithreading 54. Fault tolerant system requires a mechanism to allow the failure to be detected, diagnosed, and, if possible, corrected. [I/F is the ability to continue providing service proportional to the M.A.S General Symmetric multiprocessing defines a boss-worker relationship. T/E) 56. In the boss processor schedules and allocates work to the worker processors, symmetric multiprocessing Asymmetric multiprocessing. Asymmetric single-processing symmetric single-processing Most common systems use Symmetric multiprocessing rather than Asymmetric multiprocessing ./F 57. 58, 59. 60. 61. 62. On-chip processor communication is slower than between-chip processor communication. T/B One chip with multiple cores uses less power than multiple single-core chips.{iT/F Multicore systems are multiprocessor systems. lit/F All multiprocessor systems are multicore systems. Te Clustered computers share storage and are closely linked via a MAN WAN Wifi : TAN Clustering is usually used to provide high-availability service /F In clustered system, service will not continue if one or more nédes fail TI Clustered system provide high-performance computing environments. wey) 66. Clustered systems use technique to enable application to run cohcurrently on all computers. 63. 64. 65. Segmentation Paging Simultaneously ‘Parallelization 67. When the computer system is executing on behalf of a user application, the system is in mode. VG vMM Waser) Kernel None of all 68. At system boot time, the hardivare starts in mode. vm User.» Kernel None of all 69. Whenever an interrupt occurs) the hardware switches from kernel mode to user mode. WE 70. Whenever the opefating system gains control of the computer, itis in kernel mode Af/F 71. The operation allows for protecting the operating system from errant users-and errant users from one another. > Trap Interrupt DMA "Dual mode 72. The hardware allows privileged instructions to be executed only in mode. vu User / Kernel None of all fan attempt is made to execute a privileged instruction in user mode, a traps is sent to the operating system {I/F 73, 74, VO control, timer management, and interrupt management are performed in kernel mode. Af/F 75. MM has more privileges than user processes but fewer than the kernel it/F 76. Timer ensures that the operating system maintains control over the CPU. 77. In computer system, a timer is implemented by a fixed-rate clock and a counter. [I/F 78. We can use the timer to prevent a user program from running too longlit/F . Instructions that modify the content of the timer are executed in the user mode. T/El MAS General 80. In batch system, Processed jobs in bulk, one job after another, 81. In batch system, if the running job needs to wait for an 1/0 operation, the CPU remains idle waiting for the job I/F 82. 83. In batch system, the user prepares a job using card punches and submits it to the operator-{1/F In batch system, the system output consists of program results and a dump of final memory contents Si/F 84, The main task of the operating system in a mainframe system is to perform automatic job sequencing. TA 85, In batch system, there is no direct interaction between the user and the computer system. T/! 86, In desktop computers, OS focuses on achieving user convenience and responsiveness. {1/F 87. Ina multiprogramming system, several jobs are kept in main’memory, and the CPU is multiplexed among them {i/F 4 nT = CPU scheduling allows for selecting a job for execution from the set of jobs residing in memory. I/F 90. Multiprogramming system has the advantage of increased CPU utilization than batch system. I/F 91. Multiprogramming system does not suppértdirect interaction between the user and the computer system. I/F Sa 92. Time-sharing (or multitasking) system is an extension of i inultiprogramming systems /1/F 93. A time-sharing system provides indirect communication betweéh the user and the system. T/F, 94, Distributed computing is the use of distributed systems to solve single large problems.(T/F 95. A server system can be Categorized as a computer server ora file server A/F 96. In Peer-to-peer (P2P), all nodes are peer and cooperate together /t/F 88. Multiprogramming decreases CPU utiliz 39. 97, In Peer-to-peer (P2P), each ndde mai/act as either a cient ora server, depending on whether its requesting or providing a service 1/F d >, 98. Peer-to-peer system has the advantage of Being able to provide the service by several nodes {it/F 99. In virtualization, the physical computer is referred to as host while the virtual machine is referred to as guestlT/F » fe 100. In virtualization, the guest\virtual machine has a separate guest operating system.l/F 101, Cloud computing is a type of computing that delivers computing, storage, and even ap, a service across a network../F 102. In cloud computing, Users pay based on how much resources they user. f/f 103. In cloud computing, public cloud is used only by the company owning it. T/EY 104. In cloud computing, SAAS provides one or more applications available via the internet. 105. In cloud computing, IAAS provides servers or storage available over the internet I/F 106. Real-Time embedded operating system provide limited features with little or no user interface. [T/F 107. A real-time system has well-defined, fixed time constraints {it/F a realtime system, processing must be done within the defined constraints, or the system will fail a a Be Processes can execute /0 operations directly, TH] ihe as item shoud enable user rosie to exchange tomato il 112, When a user process encores on enPuting BY detecting errors in the CPU 113, Amonolthie structions gases ne alte system traps tothe operating system fF that runs i places all of the functionality of the kernel into a single, static binary file ina single address space s/F 114. In monoli rae i nolithic structure, communication within the kernel is fast thus there is very litle overhead. 115. In layered approach, changes in one component affect the others. Te 116. In microkernel approach, new services can be added as system programs and do not require modification of the kernel. A/F 117. In microkernel approach, itis difficult to extend the operating-system. T/F] 118. Microkernel approach provides more security and reliability2if/F- 119. Multiprogramming is the technique of using multiple CPUs to run programs. I/F 120. Batch processing implies a high level of interaction between the user and the program. Kn 121. Real time systems are . > A. primarily used on mainframe computers. BuUS@d for monitoring events|as|they Occur. C. used for program development. \ D. used for.real time interactive users. 122. Kernel is considered as the critical part of the operating system? E/E 123. Which of the following is’not the function of Operating System? A. Process Management. B. Memory Management C. Device Management > DL Clock Management | 124, operating system pays moréattention on the meeting of the time limits. A. Distributed. — B.Network. >, AG IReaItimey D. Online. 125. In the > netiiod of data transfer, the participation of the processor is eliminated during data transfer. » \ A. buffering. »»,B. caching. (uaireetimemorysccess. ©. indirect memory access. >» 126. runs on computer hardware and serve as platform for other software to run on. ~ A. Operating system. B. Application software. C. System software. D. Compiler. 127. The Hardware mechanism that enables a device to notify the CPU is called A. polling. “8. interrupt. C. system Call. D. system request. 128. The ability to withstand equipment failures in individual processors to continue operation is referred to as, A. fault tolerance. B. data flow computer. C. multiprocessor, D. array processor. M. S General Ak 120 A kernel code thats executed in response to an an interrupt 8. interru ne " pt ve 150, Ina monolithic kernel, operating syst aie Se A User mode “ae oo CUser/supervisormode _D None of these A Collection of hardware components B Collection of input-output devices c Collection of software routines A Compili : mpiling TBBOCRAE Refreshing D Reassembling 133. Multiprogramming means A Executing more than one program at a time 2 aN 8 Ability to accommodate multiple tasks in main memory | c Presence of multiple processors in one system 134. To access the services of operating system, the interface is provided by the Syste) ib) API 6) Library, \. .d)/Assembly instructions 135. Kernel is made of various modules which can not beloaded in running operating system {/F 136. The memory resident portion of operating systemis called the A. Registry »B. APL ¢.Mos “D. Kernel 137. Which of the following memory. unit that processor can access more rapidly A. Main Memory_ B. Virtual Memory D. Read Only Memory > i > 138. The primary purpose of an operating system is to: B. keep system programmers employed C. make the most efficient use of the hardware D. allow people to sue the computers 139. DMA is used for _a) High speed devices(disks and communications network) b) Low speed devices ¢) Utilizing CPU cycles d) All of the mentioned 140. In an interrupt driven input/output the CPU receives an interrupt when the device is ready for the next byte! I/F

You might also like