Anda di halaman 1dari 2

OPERATING SYSTEM 5th Semester CSE & ECE Assignment No.1 Given on 5-8-2011 Submission Date 15-8-201 1.

Give at least two reasons that why a bank decided to buy six server computers (mini computers) instead of buying one super computer? 2. Draw a system flowchart illustrating the steps performed by an operating system as it executes the instruction to backup a disk on a single user computer system? Begin with a user typing a command on a keyboard and conclude with the display of result on monitor. 3. Which of the functionalities listed below need to be supported by the Operating system for the following two settings: (a) Handheld devices and (b) real-time systems. a. Batch programming b. Virtual memory c. Time sharing 4. Describe three general methods for passing parameters to the operating system. 5. What is the purpose of the command interpreter? Why is it usually separate from the kernel? Would it be possible for the user to develop a new command interpreter using the system-call interface provided by the operating system? 6. Discuss how the following pairs of scheduling criteria conflict in certain settings. a. CPU utilization and response time b. Average turnaround time and maximum waiting time. c. I/O device utilization and CPU utilization. 7. Consider a system running ten I/O-bound tasks and one CPU-bound task. Assume that the I/O-bound tasks issue an I/O operation once for every millisecond of CPU computing and that each I/O operation takes 10 milliseconds to complete. Also assume that the context switching overhead is 0.1millisecond and that all processes are long-running tasks. What is the CPU utilization for a round-robin scheduler when: a. The time quantum is 1 millisecond. b. The time quantum is 10 milliseconds. 8. Consider a preemptive priority scheduling algorithm based on dynamically changing priorities. Larger priority numbers imply higher priority. When a process is waiting for the CPU (in the ready queue, but not running), its priority changes at a rate A; when it is running, its priority changes at a rate B. All processes are given a priority of 0 when they enter the ready queue. The parameters A and B can be set to give many different scheduling algorithms. a. What is the algorithm that results from B> A> 0?

b. What is the algorithm that results from A < B< 0? 9. An application program is being developed for a microprocessor based controller for an automobile . The application is required to perform the following functions:(1). Monitor and display the speed of automobile (2). Monitor the fuel level and raise an alarm if necessary (3). Display the fuel efficiency (4). Monitor the engine condition and raise an alarm if any unusual condition arises. (5). Periodically record some auxiliary information like speed and fuel level. Answer the following question: Which type of O.S. will you prefer? It is proposed to create multiple processes to reduce the response time of application what are the processes and what should be their priorities? Is it necessary to define any application specific interrupts? If so Specify the interrupts and their properties. 10. A system is overloaded system if its capacity to perform work is smaller than the work directed at it. Otherwise it is an under-loaded system. The following policy is proposed to improve the throughput of an batch processing system :Classify jobs into small jobs and long jobs depending on the C.P.U. time requirement and from separate batches execute a long job only, If no batches of short job exists. Does this policy improve the throughput of batch processing system that is overloaded or under loaded, justify the answer. note karlo yaar....

Anda mungkin juga menyukai