Memory management questions and answers for Gate

This post covers the memory management questions and answers for GATE exam. Various gate questions on virtual memory are explained in this post.So let's practice these operating system memory management questions and answers for gate exam

Memory management questions and answers

This post covers the memory management questions and answers for GATE exam. Various gate questions on virtual memory are explained in this post.So let's practice these operating system memory management questions and answers for gate exam.
Q1. Increasing the RAM of a laptop usually improves performance because:

A.Virtual memory will increase

B.Larger RAMs area unit quicker
C.Fewer page faults occur
D.Fewer segmentation faults occur.
Q2. Page fault happens 

A.When a requested page is in memory
B.When a requested page isn't in memory
C.When a page is currupted
D.When associate degree exception is thrown
Q3. Which of the subsequent page replacement algorithms suffers from Belady’s anomaly?
C.Optimal Page Replacement
D. None
Q4.What is the disc space within the disk used for?
(A) Saving temporary HTML pages
(B) Saving method knowledge
(C) Storing the super-block
(D) Storing device drivers
Q5. A processor uses thirty six bit physical addresses and thirty two bit virtual addresses, with a page frame size of four Kbytes. Every page table entry is of size four bytes. a 3 level page table is employed for virtual to physical address translation, wherever the virtual address is employed as follows 
• Bits 30-31 area unit accustomed index into the primary level page table
 • Bits 21-29 area unit accustomed index into the second level page table 
• Bits 12-20 area unit accustomed index into the third level page table, and
• Bits 0-11 area unit used as offset within the page the quantity of bits needed for addressing consequent level page table (or page frame) within the page table entry of the primary, second and third level page tables area unit severally.
A.20, 20 and 20
B.24, 24 and 24
C.24, 24 and 20
Q6. A multilevel page table is most popular compared to one level page table for translating virtual address to physical address as a result of
A.It reduces the operation time to browse or write a memory location.
B.It helps to cut back the dimensions of page table required to implement the virtual address area of a method.
C.It is needed by the interpretation look aside buffer.
D.It helps to cut back the quantity of page faults in page replacement algorithms.
Q7. Thrashing happens

A.When a page fault happens

B.Processes on system area unit in running state

D.Processes on system area unit in waiting state
Q8.A computer system supports 32-bit virtual addresses similarly as 32-bit physical addresses. Since the virtual address area is of constant size because the physical address area, the operating system designers attempt to get get rid of the virtual memory entirely.Which  one in all the subsequent is true?
A.Efficient implementation of multi-user support isn't any longer potential

B.The processor cache organization is created additional economical currently

C.Hardware support for memory management isn't any longer required
D.CPU planning is created additional economical currently

gate questions on virtual memory
Q9. A laptop uses 46–bit virtual address, 32–bit physical address, and a three–level paged page table organization. The page table base register stores the base address of the first–level table (T1), that occupies specifically one page. every entry of T1 stores the base address of a page of the second–level table (T2). every entry of T2 stores the base address of a page of the third–level table (T3). every entry of T3 stores a page table entry (PTE). The PTE is thirty two bits in size. The processor employed in the pc encompasses a one MB sixteen way set associative virtually indexed physically labeled cache. The cache block size is sixty four bytes. What is the size of a page in KB during this computer? (GATE 2013)


Q10. Assume information given within the question 9. what's the minimum variety of page colors required to ensure that no 2 synonyms map to completely different sets within the processor cache of this computer? (GATE  2013)


Q11. The essential content(s) in every entry of a page table is / area unit

A.Virtual number

B.Page frame number
C.Both virtual page number and page frame number
D.Access right info
Q12.A system uses first in first out policy for page replacement. it's four page frames with no pages loaded to start with. The system initial accesses a hundred distinct pages in some order so accesses  hundred distinct pages in some order and then wants to access 100 pages in  reverse order. what number page faults can occur?
Q13.Let the page fault service time be 10ms in an exceedingly laptop with average access time of  20ns. If one page fault is generated for each 10^6 memory accesses, what's the effective access time for the memory?
Q14. Assume the virtual page reference string 1, 2, 3, 2, 4, 1, 3, 2, 4, 1 On a requirement paged memory board system running on computer system that main memory size of three pages frames that are empty initially . Let LRU, first in first out and optimal algorithm denote the quantity of page faults under the corresponding page replacements policy. Then
A.OPTIMAL < LRU < first in first out
B.OPTIMAL < first in first out < LRU


D.OPTIMAL = first in first out
Q15. Which of the subsequent needs a tool driver? (GATE  2001)
a) Register
b) Cache
c) Main memory
d) Disk
Answer Sheet

(1) C (2) B (3) A (4) B (5)    D   (6)    B      (7)    B      (8)    C     (9)    C     (10)     C     (11)  B       (12)   A      (13)     B (14)         B        (15)          D



addressing modes types,1,advance-java,2,aktu entrance exam,1,aktu exam schedule,1,ASP,1,bare machine,1,base register and limit register,1,C Programming,12,C Plus Plus,1,C Programming,5,C Programming Questions,1,C programming study material for gate exam,7,Cache Memory,1,CBNST Program,1,Childcare,1,CJ,1,Cloud Computing,1,CN,3,Computer Architecture,2,Computer architecture based questions for gate exam,11,Computer Network,8,Computer Network Study Material,2,Computer network study material for gate,1,Computer Networks,8,Computer networks GATE Questions,2,Computer Science Study Material for Gate,14,computer science study material for gate exam,28,conditional statements in c,1,contiguous memory allocation,2,Core Java,3,cyber crime report,1,Cyber crime status,1,cybercrime and security,1,cybercrime examples,1,Data Structure,2,Data Structure Questions,1,Data Transmission Architecture,1,Data Transmission in wsn,1,database normalization,1,DBMS,6,dbms question paper,1,DE,1,Digital Electronics,1,DS,4,Dynamic memory allocation in c,1,Electroencephalogram,1,file management in operating system notes,1,Gate 2017,3,Gate 2017 Admit card,1,gate cse study material,1,gate practice set,7,gate study material for computer science,12,Gate study material for computer science 2017,1,General,3,HCL Aptitude Test,1,HR Interview Questions,1,HTML,4,Important Date of Gate 2017 Exam,1,Information Security Policy,1,internal and external fragmentation,1,JDBC,2,JS,1,lagrange's interpolation formula,1,lagrange's interpolation formula examples,1,memory fragmentation,1,memory management,1,memory management questions and answer in os,1,Motivational,4,NCER,1,Numerical Techniques Lab,1,OOT,1,Operating System,10,Operating System Gate Questions,1,Operating System Objective Questions,4,Operating System Questions Bank,1,Operating system questions for gate,1,Operating System Study material,2,operating system study material for gate exam,13,Operating system tutorial,2,page swapping,1,paged memory allocation,1,paged memory allocation in operating system,1,Pointer in C,4,Process based question for gate,1,Regression testing,1,relocation in memory management,1,relocation registe,1,relocation register,1,resident monitor,1,resident monitor in operating system,1,routing table,1,Software Engineering,10,Software Engineering baes study material for gate,1,Software Quality Assurance,3,software verification methods,1,Stack,1,Structure in C,1,Study Material for gate Computer Science,7,swapping in memory management,1,swapping in operating system,1,TCS Code Vita,1,TCS Interview Questions,1,Technical Interview,1,Technical Questions from DBMS,1,Thrashing in Operating System,1,Threads concept in operating system,1,Tips to Learn Coding,1,Types of operating system,1,UML,1,Virtualization,1,What is process control block ?,1,what is software testing?,1,Wireless Sensor Network,3,worst fit algorithm for memory allocation,1,XML,2,
Computer Science Junction: Memory management questions and answers for Gate
Memory management questions and answers for Gate
This post covers the memory management questions and answers for GATE exam. Various gate questions on virtual memory are explained in this post.So let's practice these operating system memory management questions and answers for gate exam
Computer Science Junction
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share. STEP 2: Click the link you shared to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy