01Chapter 1: Address Spaces and Address BindingEvery memory management technique in this tutorial depends on one idea. The addresses a program uses are not the addresses the hardware uses. This chapter defines the kinds of address, shows when the translation between them is fixed (binding), and builds the base/limit hardware that later chapters 7 min read
02Chapter 2: Contiguous Allocation and Placement StrategiesThis chapter assumes you know binary and hexadecimal arithmetic and powers of two. It also assumes you know the roles of the CPU, main memory and disk, what a context switch is, and how to read short Python. You should also remember the distinction between logical and physical addresses from the pre6 min read
03Chapter 3: Internal and External FragmentationThis chapter assumes you know how contiguous allocation works: base and limit registers, fixed and variable partitions, and the first-fit, best-fit and worst-fit placement strategies from the previous chapter. You should also be comfortable with powers of two and with reading short Python code.6 min read
04Chapter 4: Paging and Address TranslationThis chapter assumes you can work with powers of two and hexadecimal, and that you know the earlier chapters on address spaces, contiguous allocation and fragmentation. It also assumes you can read short C or Python code. Paging is the most heavily tested topic in this part of GATE. Most numerical q7 min read
05Chapter 5: The TLB and Effective Access TimeThis chapter assumes you know how paging splits a virtual address into a page number and an offset. It also assumes you know that a page table maps each page to a frame, and that you are comfortable with powers of two. Here you will learn why paging needs a cache for translations, how that cache wor5 min read
06Chapter 6: Multilevel, Hashed and Inverted Page TablesThis chapter assumes you can already split a virtual address into page number and offset, and that you know a page table maps each page to a frame. Those are the paging and TLB ideas from the earlier chapters. Here we deal with a problem they create: the page table itself can be too big.6 min read
07Chapter 7: Segmentation and Segmented PagingThis chapter assumes you know how paging translates an address (page number, offset, page table) and what external fragmentation is. You should also be comfortable with powers of two and with reading short Python.7 min read
08Chapter 8: Virtual Memory and Demand PagingThis chapter assumes you know how paging translates an address: a virtual address splits into a page number and an offset, and the page table maps the page number to a frame number. You should also be comfortable with powers of two and with the cost gap between RAM and disk. Here you will see how th7 min read
09Chapter 9: Page Faults and Effective Access TimeThis chapter assumes you know how paging translates a virtual address into a frame and offset, how a TLB speeds up translation, and how to compute effective access time (EAT) with a TLB. It also assumes you know the basic idea of demand paging, where pages are loaded only when they are first used. H6 min read
10Chapter 10: Page Replacement AlgorithmsThis chapter assumes you know demand paging, page faults and the page-fault service sequence from the previous chapters. You should also be comfortable reading short Python.6 min read
11Chapter 11: Belady's Anomaly and Stack AlgorithmsThis chapter assumes you can trace FIFO and LRU page replacement on a reference string and count page faults. It also assumes you know what a frame is. Here we look at a surprising property: for some algorithms, adding frames can increase the number of page faults.5 min read
12Chapter 12: Protection, Shared Pages and Copy-on-WriteThis chapter assumes you can translate a virtual address into a page number and offset and read a page table entry. You should also know what a page fault is and roughly how fork() creates a process. Here you will see how the page table enforces protection, how several processes can map the same p7 min read
13Chapter 13: Frame Allocation and Replacement ScopeThis chapter assumes you can trace FIFO, LRU and Optimal replacement on a reference string. It also assumes you know what a page fault is and how demand paging works. Earlier chapters covered which page to evict. This chapter covers two other questions. How many frames does each process get? And m5 min read
15Chapter 15: GATE Problem-Solving PatternsThis chapter turns the earlier concepts into repeatable procedures for numerical and tracing questions. It assumes you know the earlier chapters of this tutorial: paging, multilevel tables, the TLB, demand paging, page replacement and thrashing. You should also be comfortable with powers of two and 6 min read