Web Page

System calls, Processes, Threads, Inter‐process communication, Concurrency and synchronization. Deadlock. CPU scheduling. Memory management and Virtual memory. File systems. Disks is also under this

$$\scriptsize{\overset{{\large{\textbf{Mark Distribution in Previous GATE}}}}{\begin{array}{|c|c|c|c|c|c|c|c|c|c|c|c|c|c|}\hline \textbf{Year}& \textbf{2026 - 1}& \textbf{2026 - 2}& \textbf{2025 - 1}& \textbf{2025 - 2}& \textbf{2024 - 1}& \textbf{2024 - 2}& \textbf{2023}& \textbf{2022}& \textbf{2021 - 1}& \textbf{2021 - 2}&\textbf{Minimum}&\textbf{Average}&\textbf{Maximum}\\\hline \textbf{1 Mark Count}&2&1&2&1&2&2&3&2&4&2&1&2.1&4\\\hline \textbf{2 Marks Count}&2&3&3&3&4&4&3&4&1&3&1&3&4\\\hline \textbf{Total Marks}&6&7&8&7&10&10&9&10&6&8&\bf{6}&\bf{8.1}&\bf{10}\\\hline \end{array}}}$$

Questions without an upvoted answer in Operating System

0 0 votes
0 0 answers
61
61 views
Consider a uniprocessor system executing three tasks T₁, T₂ and T₃, each of which is composed of an infinite sequence of jobs (or instances) which arrive periodically at ...
1 1 vote
2 2 answers
153
153 views
Q4. A fast-food restaurant has four kinds of employees: (1) order takers, who take customers’ orders; (2)cooks, who prepare the food; (3) packaging specialists, who stuff...
0 0 votes
1 1 answer
165
165 views
\begin{aligned}&\text { Q. Which of following is/are true statements. }\\&\text { A) Suppose we have } 3 \text { process P0 P1 P2 and we want to run all concurrently then...
4 4 votes
1 1 answer
187
187 views
In a system, the sizes of most programs are less than or equal to half of the current page size.The system is short of physical memory and is already operating near its p...
4 4 votes
1 1 answer
161
161 views
For a correct mechanism controlling entry into a critical section, consider the following requirements:Two processes must not execute simultaneously inside their critical...
3 3 votes
1 1 answer
172
172 views
Three processes enter the ready queue as follows. A larger priority value means higher priority.$$\begin{array}{|c|c|c|c|}\hline\text{Process} & \text{Arrival Time} & \te...
4 4 votes
1 1 answer
200
200 views
Which of the following events may cause a process $\text{P}$ to move from the running state to the blocked state?$\text{P}$ attempts to read a file. $\text{P}$'s CPU time...
3 3 votes
1 1 answer
170
170 views
A disk contains tracks numbered from $0$ through $199$.The disk head is currently at track $184$.The pending requests, in arrival-list order, are $184, 187, 176, 182, 199...
3 3 votes
1 1 answer
166
166 views
Consider the resource allocation graph below consisting of four tasks $(\text{T1}$, $\text{T2}$, $\text{T3}$, and $\text{T4})$ and three resources $(\text{R1}$, $\text{R2...
1 1 vote
1 1 answer
119
119 views
Which statement about pipe-based IPC is correct?A conventional pipe directly provides simultaneous bidirectional communication. Pipe capacity is limited only by available...
2 2 votes
1 1 answer
146
146 views
Consider the following statements about system calls:While a system-call service routine executes, the CPU operates in kernel mode. By providing system calls, the operati...
4 4 votes
1 1 answer
169
169 views
A demand-paging system has $3$ physical page frames.Consider the reference string:$\text{A, B, C, D, B, A, B, A, D, C}$Starting with empty memory, determine the total num...
1 1 vote
1 1 answer
137
137 views
file system has:Disk block size = $\text{4 KB}$$10$ direct address entries in each inode$1$ single-indirect address entry$1$ double-indirect address entry$1$ triple-indir...
1 1 vote
1 1 answer
115
115 views
A file system has:Cluster size = $\text{4 KB}$ Inode size = $\text{64 bytes}$ $1\text{M} = 2^{20}$ clusters reserved for storing inodes $512\text{M}$ clusters reserved fo...
0 0 votes
1 1 answer
101
101 views
Consider a UNIX file system with:Disk block size = $\text{4096 bytes}$All block pointers = $\text{32 bits}$Inode has $12$ direct pointers$1$ single-indirect pointer$1$ do...
3 3 votes
1 1 answer
87
87 views
A Unix-like inode contains:$6$ direct pointers $1$ single-indirect pointer $1$ double-indirect pointerThe file-system block size is $B$ bytes and each block pointer occup...
2 2 votes
1 1 answer
119
119 views
Consider a file system with:Block size = $\text{2048 bytes}$ Disk block pointer size = $\text{32 bits}$ $12$ direct pointers $1$ single-indirect pointer $1$ double-indire...
0 0 votes
1 1 answer
134
134 views
A disk file system uses linked allocation through a FAT.Cluster size $:4$ KBThe relevant directory information is:The cluster chain of $\texttt{file1}$ is:$100 \rightarro...
2 2 votes
1 1 answer
104
104 views
A file currently consists of $100$ data blocks.Assume:the file-control block is already in memory for indexed allocation, the index block is also already in memory the ne...
3 3 votes
1 1 answer
105
105 views
Consider the following statements about contiguous file allocation.It requires storing the number of the first block of the file. It provides excellent performance for re...
1 1 vote
1 1 answer
111
111 views
A FAT-like file system uses a $\textbf{24}$-bit FAT entry for every allocation unit.The disk capacity is: $32$ GBAssume: $1\text{ GB}=2^{30}\text{ bytes}$What is the mini...
3 3 votes
1 1 answer
142
142 views
A file system supports three allocation strategies:Contiguous allocation Linked allocation Single-level indexed allocationThe information about a file has already been ob...
1 1 vote
1 1 answer
108
108 views
Consider the following part of a tree-structured file system:$\texttt{D3}$ is the current directory.Which relative pathname correctly identifies file $\texttt{a}$?$\textt...
2 2 votes
1 1 answer
87
87 views
Consider a file system with the following characteristics:Each inode contains $\mathbf{8}$ direct data-block pointers One single-indirect pointer One double-indirect poin...
1 1 vote
1 1 answer
85
85 views
Consider the reference-count field stored in a Unix-style inode.Which statements are correct?It records the number of directory entries, or hard links, currently referrin...
2 2 votes
0 0 answers
87
87 views
Consider a Unix file system containing a file:$\texttt{/a/b/c}$Assume:all inodes are already cached in main memoryevery directory occupies exactly one data blockno direct...
0 0 votes
0 0 answers
38
38 views
Consider the following two procedures $\color{red}\text{proc}1$ and $\color{red}\text{proc}2$, which run in parallel after initializing $\color{red}x$ to $\color{red}6$ a...
1 1 vote
1 1 answer
114
114 views
A file system uses an inode-based implementation. When a user creates a new file $F$ inside a directory, which of the following will the file system NOT do?Initialize an ...
3 3 votes
1 1 answer
146
146 views
A system contains three distinct critical resources: $R_1,R_2,R_3$ shared by four processes.Their resource requirements are:$P_1$ requires $R_1$ and $R_2$.$P_2$ requires ...
3 3 votes
1 1 answer
128
128 views
In a multiprocessor system with preemptive scheduling, three processes $P_1,P_2,P_3$ share resources $R_1,R_2,R_3$.$P_1$ and $P_2$ compete for $R_1$. $P_2$ and $P_3$ comp...
To see more, click for the full list of questions or popular tags.