You must subscribe & Login to view more.

Don’t have an account? Register

Or your subscription is under review by admin. Please message on WhatsApp / Telegram.

Topic Wise Question Bank
Operating System

You must subscribe & Login to view more.

Don’t have an account? Register

Or your subscription is under review by admin. Please message on WhatsApp / Telegram.

PRACTICE MODE
Operating System
0 of 335 answered
Basic 56 questions
Q1
Basic

What is an Operating System?

Q2
Basic

Which of the following is NOT a primary function of an Operating System?

Q3
Basic

To access operating system services applications primarily use _____________.

Q4
Basic

The main function of the command interpreter (shell) is _____________.

Q5
Basic

Which resource management techniques are used by an Operating System?

Q6
Basic

If a process terminates abnormally the operating system typically records the error in a _____________.

Q7
Basic

A process consists of _____________.

Q8
Basic

Which of the following is NOT stored in a process control block (PCB)?

Q9
Basic

A process may terminate because of _____________.

Q10
Basic

A process waiting for an event such as I/O completion is in the ____________ state."

Q11
Basic

Interprocess Communication (IPC) refers to _____________.

Q12
Basic

A set of processes is deadlocked when _____________.

Q13
Basic

Which system call waits for a child process to terminate?

Q14
Basic

The program counter contains _____________.

Q15
Basic

When a process issues an I/O request it is usually moved to the _____________.

Q16
Basic

Which scheduler selects processes from the job pool and loads them into memory?

Q17
Basic

Which scheduler selects the next process to execute on the CPU?

Q18
Basic

The primary function of the medium-term scheduler is _____________.

Q19
Basic

In a time-sharing system after its time quantum expires a running process moves to the ____________ state."

Q20
Basic

Multiprogramming means _____________.

Q21
Basic

After an I/O operation completes a blocked process moves to the ____________ state."

Q22
Basic

Which of the following does NOT directly interrupt a running process?

Q23
Basic

When multiple processes access shared data concurrently and the result depends on execution order it is called _____________.

Q24
Basic

Which state transition is NOT directly possible in the basic process state model?

Q25
Basic

A process that can affect or be affected by other executing processes is called a _____________.

Q26
Basic

A semaphore is a shared integer variable that ____________.

Q27
Basic

Process synchronization can be implemented using ____________.

Q28
Basic

A monitor is a synchronization construct that encapsulates ____________.

Q29
Basic

A reusable resource is a resource that ____________.

Q30
Basic

Which of the following is NOT one of the four necessary conditions for deadlock?

Q31
Basic

For maximum protection deadlock detection should be performed ____________.

Q32
Basic

An uninterruptible operation is called ____________.

Q33
Basic

Virtual memory allows memory to be shared among ____________.

Q34
Basic

The pager manages ____________.

Q35
Basic

Swap space is located in ____________.

Q36
Basic

A cache is primarily used to ____________.

Q37
Basic

Programs normally generate ____________.

Q38
Basic

Which memory management unit translates logical addresses into physical addresses?

Q39
Basic

Which memory management technique transfers pages between disk and RAM only when needed?

Q40
Basic

File system fragmentation occurs when ____________.

Q41
Basic

The ________ register is read by the host to receive input from an I/O device."

Q42
Basic

The ________ register is written by the host to send data to an output device."

Q43
Basic

The hardware mechanism that allows an I/O device to notify the CPU is called ____________."

Q44
Basic

Belady's Anomaly is associated with which operating system concept?

Q45
Basic

Which type of semaphore allows multiple processes to access a limited number of identical resources?

Q46
Basic

Which of the following are the three requirements for solving the Critical Section Problem?

Q47
Basic

Which memory is accessed fastest by the processor?

Q48
Basic

Which of the following is considered a system utility?

Q49
Basic

When a computer starts which loader is executed first?

Q50
Basic

Which type of operating system is designed for applications where response time is critical?

Q51
Basic

Which memory allocation strategy always allocates the largest available memory block?

Q52
Basic

What is the Working Set concept primarily used for?

Q53
Basic

What information is stored in a page table?

Q54
Basic

Memory compaction is used to ____________."

Q55
Basic

What is dispatch latency?

Q56
Basic

A page fault occurs when ____________."

CPU Scheduling 43 questions
Q57
CPU Scheduling

CPU scheduling decisions may take place under which of the following circumstances?

Q58
CPU Scheduling

Under non-preemptive scheduling once the CPU has been allocated to a process the process keeps the CPU until __________.

Q59
CPU Scheduling

An I/O-bound program typically has __________.

Q60
CPU Scheduling

A CPU-bound program typically has __________.

Q61
CPU Scheduling

Whenever the CPU becomes idle the operating system selects a process from the __________.

Q62
CPU Scheduling

The module that transfers CPU control to the process selected by the short-term scheduler is called the __________.

Q63
CPU Scheduling

The time required for the dispatcher to stop one process and start another is called __________.

Q64
CPU Scheduling

Which of the following are standard criteria for evaluating CPU scheduling algorithms?

Q65
CPU Scheduling

We want to keep the CPU as busy as possible. This objective refers to maximizing __________.

Q66
CPU Scheduling

The number of processes completed per unit time is called __________.

Q67
CPU Scheduling

The interval from process submission to process completion is called __________.

Q68
CPU Scheduling

The total time a process spends waiting in the ready queue is called __________.

Q69
CPU Scheduling

The time from submitting a request until the first response is produced is called __________.

Q70
CPU Scheduling

The primary objective of CPU scheduling is to __________.

Q71
CPU Scheduling

Which CPU scheduling algorithm allocates the CPU to the process that arrives first?

Q72
CPU Scheduling

Which of the following CPU scheduling algorithms is inherently non-preemptive?

Q73
CPU Scheduling

Which scheduling algorithm may result in the convoy effect leading to long average waiting time?

Q74
CPU Scheduling

Which scheduling algorithm selects the process with the shortest predicted CPU burst?

Q75
CPU Scheduling

If two processes have the same predicted CPU burst in SJF scheduling the tie is usually broken using __________.

Q76
CPU Scheduling

Which scheduling algorithm is also known as the shortest-next CPU-burst algorithm?

Q77
CPU Scheduling

The Shortest Job First (SJF) scheduling algorithm can be __________.

Q78
CPU Scheduling

Which scheduling algorithm is commonly used in long-term scheduling because it favors short jobs?

Q79
CPU Scheduling

Which scheduling algorithm is provably optimal for minimizing average waiting time when CPU burst times are known?

Q80
CPU Scheduling

Shortest Remaining Time First (SRTF) is the __________ version of SJF scheduling.

Q81
CPU Scheduling

If the next CPU burst of a newly arrived process is shorter than the remaining burst of the currently running process which scheduling algorithm preempts the current process?

Q82
CPU Scheduling

The __________ scheduling algorithm is a special case of the Priority Scheduling algorithm.

Q83
CPU Scheduling

In which scheduling algorithm is a priority assigned to each process with the CPU allocated to the highest-priority process?

Q84
CPU Scheduling

In Priority Scheduling processes with equal priority are usually scheduled using __________.

Q85
CPU Scheduling

In Priority Scheduling based on CPU burst prediction which statement is correct?

Q86
CPU Scheduling

The Priority Scheduling algorithm can be __________.

Q87
CPU Scheduling

In preemptive Priority Scheduling the CPU is preempted when __________.

Q88
CPU Scheduling

In non-preemptive Priority Scheduling a newly arrived process is placed at the __________.

Q89
CPU Scheduling

Starvation (indefinite blocking) is a major drawback of which scheduling algorithm?

Q90
CPU Scheduling

Which scheduling algorithm may leave low-priority processes waiting indefinitely?

Q91
CPU Scheduling

What technique is commonly used to prevent starvation in Priority Scheduling?

Q92
CPU Scheduling

Which statement correctly describes Aging?

Q93
CPU Scheduling

Which scheduling algorithm is specifically designed for time-sharing systems?

Q94
CPU Scheduling

The Round Robin (RR) scheduling algorithm is __________.

Q95
CPU Scheduling

In Round Robin Scheduling a newly arrived process is inserted at the __________.

Q96
CPU Scheduling

In which scheduling algorithm is the ready queue treated as a circular FIFO queue?

Q97
CPU Scheduling

In Round Robin Scheduling if a process completes its CPU burst before the time quantum expires then __________.

Q98
CPU Scheduling

In Round Robin Schedulingif a process does not finish before its time quantum expires then __________.

Q99
CPU Scheduling

The performance of which scheduling algorithm depends heavily on the size of the time quantum?

Deadlock 60 questions
Q100
Deadlock

What is a reusable resource?

Q101
Deadlock

Which of the following conditions is required for a deadlock to be possible?

Q102
Deadlock

A system is in a safe state if ____________."

Q103
Deadlock

The circular wait condition can be prevented by ____________."

Q104
Deadlock

Which one of the following is a deadlock avoidance algorithm?"

Q105
Deadlock

What is the drawback of Banker's Algorithm?"

Q106
Deadlock

For an effective operating system when should deadlock detection be performed?"

Q107
Deadlock

A problem encountered in multitasking when a process is perpetually denied necessary resources is called ____________."

Q108
Deadlock

Which one of the following is a graphical method to determine deadlock occurrence?"

Q109
Deadlock

To avoid deadlock ____________."

Q110
Deadlock

The number of resources requested by a process ____________."

Q111
Deadlock

The request and release of resources are performed using ____________."

Q112
Deadlock

What are multithreaded programs with respect to deadlocks?"

Q113
Deadlock

For a deadlock to arise which of the following conditions must hold simultaneously?

Q114
Deadlock

For mutual exclusion to prevail in the system ____________."

Q115
Deadlock

For the Hold and Wait condition to prevail ____________."

Q116
Deadlock

Deadlock prevention is a set of methods ____________."

Q117
Deadlock

For non-shareable resources like a printer mutual exclusion ____________."

Q118
Deadlock

For shareable resources mutual exclusion ____________."

Q119
Deadlock

To ensure that the Hold and Wait condition never occurs ____________."

Q120
Deadlock

The disadvantage of allocating all required resources before execution is ____________."

Q121
Deadlock

The No Preemption condition can be prevented by ____________."

Q122
Deadlock

One way to ensure that the Circular Wait condition never holds is to ____________."

Q123
Deadlock

Each request requires that the system consider the ____________ before granting it."

Q124
Deadlock

Given prior knowledge of the ____________ resource requirements of each process deadlock avoidance algorithms can guarantee safety."

Q125
Deadlock

A deadlock avoidance algorithm dynamically examines the ____________."

Q126
Deadlock

A state is safe if ____________.

Q127
Deadlock

A system is in a safe state only if there exists a ____________.

Q128
Deadlock

All unsafe states are ____________.

Q129
Deadlock

If no cycle exists in the Resource Allocation Graph then ____________.

Q130
Deadlock

The Resource Allocation Graph algorithm is not applicable to a resource allocation system ____________.

Q131
Deadlock

The Banker's Algorithm is _____________ than the Resource Allocation Graph algorithm.

Q132
Deadlock

The data structures used in the Banker's Algorithm are ____________.

Q133
Deadlock

The content of the Need matrix is ____________.

Q134
Deadlock

The Wait-for Graph is applicable when ____________.

Q135
Deadlock

If the Wait-for Graph contains a cycle then ____________.

Q136
Deadlock

If deadlocks occur frequentlythe detection algorithm should be invoked ____________.

Q137
Deadlock

What is the disadvantage of invoking the deadlock detection algorithm for every resource request?

Q138
Deadlock

A deadlock eventually cripples system throughput and causes CPU utilization to ____________.

Q139
Deadlock

m' processes share 'n' identical resources. If the maximum need of each process does not exceed 'n' and the sum of all maximum needs is less than m + n then deadlock ____________.

Q140
Deadlock

A deadlock can be broken by ____________.

Q141
Deadlock

Which method is used to eliminate deadlock by aborting processes?

Q142
Deadlock

When selecting a process to abort during deadlock recovery preference should be given to the process whose termination ____________.

Q143
Deadlock

The process to be aborted during deadlock recovery is chosen based on ____________.

Q144
Deadlock

Cost factors for selecting a process for termination include ____________.

Q145
Deadlock

If a resource is preempted from a process the process must be ____________.

Q146
Deadlock

If resources are always preempted from the same process ____________ may occur.

Q147
Deadlock

What is the solution to starvation caused by repeated rollbacks?

Q148
Deadlock

A deadlock situation can arise if which of the following conditions hold simultaneously?

Q149
Deadlock

The condition where only one process can use a resource at a time is called ____________.

Q150
Deadlock

A process holding at least one resource while waiting for additional resources satisfies which deadlock condition?

Q151
Deadlock

The condition where resources cannot be forcibly taken from a process is called ____________.

Q152
Deadlock

A set of processes waiting in a circular chain for one another's resources represents ____________.

Q153
Deadlock

Deadlocks can be represented using a directed graph known as a ____________.

Q154
Deadlock

Deadlock prevention works by ____________.

Q155
Deadlock

Which protocol is used to eliminate the No Preemption condition?

Q156
Deadlock

A deadlock avoidance algorithm requires each process to declare the ____________ resources it may need.

Q157
Deadlock

A deadlock avoidance algorithm dynamically examines the ____________.

Q158
Deadlock

The resource allocation state consists of ____________.

Q159
Deadlock

A deadlock avoidance algorithm considers which information before granting a resource request?

Memory Management 93 questions
Q160
Memory Management

What is address binding?

Q161
Memory Management

At which stage can instruction and data addresses be bound to memory?

Q162
Memory Management

If a process can be moved during execution from one memory location to another address binding must be ____________.

Q163
Memory Management

What is dynamic loading?

Q164
Memory Management

What is the main advantage of dynamic loading?

Q165
Memory Management

What is the primary purpose of overlays?

Q166
Memory Management

Who is responsible for designing and implementing the overlay structure?

Q167
Memory Management

Which operating system component is responsible for swapping processes in and out of memory?

Q168
Memory Management

What is the swapping technique called when a low-priority process is swapped out to allow a higher-priority process to execute?

Q169
Memory Management

If address binding is performed at assembly or load time, the process ____________ after being swapped out and back in.

Q170
Memory Management

In a system that does not support swapping the compiler normally binds symbolic addresses to ____________.

Q171
Memory Management

Which statement about overlays is correct?

Q172
Memory Management

The address generated by the CPU is called a ____________.

Q173
Memory Management

The address actually sent to memory hardware is called a ____________.

Q174
Memory Management

Which hardware component performs run-time address translation from logical to physical addresses?

Q175
Memory Management

The base register is also known as the ____________.

Q176
Memory Management

Without overlays or virtual memory the size of a process is limited by the size of ____________.

Q177
Memory Management

If execution-time binding is used a process ____________ be relocated after being swapped.

Q178
Memory Management

Swapping requires a ____________.

Q179
Memory Management

The backing store is typically ____________.

Q180
Memory Management

The ____________ contains all processes that are in memory or in the backing store and are ready to execute.

Q181
Memory Management

Which operation introduces significant overhead during swapping?

Q182
Memory Management

The largest portion of swapping time is usually spent on ____________.

Q183
Memory Management

Swapping ____________ be performed when a process has pending I/O operations directed to its own memory space.

Q184
Memory Management

Swap space is typically allocated ____________.

Q185
Memory Management

CPU fetches the next instruction according to the value of the ____________.

Q186
Memory Management

A memory buffer used to bridge the speed difference between the CPU and main memory is called ____________.

Q187
Memory Management

Which type of address is generated by the CPU?

Q188
Memory Management

Run-time mapping from logical addresses to physical addresses is performed by the ____________.

Q189
Memory Management

Which memory management technique retrieves pages from secondary storage into main memory when needed?

Q190
Memory Management

Which register stores the starting address of the page table?

Q191
Memory Management

A program normally works with ____________.

Q192
Memory Management

What information is primarily stored in a page table entry?

Q193
Memory Management

What is compaction?

Q194
Memory Management

The operating system maintains a separate page table for ____________.

Q195
Memory Management

The main memory accommodates ____________.

Q196
Memory Management

Where is the operating system typically located in memory?

Q197
Memory Management

In contiguous memory allocation ____________.

Q198
Memory Management

The relocation register helps in ____________.

Q199
Memory Management

With relocation and limit registers every logical address must be ____________ the value in the limit register.

Q200
Memory Management

The operating system and other processes are protected because ____________.

Q201
Memory Management

What is transient operating system code?

Q202
Memory Management

Using transient code ____________ the size of the operating system in memory during execution.

Q203
Memory Management

In fixed-size partition memory allocation each partition can contain ____________.

Q204
Memory Management

In fixed partition allocation the degree of multiprogramming is limited by ____________.

Q205
Memory Management

First Fit Best Fit and Worst Fit are strategies used to select a ____________.

Q206
Memory Management

In internal fragmentation the unused memory inside an allocated partition ____________.

Q207
Memory Management

What is the primary solution to external fragmentation?

Q208
Memory Management

Another solution to external fragmentation is to ____________.

Q209
Memory Management

If relocation is static and performed at assembly or load time compaction __________.

Q210
Memory Management

What is the main disadvantage of compaction?

Q211
Memory Management

Which memory allocation strategy is generally faster than Best Fit and Worst Fit?

Q212
Memory Management

When does external fragmentation occur?

Q213
Memory Management

Which allocation method completely avoids external fragmentation?

Q214
Memory Management

Sometimes the overhead of maintaining information about a memory hole may be __________.

Q215
Memory Management

When allocated memory is slightly larger than the process requirement __________ occurs.

Q216
Memory Management

Physical memory is divided into fixed-size blocks called __________.

Q217
Memory Management

Logical memory is divided into fixed-size blocks called __________.

Q218
Memory Management

A logical address generated by the CPU consists of __________.

Q219
Memory Management

The __________ is used as an index into the page table.

Q220
Memory Management

The __________ table contains the base address of each page in physical memory.

Q221
Memory Management

The size of a page is typically __________.

Q222
Memory Management

Paging eliminates __________ fragmentation.

Q223
Memory Management

The operating system maintains a __________ table to track allocated and free frames.

Q224
Memory Management

Paging increases the __________ overhead.

Q225
Memory Management

Small page tables are typically implemented using a set of __________.

Q226
Memory Management

The page table registers should be implemented using __________.

Q227
Memory Management

For large page tables stored in main memory a __________ points to the page table.

Q228
Memory Management

Each process has its own __________.

Q229
Memory Management

Accessing memory through the Page Table Base Register (PTBR) makes memory access __________.

Q230
Memory Management

Each entry in a Translation Lookaside Buffer (TLB) contains a __________.

Q231
Memory Management

If a requested page number is not found in the TLB it is called a __________.

Q232
Memory Management

An __________ uniquely identifies the address space of a process.

Q233
Memory Management

The percentage of page references found in the Translation Lookaside Buffer (TLB) is called ____________.

Q234
Memory Management

Memory protection in a paging system is implemented using ____________.

Q235
Memory Management

When the valid-invalid bit is set to valid it indicates that the associated page ____________.

Q236
Memory Management

Illegal memory addresses are detected using the ____________ bit.

Q237
Memory Management

For a very large logical address space which paging technique is most suitable?

Q238
Memory Management

In a paged memory system, the TLB hit ratio is 0.35. Memory access time is 10 ns, and a TLB miss requires an additional 100 ns. What is the effective memory access time?

Q239
Memory Management

Dynamic loading allows a routine to be loaded only when it is called. Which statement is correct?

Q240
Memory Management

If the page size is increased in a paging system, internal fragmentation generally ____________.

Q241
Memory Management

In segmentation, each logical address consists of ____________.

Q242
Memory Management

In paging, the CPU generates ____________, which the hardware divides into ____________ and ____________.

Q243
Memory Management

Each entry in a segment table contains a ____________.

Q244
Memory Management

The segment base contains the ____________.

Q245
Memory Management

The segment limit specifies the ____________.

Q246
Memory Management

The offset in a segmented address must be ____________.

Q247
Memory Management

If the offset is valid, it is ____________.

Q248
Memory Management

When two processes have segment table entries pointing to the same physical memory location, the segments are ____________.

Q249
Memory Management

The protection bit in a segment or page table typically determines whether access is ____________.

Q250
Memory Management

If there are 32 segments, each of size 1 KB, how many bits are required for the logical address?

Q251
Memory Management

A computer has 8 MB main memory and a 128 KB direct-mapped cache with a block size of 4 KB. How many main memory blocks map to a single cache block?

Q252
Memory Management

Why are multilevel page tables preferred over single-level page tables?

Must Read Memory Management 30 questions
Q253
Must Read Memory Management

Which page replacement algorithm replaces the page that has not been used for the longest period?

Q254
Must Read Memory Management

What is the main advantage of the Optimal page replacement algorithm?

Q255
Must Read Memory Management

What does the Translation Lookaside Buffer (TLB) store?

Q256
Must Read Memory Management

Which page replacement algorithm may suffer from Belady's Anomaly?

Q257
Must Read Memory Management

What is internal fragmentation?

Q258
Must Read Memory Management

What is external fragmentation?

Q259
Must Read Memory Management

Which memory allocation strategy allocates the first free block that is large enough?

Q260
Must Read Memory Management

What memory management technique involves dividing the main memory into fixed-size partitions to accommodate multiple processes?

Q261
Must Read Memory Management

Which memory management technique involves moving entire processes between main memory and disk?

Q262
Must Read Memory Management

Which memory management technique uses logical division of memory into segments of variable sizes?

Q263
Must Read Memory Management

Which memory management technique involves breaking down processes into fixed-size blocks called pages?

Q264
Must Read Memory Management

What memory management technique combines features of both segmentation and paging?

Q265
Must Read Memory Management

Which technique allows execution of large programs by dividing them into smaller modules loaded into memory only when needed?

Q266
Must Read Memory Management

What technique involves linking libraries dynamically during program execution rather than at compile time?

Q267
Must Read Memory Management

What is the fundamental concept behind virtual memory?

Q268
Must Read Memory Management

Which technique involves loading pages into memory only when they are needed during program execution?

Q269
Must Read Memory Management

What is the primary advantage of partitioning in memory management?

Q270
Must Read Memory Management

Which memory management technique suffers from external fragmentation?

Q271
Must Read Memory Management

Which technique allows multiple processes to share the same memory space without interfering with each other?

Q272
Must Read Memory Management

Which memory management technique allows for efficient allocation of memory by dividing processes into equal-sized blocks?

Q273
Must Read Memory Management

What is the purpose of using overlays in memory management?

Q274
Must Read Memory Management

Which memory management technique requires moving processes between main memory and disk to balance system load?

Q275
Must Read Memory Management

What is the primary disadvantage of using dynamic linking and loading?

Q276
Must Read Memory Management

Which technique aims to reduce the initial loading time of large programs by loading only necessary portions into memory initially?

Q277
Must Read Memory Management

What is the key benefit of using virtual memory?

Q278
Must Read Memory Management

Which memory management technique involves dividing memory into variable-sized partitions based on program requirements?

Q279
Must Read Memory Management

What is a drawback of using overlays in memory management?

Q280
Must Read Memory Management

What is the purpose of a page table in paging?

Q281
Must Read Memory Management

Which type of fragmentation occurs in paging?

Q282
Must Read Memory Management

What is thrashing in virtual memory?

Page Replacement Technique 23 questions
Q283
Page Replacement Technique

When using counters to implement the LRU page replacement algorithm which page is replaced?

Q284
Page Replacement Technique

In the stack implementation of the LRU algorithm, which page is located at the bottom of the stack?

Q285
Page Replacement Technique

Which class of page replacement algorithms can never exhibit Belady's Anomaly?

Q286
Page Replacement Technique

Applying the LRU page replacement algorithm to the given reference string, how many page faults occur?

Q287
Page Replacement Technique

Increasing the RAM of a computer typically improves performance because ____________.

Q288
Page Replacement Technique

The essential content in each page table entry is the ____________.

Q289
Page Replacement Technique

The minimum number of page frames that must be allocated to a running process is determined by the ____________.

Q290
Page Replacement Technique

What is the rationale behind the LFU (Least Frequently Used) page replacement algorithm?

Q291
Page Replacement Technique

What is the rationale behind the MFU (Most Frequently Used) page replacement algorithm?

Q292
Page Replacement Technique

Why are the LFU and MFU page replacement algorithms rarely used in practice?

Q293
Page Replacement Technique

According to the optimal page replacement policy,which page should be replaced?

Q294
Page Replacement Technique

Which page replacement algorithm produces the minimum possible number of page faults?

Q295
Page Replacement Technique

In which page replacement algorithm is the page that entered memory first replaced first?

Q296
Page Replacement Technique

To implement the FIFO page replacement algorithm, the operating system must keep track of ____________.

Q297
Page Replacement Technique

To implement the Optimal page replacement algorithm, the operating system must know ____________.

Q298
Page Replacement Technique

To implement the LRU page replacement algorithm, the operating system must keep track of ____________.

Q299
Page Replacement Technique

Which page replacement algorithm is based on the principle of locality of reference?

Q300
Page Replacement Technique

To avoid Belady's Anomaly, a page replacement algorithm should satisfy the ____________.

Q301
Page Replacement Technique

Which page replacement algorithm satisfies the stack property?

Q302
Page Replacement Technique

Belady's Anomaly is associated with which page replacement algorithm?

Q303
Page Replacement Technique

Which statement correctly describes Belady's Anomaly?

Q304
Page Replacement Technique

Increasing the number of allocated page frames is most effective in reducing thrashing when using which page replacement algorithm?

Q305
Page Replacement Technique

Which page replacement algorithm uses a reference bit to determine whether a page has been recently accessed?

Process and Thread 20 questions
Q306
Process and Thread

What is a process?

Q307
Process and Thread

What is a thread?

Q308
Process and Thread

Which component of a process stores local variables and function calls?

Q309
Process and Thread

Which memory area is shared among threads of the same process?

Q310
Process and Thread

Which of the following is NOT shared among threads of the same process?

Q311
Process and Thread

Who is responsible for creating a new process in Unix/Linux?

Q312
Process and Thread

Which system call replaces the current process image with a new program?

Q313
Process and Thread

Which system call waits for a child process to terminate?

Q314
Process and Thread

What is the Process Control Block (PCB)?

Q315
Process and Thread

Which process state indicates that a process is waiting for an event?

Q316
Process and Thread

What is context switching?

Q317
Process and Thread

Which scheduler selects the next process to run on the CPU?

Q318
Process and Thread

Which scheduler controls the degree of multiprogramming?

Q319
Process and Thread

What is multithreading?

Q320
Process and Thread

What is the main advantage of multithreading?

Q321
Process and Thread

Which of the following is true about processes and threads?

Q322
Process and Thread

What happens when the main thread of a process terminates?

Q323
Process and Thread

Which thread model allows many user-level threads to map to one kernel thread?

Q324
Process and Thread

What is the main disadvantage of the Many-to-One thread model?

Q325
Process and Thread

Which thread model is used by most modern operating systems?

Thrasing 10 questions
Q326
Thrasing

A process is said to be thrashing if ____________.

Q327
Thrasing

Thrashing ____________ CPU utilization.

Q328
Thrasing

What is a locality in virtual memory?

Q329
Thrasing

When a subroutine is called, ____________.

Q330
Thrasing

A program is generally composed of several different localities, which ____________.

Q331
Thrasing

In the working-set model, if Δ = 10, what is the working set at time t₁ (…7 5 1) for the given reference string?

Q332
Thrasing

The accuracy of the working-set model depends on the selection of ____________.

Q333
Thrasing

If the working-set window is too small, ____________.

Q334
Thrasing

If the working-set window is too large, ____________.

Q335
Thrasing

If the sum of the working-set sizes exceeds the total number of available page frames, ____________.

WhatsApp Telegram Messenger