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

git clone does?
Creates local copy of a remote repository
click to copy
Which git command shows commit history?
git log
click to copy
git stash is used to?
Temporarily save uncommitted changes to work on something else
click to copy
What is a git branch?
An independent line of development that diverges from the main codebase
click to copy
git merge combines?
Changes from different branches into the current branch
click to copy
git rebase vs git merge?
Rebase rewrites history creating linear commits; merge preserves branch history with merge commit
click to copy
GitHub Actions is used for?
CI/CD automation — automated workflows triggered by repository events
click to copy
Which GitHub feature allows code review before merging?
Pull Request (PR) / Merge Request (MR)
click to copy
Agile Sprint is?
Fixed time iteration (1-4 weeks) for completing planned work items
click to copy
Scrum Master role is?
Facilitates Scrum process, removes impediments, serves the team
click to copy
User Story in Agile is?
Brief description of feature from end user perspective (As a... I want... So that...)
click to copy
Sprint Retrospective is?
Team meeting after sprint to discuss what went well, what to improve
click to copy
Kanban board visualizes?
Workflow with columns (To Do, In Progress, Done) for task management
click to copy
WIP limit in Kanban?
Restricts number of items in each workflow stage to prevent overload
click to copy
Technical debt in software refers to?
Cost of shortcuts and poor design choices that need future rework
click to copy
Code refactoring means?
Improving code structure without changing external behavior
click to copy
Pair programming involves?
Two developers working together at one workstation simultaneously
click to copy
Code review benefits include?
Catching bugs early, knowledge sharing, and improving code quality
click to copy
API versioning strategies include?
URL path (/v1/), header, and query parameter versioning
click to copy
Webhook vs polling: webhook?
Server pushes data to client URL when event occurs — more efficient
click to copy
Which HTTP status code indicates 'Created' (after POST)?
201
click to copy
HTTP 204 No Content means?
Request succeeded but there is no content to return in response body
click to copy
GraphQL advantages over REST?
Single endpoint, client specifies exact data needed — no over/under-fetching
click to copy
gRPC compared to REST?
Faster — uses HTTP/2 + Protocol Buffers binary serialization for efficiency
click to copy
Which tool generates API documentation automatically?
Swagger / OpenAPI specification
click to copy
Load testing verifies?
System behavior under high load (many concurrent users)
click to copy
Which tool is used for API load testing?
Apache JMeter / k6 / Gatling
click to copy
Selenium is used for?
Web browser automation and UI testing
click to copy
JUnit is a testing framework for?
Java — unit testing
click to copy
pytest is a testing framework for?
Python — simple, powerful unit and integration testing
click to copy
Code coverage 100% means?
Every line of code is executed at least once by the test suite
click to copy
SonarQube is used for?
Static code analysis and code quality management
click to copy
POP3 uses which port?
110
click to copy
IMAP uses which port?
143
click to copy
DKIM adds which security to emails?
Digital signature — verifies email wasn't modified and confirms sender domain
click to copy
Which OSI layer is responsible for end-to-end communication?
Layer 4 (Transport)
click to copy
Which OSI layer is responsible for routing between networks?
Layer 3 (Network — IP)
click to copy

Computer Fundamentals → Memory Units 1

Stress testing differs from load testing in?
Stress testing goes beyond peak load to find breaking point
click to copy

Computer Fundamentals → Internet Basics 2

Which protocol uses port 25 for email transmission?
SMTP
click to copy
Which DNS record prevents email spoofing by listing authorized mail servers?
SPF TXT record
click to copy