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 39

Which Linux command changes directory?
cd
click to copy
chmod in Linux is used to?
Change file permissions
click to copy
grep command in Linux?
Search text patterns in files
click to copy
sudo in Linux means?
Super user do
click to copy
Which Linux command shows disk usage?
df -h (disk free) and du -sh
click to copy
ping command tests?
Network connectivity and latency
click to copy
Which command installs packages in Ubuntu?
apt install
click to copy
Process 1 (PID 1) in Linux is?
init/systemd
click to copy
Which Linux command shows running processes?
ps
click to copy
SIGKILL signal in Linux?
Forcefully terminates process — cannot be caught or ignored
click to copy
Linux root user has UID?
0
click to copy
Encrypted passwords in Linux are stored in?
/etc/shadow
click to copy
Which is the correct SQL to select all columns?
SELECT *
click to copy
SQL LIKE wildcard for multiple characters is?
%
click to copy
PRIMARY KEY constraint?
Uniquely identifies each record, cannot be null
click to copy
FOREIGN KEY creates relationship between?
Two different tables
click to copy
Which SQL command modifies existing records?
UPDATE
click to copy
Index in database improves?
Data retrieval speed
click to copy
Normalization in databases aims to?
Reduce data redundancy and improve integrity
click to copy
Which JOIN returns only matching rows?
INNER JOIN
click to copy
LEFT JOIN returns?
All rows from left table plus matching from right (NULL where no match)
click to copy
SQL stored procedure advantages include?
Pre-compiled execution, reduced network traffic, code reuse
click to copy
SQL VIEW is?
Virtual table based on a query
click to copy
ACID property Atomicity means?
All operations in a transaction succeed or none do
click to copy
Which is NOT a valid SQL aggregate function?
FIRST()
click to copy
1's complement of binary 1010 is?
0101
click to copy
Binary 10000 equals decimal?
16
click to copy
Decimal 128 in binary is?
10000000
click to copy
Parity check detects how many bit errors?
Single bit errors only
click to copy
ASCII code of uppercase A is?
65
click to copy
ASCII code of lowercase a is?
97
click to copy
ASCII code 32 represents?
Space character
click to copy
UTF-8 uses how many bytes for ASCII characters?
1
click to copy
IEEE 754 single precision uses how many bits?
32
click to copy
Boolean AND of 1 AND 0?
0
click to copy
Boolean NOR of 0 NOR 0?
1
click to copy
Sum of Products (SOP) form is?
OR of AND terms
click to copy
Karnaugh Map is used for?
Simplifying Boolean expressions by grouping adjacent minterms
click to copy
Half adder outputs are?
Sum (A XOR B) and Carry (A AND B)
click to copy

Computer Fundamentals → Number System 1

Hexadecimal FF in decimal is?
255
click to copy