Virtual Memory and Page Replacement Strategies

Inverted Page Tables

One entry for each real page of memory. Each entry contains the virtual address of the page stored in that real memory location, along with information about the process that owns the page. This approach decreases the memory needed to store each page table but increases the time required to search the table when a page reference occurs. A hash table is often used to limit the search to one or a few page table entries.

Virtual Memory Concepts

Virtual Memory: Separation of Physical

Read More

Concrete Production and Characteristics: A Comprehensive Look

Concrete Production and Characteristics

Central Concrete Production

Central concrete production facilities must include:

  • Storage of raw materials, arranged with pollution control measures.
  • Metering installation with silos and hopper scales.
  • Mixing equipment (fixed or mobile) capable of producing a homogeneous and completely mixed product.
  • Transport equipment.
  • Quality control services.

Ready-Mixed Concrete

Ready-mixed concrete is manufactured in a plant separate from the construction site.

It facilitates execution,

Read More

8085 Microprocessor: Stack Pointer, Program Counter & Interrupts

Stack Pointer Functionality

A stack pointer is a small register that stores the address of the last program request in a stack. A stack is a specialized buffer which stores data from the top down. As new requests come in, they “push down” the older ones. The most recently entered request always resides at the top of the stack, and the program always takes requests from the top.

A stack (also called a pushdown stack) operates in a last-in/first-out (LIFO) manner. When a new data item is entered or

Read More

First-Order Logic: Syntax, Semantics, and Applications

Drawbacks of Propositional Logic:

  1. Lack of Expressive Power: Propositional logic cannot concisely describe environments with many objects. For instance, it requires separate rules for each square in a grid, making it cumbersome to represent relationships that could be expressed more succinctly in natural language.
  2. Inability to Handle Partial Information: While propositional logic can express certain facts, it struggles with expressing partial knowledge effectively. For example, it cannot easily convey
Read More

Understanding Page Replacement Algorithms

Virtual Memory Management Questions

Page Replacement Algorithms

A computer has four-page frames. The table below shows the time of loading, time of last access, and the R and M bits for each page (the times are in clock ticks):

Which page will each of the following algorithms replace?

  • NRU (Not Recently Used)
  • FIFO (First-In, First-Out)
  • LRU (Least Recently Used)
  • Second Chance

Answers:

  • NRU replaces page 2.
  • FIFO replaces page 3.
  • LRU replaces page 1.
  • Second chance replaces page 2.

Address Space and Page Size

A computer

Read More

Ceramic, Brick, and Stone Cladding Systems: A Detailed Look

Fiber Cement Cladding

Fiber Cement. List the types of ceramic elevation claddings.

Types of Ceramic Elevation Claddings

1. Single Shell Multilayer System (Glued): Small unit (1x12x25, majolica, pressed ceramic tiles), wider joints 3-5mm, heat expansion joints at each 3m. Max tile area 0.12m2, max length 40cm, max thickness 2cm including gluing layer.

2. Double Shell Ventilated System: Pressed ceramic sheets (1/30×60/60x120cm), terracotta (1-2/30×60/60x120cm).

Fiberboard

  1. Loadbearing structure.
  2. Insulation
Read More