Quick Revision

GK One-Line Question & Answer

15541+ short questions with short answers, covering every category and sub-category on the site — no long articles to scroll through. Good for a fast recap before an exam, or a few minutes of daily practice.

Computer Fundamentals → Introduction to Computer 37

Which microarchitecture technique hides memory latency?
Out-of-order execution with many in-flight memory operations
click to copy
Store-to-Load forwarding allows?
A load to receive its value from a recent pending store before it writes to cache
click to copy
Micro-ops (uops) in x86 are?
Simpler internal operations that x86 instructions are decoded into
click to copy
Decoded ICache (DSB in Intel) stores?
Pre-decoded uops to avoid re-decoding hot loops
click to copy
Loop Stream Detector (LSD) in Intel CPUs?
Recognizes small loops and serves uops directly from loop buffer
click to copy
Meltdown vulnerability exploits?
Speculative execution allowing reading kernel memory from user space
click to copy
Spectre vulnerability exploits?
Branch prediction to leak data via cache side channels
click to copy
Rowhammer attack exploits?
DRAM physical cell crosstalk — repeated access flips bits in nearby rows
click to copy
Which performance counter measures CPU cycles?
CPU_CLK_UNHALTED (cycles)
click to copy
IPC (Instructions Per Cycle) measures?
How many instructions the CPU completes per clock cycle
click to copy
CPI (Cycles Per Instruction) is?
1/IPC
click to copy
Which tool profiles CPU performance counters on Linux?
perf
click to copy
Cache line size on modern x86 CPUs is typically?
64 bytes
click to copy
False sharing mitigation strategy includes?
Padding data structures to separate hot variables to different cache lines
click to copy
NUMA-aware memory allocation uses?
Allocate memory on the NUMA node closest to the thread
click to copy
PCIe peer-to-peer (P2P) allows?
Two PCIe devices to transfer data directly without CPU involvement
click to copy
NVMe over Fabrics (NVMe-oF) extends NVMe?
Over network (RDMA, FC, TCP) for disaggregated storage with NVMe latency
click to copy
RDMA (Remote Direct Memory Access) allows?
Network adapter to directly read/write remote memory — bypassing remote CPU
click to copy
RoCE (RDMA over Converged Ethernet) provides?
RDMA capability over standard Ethernet infrastructure
click to copy
Which memory bus standard replaced the dedicated front-side bus?
QPI/UPI (Intel) and HyperTransport (AMD)
click to copy
Intel UPI (Ultra Path Interconnect) connects?
Multiple CPUs in multi-socket servers
click to copy
Power consumption breakdown in modern CPUs: dynamic power scales with?
CV²f (Capacitance × Voltage² × frequency)
click to copy
Leakage current in transistors becomes dominant at?
Small process nodes (sub-22nm) — significant even when transistor is off
click to copy
Which technology reduces power in CPUs by temporarily stopping clock signal to idle blocks?
Clock gating
click to copy
Adiabatic computing attempts to?
Recover energy from computation rather than dissipating it as heat
click to copy
HBM (High Bandwidth Memory) is connected to the GPU/CPU via?
Through Silicon Via (TSV) on the same package (2.5D/3D)
click to copy
2.5D integration uses?
Dies placed side-by-side on a silicon interposer connected by short interconnects
click to copy
Which memory has the lowest latency?
SRAM (on-die cache)
click to copy
Crossbar switch in memory systems allows?
Any input to connect to any output simultaneously — O(n²) connections
click to copy
Directory-based cache coherence scales better than snooping because?
Reduces broadcast traffic — messages sent only to relevant nodes
click to copy
Write-invalidate vs write-update cache protocol: write-invalidate?
Invalidates all other copies when one core writes — most common today
click to copy
Which cache coherence protocol state allows only one cache to have a dirty copy?
Modified (M) state in MESI
click to copy
Which layer of OSI model deals with node-to-node data delivery?
Data Link layer
click to copy
Which protocol is connection-oriented at Layer 4?
TCP
click to copy
Which field in IPv4 header identifies the upper-layer protocol?
Protocol field
click to copy
IPv4 fragmentation occurs when?
Packet size exceeds MTU of the path
click to copy
IPv6 handles fragmentation differently by?
Only source host fragments; routers do not
click to copy

Computer Fundamentals → Operating System Basics 2

KASLR (Kernel Address Space Layout Randomization) randomizes?
Kernel virtual address layout to mitigate exploits
click to copy
Kernel Page Table Isolation (KPTI/KAISER) mitigates?
Meltdown by separating kernel and user page tables
click to copy

Computer Fundamentals → Memory Units 1

SRAM vs DRAM speed: SRAM is faster because?
No refresh needed — flip-flop based storage with no capacitor discharge
click to copy