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 → Operating System Basics 1

Kernel trick in SVM allows?
Non-linear classification by mapping data to higher-dimensional space
click to copy

Computer Fundamentals → Introduction to Computer 37

Random forest is an ensemble of?
Decision trees trained on random subsets with feature randomness
click to copy
Boosting ensemble method?
Trains models sequentially, each correcting previous model's errors
click to copy
XGBoost is based on?
Gradient boosted decision trees with regularization
click to copy
PCA (Principal Component Analysis) is used for?
Dimensionality reduction by finding principal variance directions
click to copy
t-SNE is used for?
High-dimensional data visualization in 2D/3D
click to copy
DBSCAN clustering algorithm?
Discovers clusters of arbitrary shape based on density
click to copy
Hierarchical clustering produces?
Dendrogram — tree showing cluster merges at different distances
click to copy
Autoencoder is used for?
Unsupervised feature learning, dimensionality reduction, anomaly detection
click to copy
GAN (Generative Adversarial Network) consists of?
Generator (creates fake data) and Discriminator (detects fakes) competing
click to copy
ACID vs BASE in databases: BASE means?
Basically Available, Soft-state, Eventually consistent
click to copy
CROSS JOIN produces?
Cartesian product — all combinations of rows from both tables
click to copy
SELF JOIN joins a table?
To itself
click to copy
Which SQL command changes table structure?
ALTER TABLE
click to copy
Database view vs materialized view: materialized view?
Stores result physically — faster queries but needs periodic refresh
click to copy
OLAP vs OLTP: OLAP is used for?
Analytical queries on large datasets (data warehousing)
click to copy
Star schema in data warehouse has?
Central fact table surrounded by dimension tables
click to copy
ETL stands for?
Extract, Transform, Load
click to copy
Which database is used for time-series data?
InfluxDB/TimescaleDB
click to copy
Graph databases like Neo4j use which query language?
Cypher
click to copy
Elasticsearch is primarily used for?
Full-text search and log analytics
click to copy
TF-IDF measures?
Term relevance — frequency in document vs rarity across documents
click to copy
Which is NOT a valid SQL aggregate function?
FIRST()
click to copy
RANK() vs DENSE_RANK() in SQL: difference is?
RANK() skips numbers after ties; DENSE_RANK() doesn't skip
click to copy
Window functions in SQL operate on?
Set of rows related to current row without collapsing them
click to copy
CTE (Common Table Expression) in SQL is defined using?
WITH clause — named temporary result set
click to copy
Recursive CTE is used for?
Hierarchical data queries (org charts, trees)
click to copy
Execution plan in SQL databases shows?
How the query will be executed (indexes used, join methods, cost)
click to copy
Serverless computing pricing model?
Pay only for actual execution time and resources consumed
click to copy
AWS Lambda maximum execution timeout is?
15 minutes
click to copy
Cold start in serverless refers to?
Latency when a new container/instance initializes for first invocation
click to copy
Event-driven architecture responds to?
Events/triggers automatically — loose coupling between services
click to copy
Message queue vs event stream: event stream?
Retains events for replay by multiple consumers (Kafka)
click to copy
Dead Letter Queue (DLQ) stores?
Messages that failed to process after maximum retry attempts
click to copy
Content Delivery Network (CDN) edge nodes are placed?
Geographically distributed close to end users
click to copy
CDN reduces load on origin server by?
Serving cached content from edge nodes instead of origin
click to copy
Cache invalidation in CDN is triggered by?
Content publisher via API/TTL expiry
click to copy
Which AWS service is an object storage?
S3
click to copy

Computer Fundamentals → Memory Units 1

Which SQL join returns all from left table even with no right match?
LEFT JOIN
click to copy

Computer Fundamentals → Internet Basics 1

Inverted index is used by search engines to?
Map words to documents containing them (enables fast text search)
click to copy