0% found this document useful (0 votes)
11 views2 pages

Operating System2011

The document contains questions from an Operating Systems exam for a Diploma Engineering course. It includes multiple choice and long answer questions about operating system concepts like types of operating systems, process states, process scheduling, deadlocks, virtual memory, file systems, and Unix commands and shell scripts.

Uploaded by

jayonline_4u
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views2 pages

Operating System2011

The document contains questions from an Operating Systems exam for a Diploma Engineering course. It includes multiple choice and long answer questions about operating system concepts like types of operating systems, process states, process scheduling, deadlocks, virtual memory, file systems, and Unix commands and shell scripts.

Uploaded by

jayonline_4u
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

1

Seat No.: __________ Enrolment No._____________



GUJARAT TECHNOLOGICAL UNIVERSITY
Diploma Engineering Semester IV Examination Dec. - 2011

Subject code: 340701 Date: 05/12/2011
Subject Name: Operating System
Time: 10.30 am 1.00 pm Total Marks: 70

Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
4. English version is considered Authentic.

Q.1 (a) What is operating system? Explain types of operating system. 07
(b) With the help of process state diagram explain different states of process. 07
Q.2
(a) List different types of process schedulers and explain any one scheduler. 07
(b) List and explain different functions of operating system. 07
OR
(b) Explain boot process of Windows XP 07
Q.3
(a) Explain mutual exclusion and semaphore. 07
(b) What is deadlock? Explain necessary conditions for deadlock to occur. 07
OR
Q.3 (a) With the help of state diagram, explain medium term process scheduling. 07
(b) Explain FCFS process algorithm and calculate average waiting time for processes P1,
P2, P3, P4 coming in that order and having burst time 10, 4, 6, 3 msesc respectively.
07

Q.4
(a) Explain virtual memory. 07
(b) List different disk scheduling algorithms and explain any two. 07
OR
Q.4 (a) What is file permission in UNIX? Explain this using chmod command. 07
(b) Explain Unix file system structure. 07

Q.5
(a) Explain these UNIX commands: who, pwd, cal, date, echo, cp, ps 07
(b) Explain concept of Kernel and Shell in UNIX. 07
OR
Q.5 (a) Write following shell scripts:
(i) to display sum of first 10 positive integer numbers
(ii) to display welcome message to the user, print the users home directory with date
and time of user login.
07
(b) Explain these UNIX commands with example: wc, ls, grep 07

************
2


V 1 ~ l ? ll l .
07

G \ } \ .
07

V 2 ~ \ l .
07

G l l .
07

~|


G
Windows XP \ .
07
V 3


~ ~ 5O .
07

G g ? }l 5-l .
07

~|

V 3


~ } l \ .
07

G
FCFS \ Cl \ P1, P2, P3, P4 10,
4, 6, 3 . l .
07

V 4


~ l .
07

G l Cl l .
07

~|

V 4


~
UNIX chmod -
07

G
UNIX .
07

V 5


~
UNIX - : who, pwd, cal, date, echo, cp, ps
07

G
UNIX .
07

~|

V 5


~ |5 (1} l -l .
(2} l , ll ,
\-

07

G
UNIX - : wc, ls, grep
07

************

You might also like