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 35

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
MAC address operates at which OSI layer?
Layer 2 (Data Link)
click to copy
Which device operates at all 7 OSI layers?
Firewall / Application gateway
click to copy
TLS operates between which layers?
L4 and L7 (between Transport and Application)
click to copy
Which of these is NOT a valid IP version?
IPv5
click to copy
Default gateway is?
Router IP that handles traffic destined outside the local network
click to copy
Which command tests network connectivity in Linux?
ping
click to copy
netstat -an command shows?
All active network connections and listening ports with numeric addresses
click to copy
ss command in Linux replaces?
netstat command for showing socket statistics
click to copy
Which command shows routing table in Linux?
route -n / ip route show
click to copy
iptables in Linux is used for?
Firewall rules for packet filtering and NAT
click to copy
nftables replaces which Linux tool?
iptables (newer, unified framework)
click to copy
tcpdump is used for?
Capturing and analyzing network packets at command line
click to copy
Which command shows disk usage in Linux?
df -h (disk free) and du -sh (disk usage)
click to copy
free -h in Linux shows?
Memory (RAM and swap) usage in human-readable format
click to copy
Which Linux command compresses files using gzip?
gzip file / tar -czf archive.tar.gz
click to copy
crontab -e opens?
User's cron job editor for scheduling recurring tasks
click to copy
Which Linux command changes file ownership?
chown user:group file
click to copy
Which shortcut in Linux terminal clears the screen?
Ctrl+L (or 'clear' command)
click to copy
How many Kilobytes in a Megabyte?
1024
click to copy
How many bits in a byte?
8
click to copy
The term 'bug' in computing refers to?
Error or flaw in software/hardware causing malfunction
click to copy
Debugging is the process of?
Finding and fixing errors in computer programs
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

Computer Fundamentals → Number System 2

1 Nibble equals how many bits?
4
click to copy
How many bytes in a Kilobyte (binary)?
1024
click to copy