adplus-dvertising

Welcome to the Linux System MCQs Page

Dive deep into the fascinating world of Linux System with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of Linux System, a crucial aspect of Operating System. In this section, you will encounter a diverse range of MCQs that cover various aspects of Linux System, from the basic principles to advanced topics. Each question is thoughtfully crafted to challenge your knowledge and deepen your understanding of this critical subcategory within Operating System.

frame-decoration

Check out the MCQs below to embark on an enriching journey through Linux System. Test your knowledge, expand your horizons, and solidify your grasp on this vital area of Operating System.

Note: Each MCQ comes with multiple answer choices. Select the most appropriate option and test your understanding of Linux System. You can click on an option to test your knowledge before viewing the solution for a MCQ. Happy learning!

Linux System MCQs | Page 15 of 31

Discuss
Answer: (b).it may overlap several localities
Q142.
If the sum of the working – set sizes increases, exceeding the total number of available frames :
Discuss
Answer: (d).the operating system selects a process to suspend
Discuss
Answer: (d).Blocking one kernel level thread blocks all other related threads
Q144.
The following program:

main()
{
if(fork()>0)
sleep(100);
}

results in the creation of:
Discuss
Answer: (b).a zombie process
Q145.
The following C program executes :

main()
{
fork();fork();printf("yes");
}
prints yes:
Discuss
Answer: (c).four times
Q146.
A virtual memory system uses First In First Out (FIFO) page replacement policy and allocates a fixed number of frames to a process. Consider the following statements :

P : Increasing the number of page frames allocated to a process sometimes increases the page fault rate
Q : Some programs do not exhibit locality of reference

Which of the following is TRUE?
Discuss
Answer: (c).P is false but Q is true
Q147.
For 3 page frames, the following is the 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 does the LRU page replacement algorithm produce ?
Discuss
Answer: (d).12
Q148.
Applying the LRU page replacement to the following reference string :

1 2 4 5 2 1 2 4

The main memory can accommodate 3 pages and it already has pages 1 and 2. Page 1 came in before page 2.
How many page faults will occur ?

a.

2

b.

3

c.

4

d.

5

Discuss
Answer: (c).4
Q149.
In the working set model, for :

2 6 1 5 7 7 7 7 5 1 6 2 3 4 1 2 3 4 4 4 3 4 3 4 4 4 1 3 2 3

if DELTA = 10, then the working set at time t1 (….7 5 1) is :
Discuss
Answer: (c).{1, 6, 5, 7, 2}
Q150.
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

For LRU page replacement algorithm with 4 frames, the number of page faults is :
Discuss
Answer: (c).8

Suggested Topics

Are you eager to expand your knowledge beyond Operating System? We've curated a selection of related categories that you might find intriguing.

Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!