VU Assignment No. 01 Solution Spring 2013 CS604 (Operating System)
Assignment No. 01
Total Marks: 15
Due Date: 30th
To learn and understand the basic concept of operating structure and function.
Lecture # 1 to 6
Please read the following instructions carefully before submitting assignment:
You will submit your assignment before or on due date on VU-LMS.
Assignment should be completed by your own efforts it should not be copied from internet, handouts or books.
You should submit your Word File via assignment interface at VU-LMS.
Assignment sent via Email will not be replied and accepted/graded in any case.
If the submitted assignment does not open or file is corrupt, it will not be graded.
For any query about the assignment, contact at email@example.com
Question 1: [Marks : 02]
Let us point out some events that cause the kernel code to invoke in order to manage computer resources (like I/O devices memory and storage management) and control user programs to prevent errors and improper use of a computer system. Write their names
These are following.
Question 2: [Marks : 03]
Operating System “XYZ” installed on a computing machine. .”ABC” serves as an intermediary between the hardware of the system and users. During the execution of a program or process, CPU generates different signals. You have to identify how do theses signals are handled by the operating system “XYZ”?
Processes handle the signals by the help of operating system in following ways:
1. Operating system default action, which usually results in process termination .
2. Process can interrupt the signal and ignore it.
3. Process can interrupt the signal and take a programmer defined action.
Question 3: [Marks : 05]
General Electric (GE) is leading electronic company .They have 10 thousand employees. At the end of each
month they need to get payroll prints. Once payroll data are submitted to computer, left running without
Being a student of operating system, you know OS is also scheduled the jobs. If there are numbers of jobs
having same type and resource requirements that are ready to run. Keep in mind the above scenario, you
need to identify in which system, these jobs are run easily?
In the batch systems the operating system was to transfer control automatically from one job to the next
without human intervention.. Similar jobs put altogether and run one after other.
Question 4: [Marks : 05]
Categorize the following examples into Interrupt, signal and traps:
1. Ali is typing Alphabets in notepad by hitting keystroke.
2. Ayesha opening a folder from desktop by double clicking mouse.
3. Ahmad write a code in c language, like a=b/0.
4. Fatima is compiling a C program an error occurs Invalid memory access or buffer overflow.
5. While running a program, you press <Ctrl-C>.
Be precise in your answer, write to the point.
Your assignment must be uploaded/submitted at or before Tuesday, 30th April 2013.