Exam Details
Subject | operating systems | |
Paper | ||
Exam / Course | mca | |
Department | ||
Organization | Gujarat Technological University | |
Position | ||
Exam Date | June, 2017 | |
City, State | gujarat, ahmedabad |
Question Paper
1
Seat No.: Enrolment
GUJARAT TECHNOLOGICAL UNIVERSITY
MCA SEMESTER- III EXAMINATION SUMMER 2017
Subject Code:2630004 Date: 05-06-2017
Subject Name: Operating Systems
Time: 02:30 pm 05:00 pm Total Marks: 70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
Q.1
Consider the following set of processes, with the length of the CPU-burst time given in milliseconds:
Process
Burst Time
Priority
A
10
3
B
1
1
C
2
3
D
1
4
E
5
5
The processes are assumed to have arrived in the sequential order all at time 0.
Draw four Gantt charts describing execution of these processes using FCFS, SPN, a non preemptive priority smaller priority number implies a higher priority), and RR (quantum=1) scheduling.
What is the turnaround time of each process for each of the scheduling algorithms?
What is the waiting time of each process for each of the scheduling algorithms?
07
A process contains five virtual pages on disk and is assigned a fixed allocation of four page frames in main memory. The following page trace occurs:
5.
Show the successive pages residing in the four frames using the LRU replacement policy. Compute the hit ratio in main memory. Assume that the frames are initially empty.
Repeat part for the FIFO replacement policy.
Compare the two hit ratios and comment on the effectiveness of using FIFO to approximate LRU with respect to this particular trace.
07
Q.2
Discuss the deadlock avoidance using Banker's algorithm. Also discuss data structure for implementing this algorithm.
07
Discuss ULT and KLT in detail.
07
OR
Explain Six and Seven-state Process Models mentioning all the transitions.
07
Q.3
What is paging? Explain the following terms
page
frames
page table
Also explain with examples how Logical -to Physical Address Translation takes place.
07
2
What is Monitor? Explain the solution to the Bounded-Buffer Producer/Consumer Problem using a Monitor.
07
OR
Q.3
Explain Internal Fragmentation and External Fragmentation.
07
State dining philosopher problem.
07
Q.4
What is Real time Scheduling? Explain the Characteristics of Real -Time
Operating System.
07
Explain the different methods for Secondary Storage Management
07
OR
Q.4
Suppose that a disk has 200 tracks, numbered 0 to 199. The disk head is currently located at track 100. The random queue of pending requests, in FIFO order, is
55, 58,39, 18, 90, 160, 150, 38, 184
Starting from the current head position, what is the total distance (in tracks) that the disk head moves to satisfy all the pending requests, for each of the following disk-scheduling algorithms? Also show the next track accessed with each new request serviced.
a. FIFO b. SSTF c. SCAN
07
Explain four general approaches of thread scheduling in detail.
07
Q.5
Define:
1. Jacketing
2. Response time
3. Thrashing
4. Dispatcher
5. Multiprocessing
6. Kernel
7. Spawning
07
What is RAID? Briefly discuss its levels.
07
OR
Q.5
Do as directed:
1. Monolithic kernel architecture assigns only a few essential functions to the kernel, including address spaces, inter-process communication and basic scheduling. True/False?
2. A consumable resource is one that can be safely used by only one process at a time and is not depleted by that use. True/False?
3. A semaphore that does not specify the order in which processes are removed from the queue is a (Fill in the Blank)
4. The is a directed graph that depicts a state of the system of resources and processes, with each process and each resource represented by a node. (Fill in the Blank)
5. Give full forms of: DMA and ORB
6. What is instruction trace?
7. Differentiate persistent and non-persistent binding.
07
Differentiate between:
1. Fat client vs Thin Client
2. Synchronous RPC vs Asynchronous RPC
07
Seat No.: Enrolment
GUJARAT TECHNOLOGICAL UNIVERSITY
MCA SEMESTER- III EXAMINATION SUMMER 2017
Subject Code:2630004 Date: 05-06-2017
Subject Name: Operating Systems
Time: 02:30 pm 05:00 pm Total Marks: 70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
Q.1
Consider the following set of processes, with the length of the CPU-burst time given in milliseconds:
Process
Burst Time
Priority
A
10
3
B
1
1
C
2
3
D
1
4
E
5
5
The processes are assumed to have arrived in the sequential order all at time 0.
Draw four Gantt charts describing execution of these processes using FCFS, SPN, a non preemptive priority smaller priority number implies a higher priority), and RR (quantum=1) scheduling.
What is the turnaround time of each process for each of the scheduling algorithms?
What is the waiting time of each process for each of the scheduling algorithms?
07
A process contains five virtual pages on disk and is assigned a fixed allocation of four page frames in main memory. The following page trace occurs:
5.
Show the successive pages residing in the four frames using the LRU replacement policy. Compute the hit ratio in main memory. Assume that the frames are initially empty.
Repeat part for the FIFO replacement policy.
Compare the two hit ratios and comment on the effectiveness of using FIFO to approximate LRU with respect to this particular trace.
07
Q.2
Discuss the deadlock avoidance using Banker's algorithm. Also discuss data structure for implementing this algorithm.
07
Discuss ULT and KLT in detail.
07
OR
Explain Six and Seven-state Process Models mentioning all the transitions.
07
Q.3
What is paging? Explain the following terms
page
frames
page table
Also explain with examples how Logical -to Physical Address Translation takes place.
07
2
What is Monitor? Explain the solution to the Bounded-Buffer Producer/Consumer Problem using a Monitor.
07
OR
Q.3
Explain Internal Fragmentation and External Fragmentation.
07
State dining philosopher problem.
07
Q.4
What is Real time Scheduling? Explain the Characteristics of Real -Time
Operating System.
07
Explain the different methods for Secondary Storage Management
07
OR
Q.4
Suppose that a disk has 200 tracks, numbered 0 to 199. The disk head is currently located at track 100. The random queue of pending requests, in FIFO order, is
55, 58,39, 18, 90, 160, 150, 38, 184
Starting from the current head position, what is the total distance (in tracks) that the disk head moves to satisfy all the pending requests, for each of the following disk-scheduling algorithms? Also show the next track accessed with each new request serviced.
a. FIFO b. SSTF c. SCAN
07
Explain four general approaches of thread scheduling in detail.
07
Q.5
Define:
1. Jacketing
2. Response time
3. Thrashing
4. Dispatcher
5. Multiprocessing
6. Kernel
7. Spawning
07
What is RAID? Briefly discuss its levels.
07
OR
Q.5
Do as directed:
1. Monolithic kernel architecture assigns only a few essential functions to the kernel, including address spaces, inter-process communication and basic scheduling. True/False?
2. A consumable resource is one that can be safely used by only one process at a time and is not depleted by that use. True/False?
3. A semaphore that does not specify the order in which processes are removed from the queue is a (Fill in the Blank)
4. The is a directed graph that depicts a state of the system of resources and processes, with each process and each resource represented by a node. (Fill in the Blank)
5. Give full forms of: DMA and ORB
6. What is instruction trace?
7. Differentiate persistent and non-persistent binding.
07
Differentiate between:
1. Fat client vs Thin Client
2. Synchronous RPC vs Asynchronous RPC
07
Other Question Papers
Subjects
- advance database management system
- advanced biopharmaceutics & pharmacokinetics
- advanced medicinal chemistry
- advanced networking (an)
- advanced organic chemistry -i
- advanced pharmaceutical analysis
- advanced pharmacognosy-1
- advanced python
- android programming
- artificial intelligence (ai)
- basic computer science-1(applications of data structures and applications of sql)
- basic computer science-2(applications of operating systems and applications of systems software)
- basic computer science-3(computer networking)
- basic computer science-4(software engineering)
- basic mathematics
- basic statistics
- big data analytics (bda)
- big data tools (bdt)
- chemistry of natural products
- cloud computing (cc)
- communications skills (cs)
- computer aided drug delivery system
- computer graphics (cg)
- computer-oriented numerical methods (conm)
- cyber security & forensics (csf)
- data analytics with r
- data mining
- data structures (ds)
- data visualization (dv)
- data warehousing
- data warehousing & data mining
- database administration
- database management system (dbms)
- design & analysis of algorithms(daa)
- digital technology trends ( dtt)
- discrete mathematics for computer science (dmcs)
- distributed computing (dc1)
- drug delivery system
- dynamic html
- enterprise resource planning (erp)
- food analysis
- function programming with java
- fundamentals of computer organization (fco)
- fundamentals of java programming
- fundamentals of networking
- fundamentals of programming (fop)
- geographical information system
- image processing
- industrial pharmacognostical technology
- information retrieving (ir)
- information security
- java web technologies (jwt)
- language processing (lp)
- machine learning (ml)
- management information systems (mis)
- mobile computing
- molecular pharmaceutics(nano tech and targeted dds)
- network security
- object-oriented programming concepts & programmingoocp)
- object-oriented unified modelling
- operating systems
- operation research
- operations research (or)
- pharmaceutical validation
- phytochemistry
- procedure programming in sql
- programming skills-i (ps-i-fop)
- programming skills-ii (ps-oocp)
- programming with c++
- programming with java
- programming with linux, apache,mysql, and php (lamp)
- programming with python
- search engine techniques (set)
- soft computing
- software development for embedded systems
- software engineering
- software lab (dbms: sql & pl/sql)
- software project in c (sp-c)
- software project in c++ (sp-cpp)
- software quality and assurance (sqa)
- statistical methods
- structured & object oriented analysis& design methodology
- system software
- virtualization and application of cloud
- web commerce (wc)
- web data management (wdm)
- web searching technology and search engine optimization
- web technology & application development
- wireless communication & mobile computing (wcmc)
- wireless sensor network (wsn)