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 36

YouTube is owned by?
Google (Alphabet)
click to copy
WhatsApp is owned by?
Meta (Facebook)
click to copy
Logic error in programming is?
Program compiles but gives wrong results due to incorrect algorithm
click to copy
Algorithm must have?
Finite, unambiguous steps with definite input/output and effectiveness
click to copy
Flowchart uses which shape for decision?
Diamond
click to copy
Which flowchart shape represents start/end?
Oval/Rounded rectangle
click to copy
Which data structure is used for function call stack?
Stack (LIFO)
click to copy
Binary search requires input data to be?
Sorted (ascending or descending)
click to copy
What is the time complexity of binary search?
O(log n)
click to copy
Recursion is?
Function that calls itself with smaller input toward base case
click to copy
Stack overflow error in recursion occurs when?
Too many recursive calls exhaust the call stack
click to copy
Object in OOP is?
An instance of a class with specific attribute values
click to copy
Which OOP concept allows same method to work differently based on object type?
Polymorphism
click to copy
Which Java collection preserves insertion order?
ArrayList and LinkedList
click to copy
HashMap in Java provides?
Unsorted key-value pairs with O(1) average get/put
click to copy
Which exception handling block always executes?
finally
click to copy
Java 8 introduced?
Lambda expressions, Stream API, Optional
click to copy
Singleton pattern ensures?
Only one instance of a class exists throughout the application
click to copy
SSH uses which port?
22
click to copy
DNS uses which port?
53
click to copy
DHCP uses which ports?
67 and 68
click to copy
HTTP default port is?
80
click to copy
HTTPS uses which port?
443
click to copy
FTP uses which ports?
20 and 21
click to copy
SMTP uses which port?
25
click to copy
Which protocol provides time synchronization?
NTP (Network Time Protocol)
click to copy
LinkedIn is owned by?
Microsoft
click to copy
Which is NOT a programming language?
HTML
click to copy
Assembler converts?
Assembly language to machine code (object code)
click to copy
Linker combines?
Object files and libraries into a single executable
click to copy
Which flowchart shape represents input/output?
Parallelogram
click to copy
Which data structure is used for breadth-first search?
Queue (FIFO)
click to copy
Which searching algorithm works on unsorted data?
Linear (sequential) search
click to copy
Abstraction in OOP means?
Hiding implementation details, exposing only essential interfaces
click to copy
Constructor in OOP is called?
Automatically when a new object is created
click to copy
Static method in OOP belongs to?
The class itself — called without creating an object
click to copy

Computer Fundamentals → Software and Hardware 2

Compiler translates?
Entire program at once to machine code before execution
click to copy
Interpreter translates?
Line by line during execution
click to copy

Computer Fundamentals → Internet Basics 2

Which protocol enables email clients to download messages?
POP3 and IMAP
click to copy
Which is the most popular search engine globally?
Google
click to copy