Question: 1. If you are given a C statement printf(hello world ); , what would be the numerical representation from this text? 2. Explain the relationship
1. If you are given a C statement printf(hello world ); , what would be the numerical representation from this text? 2. Explain the relationship between Register, L1, L2, L3 and main memory.
Memory Hierarchy of a Computer System Example Memory Hierarchy L1: L1 cache Smaller, faster, and costlier (per byte) storage devices LO: Regs CPU registers hold words retrieved from the L1 cache. (SRAM) L1 cache holds cache lines retrieved from the L2 cache. L2: L2 cache (SRAM) L2 cache holds cache lines retrieved from L3 cache L3: L3 cache (SRAM) L3 cache holds cache lines retrieved from main memory. Main memory (DRAM) Main memory holds disk blocks retrieved from local disks. Local secondary storage (local disks) Local disks hold files retrieved from disks on remote servers Remote secondary storage (e.g., Web servers) L4: Larger, slower, and cheaper (per byte) storage L5: devices L6: Bryant and O'Hallaron, Computer Systems A Programmers Perspective, Third Edition
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
