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 38

H.264 vs H.265 (HEVC): H.265 provides?
~50% better compression at same quality — more CPU intensive to encode
click to copy
AV1 codec was developed by?
Alliance for Open Media (Google, Mozilla, Microsoft, Netflix, etc.) — royalty-free
click to copy
RTSP (Real Time Streaming Protocol) is used for?
Controlling media streaming sessions (play, pause, seek)
click to copy
HLS (HTTP Live Streaming) by Apple uses?
Chunked video segments over regular HTTP/CDN
click to copy
DASH (Dynamic Adaptive Streaming over HTTP) provides?
Adaptive bitrate streaming over HTTP — adjusts quality based on bandwidth
click to copy
P2P (Peer-to-Peer) network architecture?
Peers share resources directly without central server
click to copy
BitTorrent uses which technique for parallel downloading?
Swarming — downloading different pieces from multiple peers simultaneously
click to copy
DHT (Distributed Hash Table) in P2P provides?
Decentralized peer discovery without tracker server
click to copy
Chord DHT uses?
Consistent hashing with O(log N) lookup hops
click to copy
Kademlia DHT (used by BitTorrent) uses?
XOR distance metric for node/key distance measurement
click to copy
Content-addressable network (CAN) routes using?
Multi-dimensional coordinate space
click to copy
Which protocol enables multipath TCP?
MPTCP (Multipath TCP - RFC 8684)
click to copy
SCTP (Stream Control Transmission Protocol) advantages include?
Multi-homing, multi-streaming, and message-oriented transport
click to copy
Which protocol is used for network time synchronization in data centers?
PTP/IEEE 1588 (Precision Time Protocol)
click to copy
White-box networking uses?
Commodity hardware with disaggregated software (OS/apps from different vendors)
click to copy
Formal verification in software?
Mathematically proves software correctness against specification
click to copy
Model checking in formal verification?
Exhaustively explores state space to verify temporal logic properties
click to copy
Hoare triple {P} C {Q} means?
If precondition P holds before C executes, postcondition Q holds after
click to copy
Invariant in programming is?
A condition that remains true throughout program execution
click to copy
Loop invariant is used to prove?
Loop correctness — condition true before, during, and after each iteration
click to copy
Decidability in computation theory means?
There exists an algorithm that always terminates with correct yes/no answer
click to copy
The Halting Problem is?
Undecidable — no algorithm can determine if arbitrary program halts
click to copy
Church-Turing thesis states?
Any effectively computable function is computable by a Turing machine
click to copy
Lambda calculus was developed by?
Alonzo Church — foundation of functional programming
click to copy
Automata theory studies?
Abstract mathematical machines and their computational power
click to copy
Regular language is recognized by?
Finite automaton (DFA/NFA)
click to copy
Context-free language is recognized by?
Pushdown automaton (PDA)
click to copy
Which language is context-sensitive but not context-free?
a^n b^n c^n
click to copy
Pumping lemma is used to prove?
A language is NOT regular (or not context-free)
click to copy
Type 0 grammar in Chomsky hierarchy generates?
Recursively enumerable languages (most general)
click to copy
Turing complete means?
Can simulate any Turing machine — compute any computable function
click to copy
von Neumann architecture is Turing complete because?
It can simulate any Turing machine computation with sufficient memory
click to copy
Which programming language paradigm models programs as mathematical functions?
Functional (Haskell, Erlang, Clojure)
click to copy
Logic programming (Prolog) uses?
Facts, rules, and queries — computation as logical inference
click to copy
Reactive programming is based on?
Asynchronous data streams and propagation of change
click to copy
Actor model of concurrency uses?
Independent actors communicating via message passing (no shared state)
click to copy
CSP (Communicating Sequential Processes) by Tony Hoare?
Formal model of concurrent processes communicating via channels
click to copy
Goroutines in Go language are?
Lightweight user-space threads managed by Go runtime with channels for communication
click to copy

Computer Fundamentals → Memory Units 2

Chomsky hierarchy levels from most to least restricted?
Regular < Context-free < Context-sensitive < Recursively enumerable
click to copy
Coroutine differs from thread in?
Cooperative scheduling — yields control explicitly vs preemptive thread scheduling
click to copy