Operating Systems
2024105403
B.Tech 4th Semester Examination, 2024
Instructions
- The marks are indicated in the right-hand margin.
- There are NINE questions in this paper.
- Attempt FIVE questions in all.
- Question No. 1 is compulsory.
Q.1 Choose the correct answer of the following (any seven question
only):
Ask AI
Q1.1
A _____ process is moved to the ready state when its time quantum expires.
Ask AI
Q1.2
Which of the following is also called job scheduler?
Ask AI
Q1.3
Compaction is used to solve the problem of
Ask AI
Q1.4
Which process can be affected by other processes executing in the system?
Ask AI
Q1.5
What is the drawback of banker's algorithm?
Ask AI
Q1.6
An I/O port typically consists of four registers- status, control, _____ and _____ registers.
Ask AI
Q1.7
The address loaded into the memory address register of the memory is referred to as
Ask AI
Q1.8
Consider a disk queue with requests for I/O to blocks on cylinders: 98, 183, 37, 122, 14, 124, 65, 67. Considering FCFS (first cum first served) scheduling, the total number of head movements is, if the disk head is initially at 53 is?
Ask AI
Q1.9
The Trap mode bit changes from 0 to 1 when _____ mode switches to _____ mode.
Ask AI
Q1.10
Waiting Time is calculated as
Ask AI
Q.2 Solve both questions :
Ask AI
Q2.1
Define Thread? List some of the benefits of multithreading. Demonstrate the three methods to implement Threads.
Ask AI
Q2.2
Assume the following workload in a system:
Process Arrival Time Burst Time P0 1 3 P1 0 6 P2 3 2 P3 4 7 P4 2 8 P5 6 5 Illustrating the execution of these job using Round Robin Scheduling algorithm calculate when given Time Quantum = 3:
(i) Average Turn Around Time
(ii) Average Waiting TimeAsk AI
Q.3 Solve both questions :
Ask AI
Q3.1
Differentiate between:
(i) User level Thread and Kernel level Thread
(ii) Contiguous and Indexed allocation method
(iii) Preemptive scheduling and Non-preemptive schedulingAsk AI
Q3.2
How is a process different from a program? With an example explain why Process synchronization is necessary in multiprocessing operating system?
Ask AI
Q.4 Solve both questions :
Ask AI
Q4.1
Describe the techniques for recovery from deadlock? Explain briefly resource allocation graph with examples.
Ask AI
Q4.2
Consider a disk queue with requests for I/O to blocks on cylinders: 98, 183, 37, 122, 14, 124, 65, 67. Considering SSTF (shortest seek time first) scheduling, the total number of head movements is, if the disk head is initially at 53 is?
Ask AI
Q.5 Solve both questions :
Ask AI
Q5.1
What is the difference between fixed partition and variable partition also explains the need of compaction.
Ask AI
Q5.2
What is virtual memory? How is it implemented? Explain TLB in virtual memory with neat diagram.
Ask AI
Q.6 Solve both questions :
Ask AI
Q6.1
What is Reader-Writer problem? Explain how Semaphore is used to resolve the problem of process synchronization.
Ask AI
Q6.2
What is Belady's Anomaly? Why LRU and Optimal Page Replacement algorithm doesn't suffer from this problem.
Ask AI
Q.7 Solve both questions :
Ask AI
Q7.1
Compare and contrast Deadlock Prevention and Deadlock Avoidance. Can a system be in a state that is neither deadlock nor safe? If so, give an example. If not, prove that all states are either deadlock or safe.
Ask AI
Q.8 Solve this question :
Ask AI
Q8.1
Consider the following page reference string: 3, 4, 2, 1, 5, 5, 6, 2, 1, 2, 3, 7, 6, 3, 3, 2, 1, 2, 3, 6. Compare the page faults occur for the following replacement algorithms using four frames? Assume, initially all the frames are empty.
(i) LRU replacement
(ii) FIFO ReplacementAsk AI
Q.9 Write short notes on any two of the following:-
Ask AI
Q9.1
Ask AI
2024V4105403
B.Tech 4th Semester Examination, 2024
Instructions
- The marks are indicated in the right-hand margin.
- There are NINE questions in this paper.
- Attempt FIVE questions in all.
- Question No. 1 is compulsory.
Q.1 Choose the correct answer of the following (any seven question
only):
Ask AI
Q1.1
A _____ process is moved to the ready state when its time quantum expires.
Ask AI
Q1.2
Which of the following is also called job scheduler?
Ask AI
Q1.3
Compaction is used to solve the problem of
Ask AI
Q1.4
Which process can be affected by other processes executing in the system?
Ask AI
Q1.5
What is the drawback of banker's algorithm?
Ask AI
Q1.6
An I/O port typically consists of four registers- status, control, _____ and _____ registers.
Ask AI
Q1.7
The address loaded into the memory address register of the memory is referred to as
Ask AI
Q1.8
Consider a disk queue with requests for I/O to blocks on cylinders: 98, 183, 37, 122, 14, 124, 65, 67. Considering FCFS (first cum first served) scheduling, the total number of head movements is, if the disk head is initially at 53 is?
Ask AI
Q1.9
The Trap mode bit changes from 0 to 1 when _____ mode switches to _____ mode.
Ask AI
Q1.10
Waiting Time is calculated as
Ask AI
Q.2 Solve both questions :
Ask AI
Q2.1
Define Thread? List some of the benefits of multithreading. Demonstrate the three methods to implement Threads.
Ask AI
Q2.2
Assume the following workload in a system:
Process Arrival Time Burst Time P0 1 3 P1 0 6 P2 3 2 P3 4 7 P4 2 8 P5 6 5 Illustrating the execution of these job using Round Robin Scheduling algorithm calculate when given Time Quantum = 3:
(i) Average Turn Around Time
(ii) Average Waiting TimeAsk AI
Q.3 Solve both questions :
Ask AI
Q3.1
Differentiate between:
(i) User level Thread and Kernel level Thread
(ii) Contiguous and Indexed allocation method
(iii) Preemptive scheduling and Non-preemptive schedulingAsk AI
Q3.2
How is a process different from a program? With an example explain why Process synchronization is necessary in multiprocessing operating system?
Ask AI
Q.4 Solve both questions :
Ask AI
Q4.1
Describe the techniques for recovery from deadlock? Explain briefly resource allocation graph with examples.
Ask AI
Q4.2
Consider a disk queue with requests for I/O to blocks on cylinders: 98, 183, 37, 122, 14, 124, 65, 67. Considering SSTF (shortest seek time first) scheduling, the total number of head movements is, if the disk head is initially at 53 is?
Ask AI
Q.5 Solve both questions :
Ask AI
Q5.1
What is the difference between fixed partition and variable partition also explains the need of compaction.
Ask AI
Q5.2
What is virtual memory? How is it implemented? Explain TLB in virtual memory with neat diagram.
Ask AI
Q.6 Solve both questions :
Ask AI
Q6.1
What is Reader-Writer problem? Explain how Semaphore is used to resolve the problem of process synchronization.
Ask AI
Q6.2
What is Belady's Anomaly? Why LRU and Optimal Page Replacement algorithm doesn't suffer from this problem.
Ask AI
Q.7 Solve both questions :
Ask AI
Q7.1
Compare and contrast Deadlock Prevention and Deadlock Avoidance. Can a system be in a state that is neither deadlock nor safe? If so, give an example. If not, prove that all states are either deadlock or safe.
Ask AI
Q.8 Solve this question :
Ask AI
Q8.1
Consider the following page reference string: 3, 4, 2, 1, 5, 5, 6, 2, 1, 2, 3, 7, 6, 3, 3, 2, 1, 2, 3, 6. Compare the page faults occur for the following replacement algorithms using four frames? Assume, initially all the frames are empty.
(i) LRU replacement
(ii) FIFO ReplacementAsk AI
Q.9 Write short notes on any two of the following:-
Ask AI
2023105403
End Semester Examination - 2023
Instructions
- The marks are indicated in the right-hand margin.
- There are NINE questions in this paper.
- Attempt FIVE questions in all.
- Question No. 1 is compulsory.
Q.1 Answer any seven question of the following:
Ask AI
Q1.1
A computer system has 9 tape drives, with $ n $ processes competing for them. Each process may need 3 tape drives. The maximum value of $ n $ for which the system is guaranteed to be deadlock free is
Ask AI
Q1.2
Which of the following page replacement algorithms suffers from Belady's anomaly?
Ask AI
Q1.3
Scheduling a process from ready Queue to CPU is done by
Ask AI
Q1.4
The time to move the disk arm to the desired cylinder in hard disk is known as
Ask AI
Q1.5
Compaction is used to solve the problem of
Ask AI
Q1.6
__________ is a technique of improving the priority of process waiting in queue for CPU allocation.
Ask AI
Q1.7
The CPU utilization is low when the system is
Ask AI
Q1.8
When a process waits indefinitely for some resources which are being used by other processes, it is called
Ask AI
Q1.9
Fork is used to
Ask AI
Q1.10
Which one of the following is the deadlock avoidance algorithm?
Ask AI
Q.2 Solve both questions :
Ask AI
Q2.1
Explain the concept of a process. With the help of a state transition diagram, discuss the various process states.
Ask AI
Q2.2
Describe the differences among short term, medium-term, and long-term scheduling.
Ask AI
Q.3 Solve both questions :
Ask AI
Q3.1
What are the various allocation policies in variable partition multiprogramming? Explain the differences between internal and external fragmentations.
Ask AI
Q3.2
What do you understand by address binding? Explain the various address binding schemes.
Ask AI
Q.4 Solve all questions :
Ask AI
Q4.1
What are the differences between user-level threads and kernel-level threads? Under what circumstances is one type better than the other?
Ask AI
Q4.2
What resources are used when a thread is created? How do they differ from those used when a process is created?
Ask AI
Q4.3
Describe the actions taken by a kernel to context switch between kernel-level threads.
Ask AI
Q.5 Solve both questions :
Ask AI
Q5.1
What do you understand by deadlock? Discuss the methods to avoid deadlock.
Ask AI
Q5.2
State and explain the necessary and sufficient conditions for a deadlock.
Ask AI
Q.6 Solve this question :
Ask AI
Q6.1
Consider the following process with the given table:
Process Arrival Time Burst Time P1 0.0 7 P2 2.0 4 P3 4.0 1 P4 5.0 4 Considering non-preemptive and preemptive SJF algorithm, find out average waiting time and average turnaround time in both cases.
Ask AI
Q.7 Solve both questions :
Ask AI
Q7.1
What do you mean by critical section problem? Discuss Peterson's solution for critical section problem.
Ask AI
Q7.2
Consider the following page reference string :
7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2, 1, 2, 0, 1, 7, 0, 1
How many page faults would occur for the following replacement algorithms? Assuming 3 frames are available. Also assume that initially none of pages in main memory.
(i) Optimal replacement
(ii) FIFO replacementAsk AI
Q.8 Solve both questions :
Ask AI
Q8.1
Suppose a disk drive has 300 cylinders, numbered 0 to 299. The current head position of the disk is at 90. The queue of pending requests, in FIFO order is 36, 79, 15, 120, 199, 270, 89, 170. Calculate the average cylinder movements for Shortest-Seek Time First (SSTF) algorithm. Mention the disadvantages of SSTF.
Ask AI
Q8.2
Compare and contrast between linked and indexed disk allocation strategies.
Ask AI
Q.9 Write short notes on any two of the following:
Ask AI
Q9.1
I-node
Ask AI
Q9.2
Segmentation
Ask AI
Q9.3
Thrashing
Ask AI
Q9.4
Process Control Block
Ask AI
2023V4105403
End Semester Examination - 2023
Instructions
- The marks are indicated in the right-hand margin.
- There are NINE questions in this paper.
- Attempt FIVE questions in all.
- Question No. 1 is compulsory.
Q.1 Answer any seven question of the following:
Ask AI
Q1.1
A computer system has 9 tape drives, with $ n $ processes competing for them. Each process may need 3 tape drives. The maximum value of $ n $ for which the system is guaranteed to be deadlock free is
Ask AI
Q1.2
Which of the following page replacement algorithms suffers from Belady's anomaly?
Ask AI
Q1.3
Scheduling a process from ready Queue to CPU is done by
Ask AI
Q1.4
The time to move the disk arm to the desired cylinder in hard disk is known as
Ask AI
Q1.5
Compaction is used to solve the problem of
Ask AI
Q1.6
__________ is a technique of improving the priority of process waiting in queue for CPU allocation.
Ask AI
Q1.7
The CPU utilization is low when the system is
Ask AI
Q1.8
When a process waits indefinitely for some resources which are being used by other processes, it is called
Ask AI
Q1.9
Fork is used to
Ask AI
Q1.10
Which one of the following is the deadlock avoidance algorithm?
Ask AI
Q.2 Solve both questions :
Ask AI
Q2.1
Explain the concept of a process. With the help of a state transition diagram, discuss the various process states.
Ask AI
Q2.2
Describe the differences among short term, medium-term, and long-term scheduling.
Ask AI
Q.3 Solve both questions :
Ask AI
Q3.1
What are the various allocation policies in variable partition multiprogramming? Explain the differences between internal and external fragmentations.
Ask AI
Q3.2
What do you understand by address binding? Explain the various address binding schemes.
Ask AI
Q.4 Solve all questions :
Ask AI
Q4.1
What are the differences between user-level threads and kernel-level threads? Under what circumstances is one type better than the other?
Ask AI
Q4.2
What resources are used when a thread is created? How do they differ from those used when a process is created?
Ask AI
Q4.3
Describe the actions taken by a kernel to context switch between kernel-level threads.
Ask AI
Q.5 Solve both questions :
Ask AI
Q5.1
What do you understand by deadlock? Discuss the methods to avoid deadlock.
Ask AI
Q5.2
State and explain the necessary and sufficient conditions for a deadlock.
Ask AI
Q.6 Solve this question :
Ask AI
Q6.1
Consider the following process with the given table:
Process Arrival Time Burst Time P1 0.0 7 P2 2.0 4 P3 4.0 1 P4 5.0 4 Considering non-preemptive and preemptive SJF algorithm, find out average waiting time and average turnaround time in both cases.
Ask AI
Q.7 Solve both questions :
Ask AI
Q7.1
What do you mean by critical section problem? Discuss Peterson's solution for critical section problem.
Ask AI
Q7.2
Consider the following page reference string :
7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2, 1, 2, 0, 1, 7, 0, 1
How many page faults would occur for the following replacement algorithms? Assuming 3 frames are available. Also assume that initially none of pages in main memory.
(i) Optimal replacement
(ii) FIFO replacementAsk AI
Q.8 Solve both questions :
Ask AI
Q8.1
Suppose a disk drive has 300 cylinders, numbered 0 to 299. The current head position of the disk is at 90. The queue of pending requests, in FIFO order is 36, 79, 15, 120, 199, 270, 89, 170. Calculate the average cylinder movements for Shortest-Seek Time First (SSTF) algorithm. Mention the disadvantages of SSTF.
Ask AI
Q8.2
Compare and contrast between linked and indexed disk allocation strategies.
Ask AI
Q.9 Write short notes on any two of the following:
Ask AI
Q9.1
I-node
Ask AI
Q9.2
Segmentation
Ask AI
Q9.3
Thrashing
Ask AI
Q9.4
Process Control Block
Ask AI
2022105403
B.Tech 4th Semester Exam., 2022
Instructions
- The marks are indicated in the right-hand margin.
- There are NINE questions in this paper.
- Attempt FIVE questions in all.
- Question No. 1 is compulsory.
Q.1 Answer/Choose the correct answer of the following (any
seven):
Ask AI
Q1.1
What is the difference between a multiprocessor and a multicore system?
Ask AI
Q1.2
What is multiprogramming?
Ask AI
Q1.3
Define jacketing.
Ask AI
Q1.4
What operations can be performed on a semaphore?
Ask AI
Q1.5
What is the difference between a page and a frame?
Ask AI
Q1.6
In contiguous memory allocation
Ask AI
Q1.7
If the size of logical address space is 2 to the power of $ m $, and a page size is 2 to the power of $ n $ addressing units, then the high order ___ bits of a logical address designate the page number, and the ___ low order bits designate the page offset.
Ask AI
Q1.8
If the wait for graph contains a cycle, then
Ask AI
Q1.9
When the event for which a thread is blocked occurs?
Ask AI
Q1.10
An I/O port typically consists of four registers status, control, ___ and ___ registers.
Ask AI
Q.2 Solve both questions :
Ask AI
Q2.1
What is the purpose of interrupts? What are the differences between a trap and an interrupt? Can traps be generated intentionally by a user program? If so, for what purpose?
Ask AI
Q2.2
Answer the following with full justifications:
Does swapping improve or degrade the efficiency of system utilization?
Can swapping be used in a multiprogramming system?Ask AI
Q.3 Solve both questions :
Ask AI
Q3.1
Including the initial parent process, how many processes are created by the program shown below?
#include<stdio.h>
#include<unistd.h>
int main()
{
/* fork a child process */
fork();
/* fork another child process */
fork();
/* and fork another */
fork();
return 0;
}Ask AI
Q3.2
Describe the differences among short-term, medium-term, and long-term scheduling.
Ask AI
Q.4 Solve both questions :
Ask AI
Q4.1
An airline reservation system, using a centralized database service, user requests concurrently. Is it preferable to use threads rather than processes in this system? Give reasons for your answer.
Ask AI
Q4.2
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.1 millisecond and that all processes are long-running tasks. Describe the CPU utilization for a round-robin scheduler when-
(i) the time quantum is 1 millisecond;
(ii) the time quantum is 10 milliseconds.Ask AI
Q.5 Solve both questions :
Ask AI
Q5.1
Clearly justify why deadlocks cannot arise in a bounded buffer producers-consumers system.
Ask AI
Q5.2
Consider a system consisting of four resources of the same type that are shared by three processes, each of which needs at most two resources. Show that the system is deadlock-free.
Ask AI
Q.6 Solve this question :
Ask AI
Q6.1
Five batch jobs, A through E, arrive at a computer center at essentially the same time. They have an estimated running time of 15, 9, 3, 6 and 12 minutes, respectively. Their (externally defined) priorities are 6, 3, 1, 4 and 2, respectively, with a lower value corresponding to a higher priority. For each of the following scheduling algorithms, determine the waiting time for each process and the average waiting for all jobs. Ignore process switching overhead. Explain how you arrived at your answers. In the last three cases, assume that only one job at a time runs until it finishes and that all jobs are completely processor bound:
(a) Priority scheduling
(b) FCFS (run in order 15, 9, 3, 6 and 12)
(c) Shortest job firstAsk AI
Q.7 Solve this question :
Ask AI
Q7.1
A bridge on a busy highway is damaged by a flood. One-way traffic is to be instituted on the bridge by permitting vehicles traveling in opposite directions to use the bridge alternately. The following rules are formulated for use of the bridge:
(a) At any time, the bridge is used by vehicle(s) traveling in one direction only.
(b) If vehicles are waiting to cross the bridge at both ends, only one vehicle from one end is allowed to cross the bridge before a vehicle from the other end starts crossing the bridge.
(c) If no vehicles are waiting at one end, then any numbers of vehicles from the other end are permitted to cross the bridge.
Develop a concurrent system to implement these rules.Ask AI
Q.8 Solve both questions :
Ask AI
Q8.1
Consider a simple paging system with the following parameters:
• $ 232 $ bytes of physical memory
• Page size of $ 210 $ bytes
• $ 216 $ pages of logical address space
(i) How many bits are in a logical address?
(ii) How many bytes are in a frame?
(iii) How many bits in the physical address specify the frame?
(iv) How many entries are in the page table?Ask AI
Q8.2
Given five memory partitions of 100 KB, 500 KB, 200 KB, 300 KB and 600 KB (in order). How would the first-fit, best-fit, and worst-fit algorithms place processes of 212 KB, 417 KB, 112 KB and 426 KB (in order)? Which algorithm makes the most efficient use of memory?
Ask AI
Q.9 Solve both questions :
Ask AI
Q9.1
Consider a demand paging system with a paging disk that has an average access and transfer time of 20 milliseconds. Addresses are translated through a page table in main memory, with an access time of 1 microsecond. Thus, each memory reference through the page table takes two accesses. To improve this time, we have added an associative memory that reduces access time to one memory reference if the page-table entry is in the associative memory. Assume that 80 percent of the accesses are in the associative memory and that of those remaining 10 percent (or 2 percent of the total) cause page faults. What is the effective memory access time?
Ask AI
Q9.2
The open file table is used to maintain information about files that are currently open. Should the operating system maintain a separate table for each user or just maintain one table that contains references to files that are currently being accessed by all users? If the same file is being accessed by two different programs or users, should there be separate entries in the open-file table?
Ask AI
2022V4105403
B.Tech 4th Semester Exam., 2022
Instructions
- The marks are indicated in the right-hand margin.
- There are NINE questions in this paper.
- Attempt FIVE questions in all.
- Question No. 1 is compulsory.
Q.1 Answer/Choose the correct answer of the following (any
seven):
Ask AI
Q1.1
What is the difference between a multiprocessor and a multicore system?
Ask AI
Q1.2
What is multiprogramming?
Ask AI
Q1.3
Define jacketing.
Ask AI
Q1.4
What operations can be performed on a semaphore?
Ask AI
Q1.5
What is the difference between a page and a frame?
Ask AI
Q1.6
In contiguous memory allocation
Ask AI
Q1.7
If the size of logical address space is 2 to the power of $ m $, and a page size is 2 to the power of $ n $ addressing units, then the high order ___ bits of a logical address designate the page number, and the ___ low order bits designate the page offset.
Ask AI
Q1.8
If the wait for graph contains a cycle, then
Ask AI
Q1.9
When the event for which a thread is blocked occurs?
Ask AI
Q1.10
An I/O port typically consists of four registers status, control, ___ and ___ registers.
Ask AI
Q.2 Solve both questions :
Ask AI
Q2.1
What is the purpose of interrupts? What are the differences between a trap and an interrupt? Can traps be generated intentionally by a user program? If so, for what purpose?
Ask AI
Q2.2
Answer the following with full justifications:
Does swapping improve or degrade the efficiency of system utilization?
Can swapping be used in a multiprogramming system?Ask AI
Q.3 Solve both questions :
Ask AI
Q3.1
Including the initial parent process, how many processes are created by the program shown below?
#include<stdio.h>
#include<unistd.h>
int main()
{
/* fork a child process */
fork();
/* fork another child process */
fork();
/* and fork another */
fork();
return 0;
}Ask AI
Q3.2
Describe the differences among short-term, medium-term, and long-term scheduling.
Ask AI
Q.4 Solve both questions :
Ask AI
Q4.1
An airline reservation system, using a centralized database service, user requests concurrently. Is it preferable to use threads rather than processes in this system? Give reasons for your answer.
Ask AI
Q4.2
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.1 millisecond and that all processes are long-running tasks. Describe the CPU utilization for a round-robin scheduler when-
(i) the time quantum is 1 millisecond;
(ii) the time quantum is 10 milliseconds.Ask AI
Q.5 Solve both questions :
Ask AI
Q5.1
Clearly justify why deadlocks cannot arise in a bounded buffer producers-consumers system.
Ask AI
Q5.2
Consider a system consisting of four resources of the same type that are shared by three processes, each of which needs at most two resources. Show that the system is deadlock-free.
Ask AI
Q.6 Solve this question :
Ask AI
Q6.1
Five batch jobs, A through E, arrive at a computer center at essentially the same time. They have an estimated running time of 15, 9, 3, 6 and 12 minutes, respectively. Their (externally defined) priorities are 6, 3, 1, 4 and 2, respectively, with a lower value corresponding to a higher priority. For each of the following scheduling algorithms, determine the waiting time for each process and the average waiting for all jobs. Ignore process switching overhead. Explain how you arrived at your answers. In the last three cases, assume that only one job at a time runs until it finishes and that all jobs are completely processor bound:
(a) Priority scheduling
(b) FCFS (run in order 15, 9, 3, 6 and 12)
(c) Shortest job firstAsk AI
Q.7 Solve this question :
Ask AI
Q7.1
A bridge on a busy highway is damaged by a flood. One-way traffic is to be instituted on the bridge by permitting vehicles traveling in opposite directions to use the bridge alternately. The following rules are formulated for use of the bridge:
(a) At any time, the bridge is used by vehicle(s) traveling in one direction only.
(b) If vehicles are waiting to cross the bridge at both ends, only one vehicle from one end is allowed to cross the bridge before a vehicle from the other end starts crossing the bridge.
(c) If no vehicles are waiting at one end, then any numbers of vehicles from the other end are permitted to cross the bridge.
Develop a concurrent system to implement these rules.Ask AI
Q.8 Solve both questions :
Ask AI
Q8.1
Consider a simple paging system with the following parameters:
• $ 232 $ bytes of physical memory
• Page size of $ 210 $ bytes
• $ 216 $ pages of logical address space
(i) How many bits are in a logical address?
(ii) How many bytes are in a frame?
(iii) How many bits in the physical address specify the frame?
(iv) How many entries are in the page table?Ask AI
Q8.2
Given five memory partitions of 100 KB, 500 KB, 200 KB, 300 KB and 600 KB (in order). How would the first-fit, best-fit, and worst-fit algorithms place processes of 212 KB, 417 KB, 112 KB and 426 KB (in order)? Which algorithm makes the most efficient use of memory?
Ask AI
Q.9 Solve both questions :
Ask AI
Q9.1
Consider a demand paging system with a paging disk that has an average access and transfer time of 20 milliseconds. Addresses are translated through a page table in main memory, with an access time of 1 microsecond. Thus, each memory reference through the page table takes two accesses. To improve this time, we have added an associative memory that reduces access time to one memory reference if the page-table entry is in the associative memory. Assume that 80 percent of the accesses are in the associative memory and that of those remaining 10 percent (or 2 percent of the total) cause page faults. What is the effective memory access time?
Ask AI
Q9.2
The open file table is used to maintain information about files that are currently open. Should the operating system maintain a separate table for each user or just maintain one table that contains references to files that are currently being accessed by all users? If the same file is being accessed by two different programs or users, should there be separate entries in the open-file table?
Ask AI
2019061503
B.Tech 5th Semester Exam., 2019
Instructions
- The marks are indicated in the right-hand margin.
- There are NINE questions in this paper.
- Attempt FIVE questions in all.
- Question No. 1 is compulsory.
- Choose the correct answer from any seven of the following :
Ask AI
Q1.a
What is operating system?
Ask AI
Q1.g
The processes that are residing in main memory and are ready and waiting to execute are kept on a list called
Ask AI
Q1.h
Which of the following conditions is required for deadlock to be possible?
Ask AI
Q1.i
Which one of the following is the deadlock avoidance algorithm?
Ask AI
Q1.j
Physical memory is broken into fixed-sized blocks called
Ask AI
Q.2
Ask AI
Q2
What is process control block? Explain it. Discuss the difference among short-term, medium-term and long-term scheduling.
Ask AI
Q.3
Ask AI
Q3
Consider the following process :
Process Arrival Time Burst Time P1 0.0 7 P2 2.0 4 P3 4.0 1 P4 5.0 4 Considering non-preemptive and preemptive SJF algorithm, find out average waiting time and average turnaround time in both cases.
Ask AI
Q.4
Ask AI
Q4
What do you understand by race condition? Give few example of arising of race condition in concurrent processing.
Ask AI
Q.5
Ask AI
Q5.a
Define semaphore. Give a scheme for implementation of semaphore primitives.
Ask AI
Q5.b
What do you mean by critical section problem? What is the solution to the critical section problem?
Ask AI
Q.6
Ask AI
Q6.a
What is a thread?
Ask AI
Q6.b
How is thread different from a process?
Ask AI
Q6.c
What resources are used when a thread is created?
Ask AI
Q.7
Ask AI
Q7
How many page faults would occur for the following reference string for four page frames and three page frames using LRU and FIFO algorithms :
1, 2, 3, 4, 5, 5, 3, 4, 1, 6, 7, 8, 7, 8, 9, 7, 8, 9, 5, 4, 5, 4, 2.
Ask AI
Q.8
Ask AI
Q8
Define deadlock. List four necessary conditions for occurrence of deadlock. A system contains six units of resource, and processes that use the resource. What is the maximum value of for which the system will be deadlock free if the maximum requirement of each process is 3?
Ask AI
Q.9
Ask AI
Q9
Explain shortest-seek-time-first (SSTF) disk scheduling. Why SSTF scheduling tends to favour middle cylinders over the innermost and outermost cylinders?
Ask AI
2018061503
B.Tech Examination, 2018
Instructions
- The marks are indicated in the right-hand margin.
- There are NINE questions in this paper.
- Attempt FIVE questions in all.
- Question No. 1 is compulsory.
Questions
Ask AI
Q1
Choose the correct option (any seven) :
a)In which type of operating system, the response time is very crucial?
b)A process is
c)The strategy of temporarily suspending a process that is logically runnable is called
d)To avoid the race condition, the number of processes that may be simultaneously inside their critical section is
e)Fork is used to
f)The principle of locality of reference justifies the use of
g)The memory allocation scheme subject to "external" fragmentation is
h)The piece of code that only one thread should execute at a time is called
i)Which memory allocation policy allocates the largest hole to the process?
j)When there is enough memory to fit a process in memory, but the space is not continuous, then which of the following is required?
Ask AI
Q2
Answer the following:
a)What is an operating system? Enumerate the basic functions of the operating system and explain each in brief.
b)What is meant by process control block? Explain the different fields of PCB with the help of a diagram. Discuss the concept Context Switch by giving an example.
Ask AI
Q3
Answer the following:
a)Explain the following scheduling algorithms with the help of an example: (i) SJF (ii) Round robin
b)Differentiate between preemptive scheduling and non-preemptive scheduling.
Ask AI
Q4
Answer the following:
a)What is meant by deadlock? Explain with example. Elaborate upon the conditions necessary for a deadlock situation to arise.
b)Discuss the various mechanisms for deadlock recovery.
Ask AI
Q5
Answer the following:
a)Illustrate the concept of demand paging with the help of a diagram.
b)What are the various memory allocation schemes?
Ask AI
Q6
Answer the following:
a)Consider the following reference string: 7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2, 1, 2, 0, 1, 7, 0, 1 Calculate the number of page faults that would occur for the following page replacement algorithms with frame size of 4: (i) FIFO (ii) LRU
b)Explain the concept of semaphores with the help of an example.
Ask AI
Q7
Answer the following:
a)Discuss the performance criteria of CPU scheduling.
b)Compare and contrast between linked and indexed disk allocation strategies.
Ask AI
Q8
Answer the following:
a)Illustrate with examples the following disk scheduling algorithms: (i) SSTF (ii) C-Look
b)Explain the memory hierarchy of the operating system.
Ask AI
Q9
Write short notes on the following :
a)Segmentation
b)Real-time systems
c)Critical section
Ask AI
2017061503
B.Tech Examination, 2017
Instructions
- The marks are indicated in the right-hand margin.
- There are NINE questions in this paper.
- Attempt FIVE questions in all.
- Question No. 1 is compulsory.
Questions
Ask AI
Q1
Choose the correct answer (any seven) :
a)The operating system manages
b)When a computer is turned on or restarted, a special type of absolute loader called _______ is executed.
c)In which type of operating systems, the response time is very crucial?
d)Bringing a page into the memory only when it is needed is called
e)A page fault occurs when
f)A program in execution is called
g)Copying a process from memory to disk to allow space for other processes is called
h)What does Belady's anomaly relate to?
i)The piece of code that only one thread should execute at a time is called
j)When a process waits indefinitely for some resources which are being used by other processes, it is called
Ask AI
Q2
Answer the following:
a)Explain the layered structure of an operating system with the help of a diagram. Discuss the various functions performed by the operating system.
b)Explain the concept of a process. With the help of a state transition diagram, discuss the various process states.
Ask AI
Q3
Consider the following set of processes with the length of CPU burst time in milliseconds : Process | Burst Time (ms) | Priority P1 | 10 | 3 P2 | 1 | 1 P3 | 2 | 3 P4 | 1 | 4 P5 | 5 | 2 The processes are assumed to have arrived in the order P1, P2, P3, P4, P5 and all at time 0.
a)Draw Gantt chart, illustrating the execution of these processes using FCFS, SJF, and Round Robin (quantum = 1) scheduling.
b)What is turnaround time of each process for each of the above scheduling algorithms in part (a)?
c)What is the waiting time for each process for each of the scheduling algorithms in part (a)?
d)Which of the schedules in part (a) results in the overall minimal average waiting time?
Ask AI
Q4
Answer the following:
a)Explain the critical section problem with the help of an example. Discuss the requirements that need to be satisfied for a solution of the critical section problem.
b)Elaborate upon the conditions necessary for a deadlock situation to arise.
Ask AI
Q5
Answer the following:
a)With the help of a labelled diagram, explain how logical address is translated into physical address using paging mechanism.
b)What are the various memory allocation schemes?
Ask AI
Q6
Answer the following:
a)Discuss with examples the following page replacement algorithms : (i) FIFO (ii) LRU
b)Differentiate between external and internal fragmentations.
Ask AI
Q7
Answer the following:
a)Explain the usage of Resource Allocation Graph for Deadlock Avoidance.
b)What is meant by directory? Briefly discuss the various structures of a directory.
Ask AI
Q8
Suppose that a disk drive has 5000 cylinders, numbered 0 to 4999. The drive is currently serving a request at cylinder 143, and the previous request was at cylinder 125. The queue of pending requests, in FIFO order, is : 86, 1470, 913, 1774, 948, 1509, 1022, 1750, 130 Starting from the current head position, what is the total distance (in cylinders) that the disk arm moves to satisfy all the pending requests for each of the following disk-scheduling algorithms?
a)FCFS
b)SSTF
c)SCAN
Ask AI
Q9
Answer the following:
a)Process control block
b)Schedulers
c)Semaphores
Ask AI
2016061503
B.Tech Examination, 2016
Instructions
- The marks are indicated in the right-hand margin.
- There are NINE questions in this paper.
- Attempt FIVE questions in all.
- Question No. 1 is compulsory.
Questions
Ask AI
Q1
Choose the correct answer for any seven of the following :
a)A direct method of deadlock prevention is to prevent the occurrences of __________
b)__________ is the time required to move the disk arm to the required track.
c)A process stack does not contain:
d)A set of processes is deadlock if
e)When high priority task is indirectly pre-empted by medium priority task effectively inverting the relative priority of the two tasks, the scenario is called?
f)Which module gives control of the CPU to the process selected by the short-term scheduler?
g)The circular wait condition can be prevented by:
h)Run time mapping from virtual to physical address is done by:
i)Which algorithm chooses the page that has not been used for the longest period of time whenever the page required to be replaced?
j)The heads of the magnetic disk are attached to a .... that moves all the heads as a unit.
Ask AI
Q2
Answer the following:
a)If FIFO page replacement algorithm is used with 4 page frames and 8 pages, how many page faults will occur with reference string 0124720347 if four page frames are initially empty? Solve the same problem for LRU page replacement algorithm.
b)Define a process. Explain the process state transition with a neat diagram.
Ask AI
Q3
Answer the following:
a)What is PCB? Discuss its major fields.
b)Explain IPC Problem-Readers & Writers Problem?
Ask AI
Q4
Answer the following:
a)What is deadlock? List the conditions that lead to deadlock. How deadlock can be prevented.
b)Explain the use of Banker's algorithm for multiple resources for deadlock avoidance with illustration.
Ask AI
Q5
Answer the following:
a)Explain Linux kernel and its functions in brief.
b)Define operating system. Explain the different views of operating system. Also explain types of operating system.
Ask AI
Q6
Answer the following:
a)What is Semaphore? How can we achieve the synchronization using semaphore for producer-consumer problem?
b)Establish the necessity for memory management. Explain the memory management with the use of Linked Lists.
Ask AI
Q7
Answer the following:
a)Explain the classical thread model with its implementation strategies.
b)Discuss the Peterson's solution for the race condition with algorithm.
Ask AI
Q8
Answer the following:
a)What is RAID? Explain in brief.
b)What is I-node? Explain in detail.
Ask AI
Q9
Answer the following:
a)Explain the structure of a page table entry. If a machine has 48 bit virtual addresses and 32-bit physical addresses and pages are of 8 KB, how many entries are needed for the page table?
b)Define and explain following terms : (i) Authentication (ii) Mutual Exclusion (iii) Monitor (iv) Segmentation.
Ask AI
2015061503
B.Tech Examination, 2015
Instructions
- The marks are indicated in the right-hand margin.
- There are NINE questions in this paper.
- Attempt FIVE questions in all.
- Question No. 1 is compulsory.
Questions
Ask AI
Q1
Choose the correct answer (any seven) :
a)Which of the following is a non-preemptive OS?
b)The CPU utilization is low when the system is
c)Which of the following is a part of FAT?
d)The available routing schemes are
e)Which of the following CPU scheduling algorithms will prevent starvation problem?
f)The problem of thrashing may be reduced by
g)The purpose of virtual memory system is to
h)A file system uses the contiguous space allocation mechanism for disk space allocation. For better utilization of disk space, this file system must use
i)CPU performance is based on
Ask AI
Q2
Answer the following:
a)What are the main purposes of an operating system?
b)In a multiprogramming and time-sharing environment several users share the system simultaneously. This situation can result in various security problems. (i) Explain any two such problems. (ii) Can we ensure the same degree of security in a time-shared machine as we have in dedicated machine? Explain your answer.
Ask AI
Q3
Answer the following:
a)What are the differences between user-level threads and kernel-level threads? Under what circumstances is one type better than the other?
b)What resources are used when a thread is created? How do they differ from those used when a process is created?
c)Describe the actions taken by a kernel to context switch between kernel-level threads.
Ask AI
Q4
Answer the following:
a)What is critical-section problem? How are semaphores helpful in solving this problem?
b)What is race condition? Explain Peterson's solution to mutual exclusion problem.
c)Explain the concept of transaction atomicity.
Ask AI
Q5
Answer the following:
a)State and explain the necessary and sufficient conditions for a deadlock.
b)Explain the issues with deadlock detection and resolution.
Ask AI
Q6
Answer the following:
a)What are the various allocation policies in variable partition multiprogramming? Explain the differences between internal and external fragmentations.
b)Consider a main memory with the capacity of 4 page frames. Assume that the pages of a process are referenced in the order as given below : 1, 3, 4, 4, 3, 2, 1, 7, 5, 6, 4, 2, 1, 2 Which of FIFO or LRU would be better in the case as a page replacement policy and why?
Ask AI
Q7
Answer the following:
a)What is the cause of thrashing? How does the system detect thrashing, and once detected what can the system do to eliminate it?
b)Consider the following page reference string : 1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 7, 6, 3, 2, 1, 2, 3, 6 How many page faults would occur from the following replacement algorithms, assuming 1, 2, 3, 4, 5, 6 or 7 frames? (i) LRU (ii) FIFO (iii) Optimal
Ask AI
Q8
Answer the following:
a)Consider a system that supports the strategies of contiguous, linked and indexed allocation. What criteria should be the used in deciding which strategy is best utilized for a particular file?
b)What are the structures used in file-system implementation? Explain.
Ask AI
Q9
Answer the following:
a)Is disk scheduling, other than FCFS scheduling, useful in a single-user environment? Explain your answer.
b)Suppose that a disk drive has 5000 cylinders, numbered 0 to 4999. The drive is currently serving a request at cylinder 143 and the previous request was at cylinder 125. The queue of pending requests in FIFO order is 86, 1470, 913, 1774, 948, 1509, 1022, 1750, 130. Starting from the current head position, what is the total distance (in cylinders) that the disk arm moves to satisfy all the pending requests for each of the following disk-scheduling algorithms? (i) SSTF (ii) SCAN (iii) C-SCAN
Ask AI
2014061503
B.Tech Examination, 2014
Instructions
- The marks are indicated in the right-hand margin.
- There are NINE questions in this paper.
- Attempt FIVE questions in all.
- Question No. 1 is compulsory.
Questions
Ask AI
Q1
Choose the correct answer (any seven) :
a)Which of the following is a real-time system?
b)A process is a
c)The strategy of allowing processes that are logically runnable to be temporarily suspended is
d)_______ is a technique of improving the priority of process waiting in queue for CPU allocation.
e)Dijkstra's banker algorithm is an operating system to solve the problem of
f)Interval between the time of submission and first response to the job is called
g)Virtual memory can be implemented with
h)In which of the following page replacement policies Balady's anomaly occurs?
i)Which of the following approaches does not require knowledge of the system state?
j)Memory management scheme having no internal fragmentation is called
Ask AI
Q2
Answer the following:
a)Explain the important properties of the following operating systems : (i) Real-time systems (ii) Time-sharing systems
b)What is an interrupt? Describe the basic interrupt mechanism.
Ask AI
Q3
Answer the following:
a)How is a process different from a program? Explain the process state transition with the help of a diagram.
b)What is a thread? Explain the benefits of using threads.
Ask AI
Q4
Answer the following:
a)Justify the statement "Operating System works like a resource manager" with an example.
b)Explain the concept of implementing interprocess communication through shared memory mechanism using suitable example.
Ask AI
Q5
Answer the following:
a)Explain the concept of critical section with suitable example.
b)Explain the importance of semaphores.
Ask AI
Q6
Answer the following:
a)Explain the importance of resource allocation graph.
b)Explain Banker's algorithm.
Ask AI
Q7
Answer the following:
a)Differentiate between a file and a directory. Justify for the need of file system.
b)Explain the main features of general-graph directory structure.
Ask AI
Q8
Answer the following:
a)Differentiate between preemptive and non-preemptive scheduling.
b)Consider the following memory references from a 460-word program : 10, 11, 104, 170, 73, 309, 185, 245, 246, 434, 450, 364 (i) Give the reference string assuming page size of 100 words. (ii) Find the number of page faults using the LRU algorithm for a memory of 3 frames.
Ask AI
Q9
Answer the following:
a)What do you understand by demand paging? Explain the steps in handling a page fault.
b)How is segmentation different from paging?
Ask AI
2013061503
B.Tech 5th Semester Exam., 2013
Instructions
- The marks are indicated in the right-hand margin.
- There are NINE questions in this paper.
- Attempt FIVE questions in all.
- Question No. 1 is compulsory.
- Choose the correct option (any seven) :
Ask AI
Q1.a
An operating system is a type of —— software.
Ask AI
Q1.b
A process is
Ask AI
Q1.c
An operating system having rigid time requirements is known as
Ask AI
Q1.d
—— is a technique of improving the priority of process waiting in queue for CPU allocation.
Ask AI
Q1.e
Kernel mode of operation is also called
Ask AI
Q1.f
Interval between the time of submission and completion of the job is called
Ask AI
Q1.g
A software generated interrupt is called
Ask AI
Q1.h
In which of the following page replacement policies Belady's anomaly occurs?
Ask AI
Q1.i
LRU page replacement algorithm stands for
Ask AI
Q1.j
Memory management scheme having no external fragmentation is called
Ask AI
Q.2
Ask AI
Q2.a
Explain the duties of operating system.
Ask AI
Q2.b
How is a process different from a program? Explain the importance and need for process control block.
Ask AI
Q.3
Ask AI
Q3.a
Explain the use of resource allocation graph.
Ask AI
Q3.b
What is thread? Explain the benefits of using thread.
Ask AI
Q.4
Ask AI
Q4.a
What do you understand by deadlock? Discuss the methods to avoid deadlock.
Ask AI
Q4.b
What is thrashing? How can it be controlled?
Ask AI
Q.5
Ask AI
Q5.a
Explain the various address binding schemes.
Ask AI
Q5.b
Explain the segmentation technique with the help of a diagram.
Ask AI
Q.6
Ask AI
Q6.a
Explain the following terms :
(i) Turnaround time
(ii) Waiting time
(iii) Response time
(iv) ThroughputAsk AI
Q6.b
Consider the following page replacement string :
0, 7, 1, 2, 0, 3, 7, 4, 2, 3, 0, 3, 2, 1, 0, 7, 1, 7, 0, 1
Find the number of page faults using the following algorithms for a memory of 4 frames :
(i) FIFO algorithm
(ii) Optimal algorithmAsk AI
Q.7
Ask AI
Q7.a
Explain the use of TLB in paging hardware and its benefits.
Ask AI
Q7.b
Explain the role of different types of scheduler.
Ask AI
Q.8
Ask AI
Q8.a
What is Belady's anomaly? Explain the steps for page replacement.
Ask AI
Q8.b
Explain the options for allocation of frames among various processes.
Ask AI
Q.9
Ask AI
Q9.a
Explain the working of LOOK and C-LOOK scheduling algorithms.
Ask AI
Q9.b
Explain Dining-Philosophers problem.
Ask AI
2013105314
Examination 2013
Instructions
- The marks are indicated in the right-hand margin.
- There are TEN questions in this paper.
- Attempt any FIVE questions.
Q.1 Solve all questions :
Ask AI
Q1.1
Define operating system. What are the duties performed by an operating system?
Ask AI
Q1.2
What are the main advantages of time sharing systems?
Ask AI
Q1.3
What are system calls? Explain their importance.
Ask AI
Q.2 Solve both questions :
Ask AI
Q2.1
Differentiate between a file and a Directory. Justify for the need of file system.
Ask AI
Q2.2
Explain the main features of general graph directory structure.
Ask AI
Q.3 Solve both questions :
Ask AI
Q3.1
What do you understand by deadlock? Discuss the methods to avoid deadlock in an operating system.
Ask AI
Q3.2
Explain the working of resource allocation graph.
Ask AI
Q.4 Solve both questions :
Ask AI
Q4.1
What is the difference between physical and logical address space?
Ask AI
Q4.2
What are semaphores? How can they be used to handle the process synchronization problem?
Ask AI
Q.5 Solve both questions :
Ask AI
Q5.1
What are the benefits of segmentation?
Ask AI
Q5.2
Explain the segmentation technique with the help of a diagram.
Ask AI
Q.6 Solve both questions :
Ask AI
Q6.1
Explain the following terms:
(i) Turnaround time
(ii) Waiting time
(iii) Response time
(iv) ThroughputAsk AI
Q6.2
Consider the following page replacement string: 7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2, 1, 2, 0, 1, 7, 0, 1
Find the number of page faults using the following algorithms for a memory of three frames:
(i) FIFO algorithm
(ii) LRU algorithmAsk AI
Q.7 Solve both questions :
Ask AI
Q7.1
What do you understand by fragmentation? Explain the difference between external and internal fragmentations.
Ask AI
Q7.2
What is a thread? Explain the benefits of using threads.
Ask AI
Q.8 Solve both questions :
Ask AI
Q8.1
What do you understand by address binding? Explain the various address binding schemes.
Ask AI
Q8.2
Explain the importance of virtual memory.
Ask AI
Q.9 Solve both questions :
Ask AI
Q9.1
What do you understand by disk scheduling? Describe seek time and rotational latency.
Ask AI
Q9.2
Describe SCAN scheduling. How is C-SCAN different from SCAN?
Ask AI
Q.10 Write short notes on (any three):
Ask AI
Q10.1
Micro kernel
Ask AI
Q10.2
Bankers Algorithm
Ask AI
Q10.3
Process control block
Ask AI
Q10.4
Paging
Ask AI
Q10.5
Indexed allocation
Ask AI
2013V4105314
Examination 2013
Instructions
- The marks are indicated in the right-hand margin.
- There are TEN questions in this paper.
- Attempt any FIVE questions.
Q.1 Solve all questions :
Ask AI
Q1.1
Define operating system. What are the duties performed by an operating system?
Ask AI
Q1.2
What are the main advantages of time sharing systems?
Ask AI
Q1.3
What are system calls? Explain their importance.
Ask AI
Q.2 Solve both questions :
Ask AI
Q2.1
Differentiate between a file and a Directory. Justify for the need of file system.
Ask AI
Q2.2
Explain the main features of general graph directory structure.
Ask AI
Q.3 Solve both questions :
Ask AI
Q3.1
What do you understand by deadlock? Discuss the methods to avoid deadlock in an operating system.
Ask AI
Q3.2
Explain the working of resource allocation graph.
Ask AI
Q.4 Solve both questions :
Ask AI
Q4.1
What is the difference between physical and logical address space?
Ask AI
Q4.2
What are semaphores? How can they be used to handle the process synchronization problem?
Ask AI
Q.5 Solve both questions :
Ask AI
Q5.1
What are the benefits of segmentation?
Ask AI
Q5.2
Explain the segmentation technique with the help of a diagram.
Ask AI
Q.6 Solve both questions :
Ask AI
Q6.1
Explain the following terms:
(i) Turnaround time
(ii) Waiting time
(iii) Response time
(iv) ThroughputAsk AI
Q6.2
Consider the following page replacement string: 7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2, 1, 2, 0, 1, 7, 0, 1
Find the number of page faults using the following algorithms for a memory of three frames:
(i) FIFO algorithm
(ii) LRU algorithmAsk AI
Q.7 Solve both questions :
Ask AI
Q7.1
What do you understand by fragmentation? Explain the difference between external and internal fragmentations.
Ask AI
Q7.2
What is a thread? Explain the benefits of using threads.
Ask AI
Q.8 Solve both questions :
Ask AI
Q8.1
What do you understand by address binding? Explain the various address binding schemes.
Ask AI
Q8.2
Explain the importance of virtual memory.
Ask AI
Q.9 Solve both questions :
Ask AI
Q9.1
What do you understand by disk scheduling? Describe seek time and rotational latency.
Ask AI
Q9.2
Describe SCAN scheduling. How is C-SCAN different from SCAN?
Ask AI
Q.10 Write short notes on (any three):
Ask AI
Q10.1
Micro kernel
Ask AI
Q10.2
Bankers Algorithm
Ask AI
Q10.3
Process control block
Ask AI
Q10.4
Paging
Ask AI
Q10.5
Indexed allocation
Ask AI