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

C language was developed by?
Dennis Ritchie
click to copy
Which language has the principle 'write once, run anywhere'?
Java
click to copy
SQL stands for?
Structured Query Language
click to copy
Which of the following is a DBMS?
MySQL
click to copy
DDR stands for in DDR RAM?
Double Data Rate
click to copy
Which of the following is a high-level programming language?
Python
click to copy
An algorithm must be?
Finite, definite, and effective
click to copy
What is the time complexity of binary search?
O(log n)
click to copy
Which sorting algorithm has worst-case O(n log n)?
Merge sort
click to copy
Stack data structure follows?
LIFO
click to copy
Queue data structure follows?
FIFO
click to copy
A linked list node contains?
Data and pointer to next node
click to copy
Binary tree node has maximum?
2 children
click to copy
In a full binary tree, every node has?
0 or 2 children
click to copy
Recursion is?
Function calling itself
click to copy
Which of the following is NOT an OOP concept?
Normalization
click to copy
Encapsulation in OOP means?
Hiding implementation details inside objects
click to copy
Inheritance in OOP allows?
One class to derive properties from another
click to copy
Polymorphism means?
Many forms — same interface, different implementations
click to copy
Which is an object-oriented programming language?
Java
click to copy
A database index improves?
Data retrieval speed
click to copy
Primary key in a database must be?
Unique and not null
click to copy
Foreign key creates a relationship between?
Two different tables
click to copy
Normalization in databases aims to?
Reduce data redundancy and improve integrity
click to copy
Which SQL command retrieves data?
SELECT
click to copy
Which SQL command adds new records?
INSERT INTO
click to copy
Which SQL command modifies existing records?
UPDATE
click to copy
Which SQL command removes records?
All of these remove records
click to copy
What does JOIN do in SQL?
Combines rows from two or more tables
click to copy
An API stands for?
Application Programming Interface
click to copy
REST API uses which protocol?
HTTP/HTTPS
click to copy
JSON stands for?
JavaScript Object Notation
click to copy
XML stands for?
Extensible Markup Language
click to copy
Which of the following is NOT a programming paradigm?
Encryption
click to copy
The full form of CPU is?
Central Processing Unit
click to copy
Which key combination is used to select all in Windows?
Ctrl+A
click to copy
Which component converts DC power to AC for use in a computer?
UPS
click to copy
A modem's speed is measured in?
bps
click to copy

Computer Fundamentals → Memory Units 2

RAM speed is measured in?
MHz
click to copy
Which JOIN returns all records from both tables?
FULL OUTER JOIN
click to copy