adplus-dvertising
frame-decoration

Question

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

Posted under Operating System

Answer: (c).4

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. 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...

Similar Questions

Discover Related MCQs

Q. 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 :

Q. 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 :

Q. 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 FIFO page replacement algorithms with 3 frames, the number of page faults is :

Q. 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 FIFO page replacement algorithms with 4 frames, the number of page faults is :

Q. 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 Optimal page replacement algorithms with 3 frames, the number of page faults is :

Q. What command is used to count the total number of lines, words, and characters contained in a file?

Q. What command is used to remove files?

Q. What command is used to remove the directory?

Q. What command is used with vi editor to delete a single character?

Q. What hardware architectures are not supported by Red Hat?

Q. The physical layer of a network

Q. What TCP/IP protocol is used for remote terminal connection service?

Q. How many networks and nodes per network, are allowed by the Class B network?

Q. What service is used to translate domain names to IP addresses?

Q. Which of the following command is used to create a Linux installation boot floppy?

Q. How can you add Amit, a new user, to your system?

Q. What file specifies the order in which to use specified name services?

Q. How many primary partitions can exist on one drive?

Q. In which directory can you store system user default files used for creating user directories?

Q. How could you install the file ipchains-1.3.9-5.i386.rpm?