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

CI in CI/CD stands for?
Continuous Integration — merging code frequently with automated testing
click to copy
CD in CI/CD can mean?
Continuous Delivery or Continuous Deployment
click to copy
Jenkins is used for?
CI/CD automation (build, test, deploy pipelines)
click to copy
Infrastructure as Code (IaC) tools include?
Terraform, Ansible, CloudFormation
click to copy
Immutable infrastructure means?
Servers are never modified after deployment — replaced instead of patched
click to copy
Blue-green deployment strategy uses?
Two production environments alternating traffic for zero-downtime deploys
click to copy
Canary deployment releases new version to?
Small subset of users first before full rollout
click to copy
Feature flags/toggles allow?
Enabling/disabling features at runtime without deploying new code
click to copy
A/B testing in software means?
Testing two versions of a feature with different user groups
click to copy
Which design pattern defines object creation interface but lets subclasses decide which class to instantiate?
Factory Method
click to copy
Observer design pattern is used for?
Event handling and notification (publish-subscribe)
click to copy
SOLID principles 'S' stands for?
Single Responsibility Principle
click to copy
SOLID 'O' stands for?
Open/Closed Principle
click to copy
SOLID 'L' (Liskov Substitution Principle) states?
Objects of derived class must be substitutable for base class objects
click to copy
SOLID 'I' (Interface Segregation) states?
Clients should not depend on interfaces they don't use
click to copy
SOLID 'D' (Dependency Inversion) states?
High-level modules should not depend on low-level modules — both depend on abstractions
click to copy
DRY principle in software means?
Don't Repeat Yourself — avoid code duplication
click to copy
KISS principle means?
Keep It Simple, Stupid — avoid unnecessary complexity
click to copy
YAGNI principle means?
You Aren't Gonna Need It — don't add functionality until needed
click to copy
Which software testing is done without knowledge of source code?
Black box testing
click to copy
White box testing requires?
Knowledge of internal code structure and logic
click to copy
TDD (Test-Driven Development) workflow is?
Write failing test, write code to pass, refactor
click to copy
BDD (Behavior-Driven Development) uses?
Human-readable specifications (Given-When-Then)
click to copy
Static code analysis is performed?
Without executing code — analyzes source code directly
click to copy
Code coverage measures?
Percentage of code executed during testing
click to copy
Mocking in unit testing?
Creates fake objects simulating real dependencies
click to copy
Continuous Monitoring in DevOps tracks?
Application performance, errors, and infrastructure health
click to copy
APM (Application Performance Monitoring) tools include?
Datadog, New Relic, Dynatrace
click to copy
ELK Stack stands for?
Elasticsearch, Logstash, Kibana — for log management
click to copy
Prometheus is used for?
Metrics collection and alerting
click to copy
Grafana is used to?
Visualize metrics data from Prometheus and other sources
click to copy
Chaos engineering intentionally?
Introduces failures to test system resilience
click to copy
Service Level Objective (SLO) is?
Internal target for service reliability (e.g., 99.9% uptime)
click to copy
Error budget in SRE (Site Reliability Engineering) is?
Allowable unreliability (100% - SLO)
click to copy
Which programming paradigm treats computation as evaluation of mathematical functions?
Functional programming
click to copy
In floating point, NaN (Not a Number) represents?
Invalid/undefined result (e.g., 0/0, sqrt(-1))
click to copy
IEEE 754 positive infinity is represented by?
All exponent bits 1, mantissa all 0, sign 0
click to copy
Denormalized (subnormal) numbers in IEEE 754 handle?
Numbers too small for normal representation (near zero)
click to copy

Computer Fundamentals → Memory Units 1

GitLab CI/CD differs from Jenkins in?
Built-in CI/CD within GitLab platform (no separate server needed)
click to copy

Computer Fundamentals → Number System 1

Which number system is used internally by IPv4 routing tables?
Binary
click to copy