Q.8 Consider the following reference string and a memory with three frames : 7, 0, 2, 0, 2, 7, 1. How many page faults will be produced by the LRU page replacement algorithm?
Asked in HPSC to Final Answer Key of the Master Question Booklet of Screening Test - Assistant Professor (College Cadre) - Computer Science (Advt. No. 45/) in Higher Education Department, Haryana 2024
Answer under review: our editors are checking this question. Try the other HPSC Prelims previous year questions questions meanwhile.
More HPSC Prelims previous year questions questions
- Q.9 Consider the following two statements : Statement I : A mesh network with 10 nodes requires 45 links. Statement II : A mesh network with 4 nodes requires 6 links. In light of the above statements, choose the Correct answer from the options given below :
- Q.10 In object-oriented programming, the mechanism that allows two related functions to share the same name is called
- Q.11 A ______ is a data structure used by a compiler that contains a record for each identifier, with fields for the attributes of the identifier.
- Q.12 In which of the following schemes, the logical memory of a program is divided into blocks of the same size called pages and the physical memory is divided into blocks of the same size called frames ?
- Q.13 In which data structure, the total number of nodes at a level i is always 2 raised to (i-1) ?
- Q.14 Which of the following is a top-down parser ?
- Q.15 Assuming that ptr is a pointer to float, which of the following is a valid construct in C++ ?
- Q.16 What is the hexadecimal equivalent number of the octal number 726 ?