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 34

RISC-V is notable because?
Open, royalty-free instruction set architecture for custom processor design
click to copy
ARM vs x86: ARM dominates mobile because?
Higher performance per watt
click to copy
Apple Silicon (M1/M2/M3) is based on?
ARM architecture with custom Apple-designed cores
click to copy
Heterogeneous computing uses?
Mix of processors (CPU+GPU+NPU+DSP) for optimal efficiency
click to copy
NPU (Neural Processing Unit) in smartphones optimizes?
AI inference workloads using dedicated neural network hardware
click to copy
DSP (Digital Signal Processor) is optimized for?
Real-time signal processing (audio, radio, sensor data)
click to copy
Memory controller integration into CPU (IMC) was pioneered by?
AMD with Opteron/Athlon 64 (2003)
click to copy
Simultaneous Multi-Threading (SMT) increases?
CPU throughput by filling pipeline stalls with another thread's instructions
click to copy
Branch misprediction penalty causes?
Pipeline flush — wasted cycles on wrong-path instructions
click to copy
Tomasulo's algorithm implements?
Out-of-order execution with register renaming to eliminate false dependencies
click to copy
Superscalar processor can issue how many instructions per clock?
Multiple (2-8 per cycle)
click to copy
VLIW (Very Long Instruction Word) architecture?
Compiler explicitly specifies multiple parallel operations in one wide instruction
click to copy
Which processor feature reduces memory latency for pointer chasing?
Both A and B
click to copy
Power gating in processors?
Cuts power to unused circuit blocks to save energy
click to copy
DVFS (Dynamic Voltage and Frequency Scaling)?
Adjusts CPU voltage and frequency based on workload to balance performance/power
click to copy
Turbo Boost (Intel) / Precision Boost (AMD) allows CPUs to?
Temporarily exceed rated base clock when thermal/power headroom exists
click to copy
Load-Store architecture (RISC) means?
Only LOAD and STORE instructions access memory — ALU operations use registers
click to copy
Which memory ordering is required by x86?
Total Store Order (TSO) — strong consistency guarantees
click to copy
Memory fence/barrier instruction ensures?
Memory operations before fence complete before those after fence
click to copy
std::atomic in C++11 provides?
Lock-free thread-safe operations with specified memory ordering
click to copy
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

Computer Fundamentals → Memory Units 3

Which bus is used for connecting DRAM to the memory controller in modern systems?
DDR bus (parallel, point-to-point)
click to copy
Register renaming eliminates which data hazard?
WAR and WAW hazards (false dependencies)
click to copy
Which instruction determines if two registers are equal (RISC-V)?
BEQ
click to copy

Computer Fundamentals → Software and Hardware 1

Which C/C++ keyword prevents compiler reordering of memory operations?
volatile
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