

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Memory
Memory Interleaving Memory Alignment and Byte Addressing Endianess Types of RAM: DRAM vs. SRAM differences Why use Memory Hierarchy? Locality principles
Cache Types of mapping scheme: Direct, Fully-Associative Cache, Set-Associative Cache, their advantages and disadvantages Know how the address is split into word, block/set, and tag? Replacement policies for set and fully associative: LRU (Pseudo LRU), Random What does mean when cache line is valid? Dirty? What the difference between write-through and write-back write policies? What does it mean to have cache/miss or hit?
Virtual Memory(VM) What is the motivation for VM Difference between Virtual Address (VA) and Physical Address (PA)? Benefits: Multiprogramming, Isolation and Protection
Paging Technique: ย What is page? What is a page frame? Page offset? ย What is a page table? Where is the table store? ย Address Translation from VA to PA ย What is a page fault? ย Valid, Dirty, Page Replacement and Write policies (similar to cache) ย Replacement policies: LRU, FIFO ย Problem with paging scheme: Which fragmentation problem?
TLB: ย Why use it? ย What does it store? ย How does TLB, Cache and Main Memory and Disk Interact in general?
Effective Access Time calculation
Process/ Threads/Deadlock
What is a process? Different process states What details are stored in process Control Block (PCB)? Preemption vs. Non-preemption Scheduling Schemes: FCFS, SJF, Round Robin, Priority, and Multi-level feedback queue What is context switch? What is difference between processes and threads? Why is process creation more expensive? Synchronization primitives: ย locks (mutex), semaphore (P and V operations) ย Conceptual questions (exact syntax of pthread and semaphore is not required)
What are Deadlocks? ย What conditions cause Deadlocks ย Deadlock Prevention ย Deadlock Detection using Resource Allocation Graph for one instance of resource class ย Deadlock Avoidance using Bankers Algorithm for single resource class