CS-3534 Operating System
Computer System & OS Overview
Due Date: Tuesday 9 October 2012
ONLY typed assignment should be submitted. No handwritten assignments will be accepted. DO NOT forget to attach assignment cover letter which is already uploaded on www.sites.google.com/a/cs.uol.edu.pk/yasirmahmood for your convenience.
Q-1What are the two main functions of an operating system?
The two main function of operating systems are
To control whole console or computer and manage the resources
and to establish communication between user and computer.
The resource management function of an OS allocates computer resources such as CPU time, main memory, secondary storage, and input and output devices for use. And control all hardware operations as well
The OS establishes a standard means of communication between users and their computer systems. It does this by providing a user interface and a standard set of commands that control the hardware.
Q-2 What is multiprogramming?
Multiprogramming is a technique used to utilize maximum CPU time by running multiple programs simultanously. It allows a computer to do several things at the same time. Multiprogramming creates logical parallelism. The concept of multiprogramming is that the operating system keeps several jobs in memory simultaneously. The operating system selects a job from the job pool and starts executing a job, when that job needs to wait for any i/o operations the CPU is switched to another job. So the main idea here is that the CPU is never idle.
Q-3What is spooling? Do you think that advanced personal computers will have spooling as a standard feature in the future? spooling is the technique of reading jobs from, for example, from cards, onto the disk, so that when the currently executing processes are finished,the operating system could load a new job from the disk into the empty partitionfor execution. Yes I think so because in...