Question Bank For Tech Trivia
Question Bank For Tech Trivia
A) Alan Turing
B) Charles Babbage
D) Thomas Edison
B) To store data
Question 6: Which programming language is known for its use in developing iOS applications?
A) Java
B) C++
C) Swift
D) Python
Answer: C) Swift.
Question 7: What is the name of the world's first electronic digital computer?
A) UNIVAC
B) ENIAC
C) IBM 701
D) Altair 8800
Answer: B) ENIAC.
A) Internet Provider
B) Internet Port
C) Internet Protocol
D) Internal Protocol
A) Microsoft Word
B) Zoom
C) Excel
D) Adobe Photoshop
Answer: B) Zoom.
Question 13: What does the term "bandwidth" refer to in data communication?
Answer: A) The amount of data that can be transmitted in a fixed amount of time.
Question 14: Which protocol is commonly used to secure communication over a computer network?
A) FTP
B) TCP/IP
C) SSL/TLS
D) HTTP
Answer: C) SSL/TLS.
A) To amplify signals
B) To convert digital data to analog signals and vice versa
C) To increase bandwidth
A) Bluetooth
B) Wi-Fi
C) Ethernet
D) Fiber Optic
Answer: A) Bluetooth.
Question 18: What does "ISP" stand for in the context of internet connectivity?
A) Star
B) Circle
C) Square
D) Triangle
Answer: A) Star.
Question 20: In communication networks, what does "VPN" stand for?
B) The ability of different classes to be treated as instances of the same class through a common
interface
Answer: B) The ability of different classes to be treated as instances of the same class through a common
interface.
Answer: C) A class that cannot be instantiated and may contain abstract methods.
Question 25: What is the relationship between a base class and a derived class in OOP?
A) A derived class can inherit fields and methods from a base class
Answer: A) A derived class can inherit fields and methods from a base class.
Hard:
Question 26: What is multiple inheritance and why is it not supported in some OOP languages like Java?
A) The ability to inherit from multiple classes, and it is not supported due to complexity and amb
iguity issues
B) The ability to have multiple constructors, and it is not supported due to performance issues
C) The ability to override multiple methods, and it is not supported due to security issues
D) The ability to create multiple instances, and it is not supported due to memory issues
Answer: A) The ability to inherit from multiple classes, and it is not supported due to complexity and am
biguity issues.
Question 27: What does the term "method overloading" mean in OOP?
A) Defining multiple methods with the same name but different parameters in the same class
B) Defining multiple methods with the same name and parameters in different classes
C) Defining multiple methods that perform the same action in the same class
D) Defining a method that can only be called within its own class
Answer: A) Defining multiple methods with the same name but different parameters in the same class.
C) A function that is defined in a base class and can be overridden in a derived class
A) Derived classes must be able to replace their base classes without affecting the functionality o
f a program
B) Derived classes cannot replace their base classes under any circumstances
D) Derived classes must always add new methods to their base classes
Answer: A) Derived classes must be able to replace their base classes without affecting the functionality
of a program.
A) A reference type that can contain only abstract methods and properties
Answer: A) A reference type that can contain only abstract methods and properties.
Question 31: What is the primary advantage of a linked list over an array?
B) Faster sorting
Question 32: In a binary search tree, what is the time complexity of finding the minimum element?
A) O(1)
B) O(n)
C) O(log n)
Question 33: Which data structure uses the FIFO (First In, First Out) principle?
A) Stack
B) Queue
C) Linked List
D) Tree
Answer: B) Queue.
A) Sorting data
C) Implementing a stack
D) Traversing graphs
A) Implementing a queue
B) Reversing a string
C) Sorting elements
Hard:
Question 36: What is the maximum number of nodes in a binary tree of height h?
A) 2^h
B) 2^(h-1)
C) 2^(h+1) - 1
D) 2^h - 1
Answer: D) 2^h - 1.
B) To find the shortest path from a single source to all other nodes
Answer: B) To find the shortest path from a single source to all other nodes.
Question 38: Which data structure is best for implementing a priority queue?
A) Stack
B) Binary Heap
C) Linked List
D) Hash Table
Question 39: What is the time complexity of inserting an element in an AVL tree?
A) O(1)
B) O(n)
C) O(log n)
D) O(n log n)
Question 40: In which case would you use a B-tree over a binary search tree?
C) When working with a large amount of data that needs to be stored on disk
Answer: C) When working with a large amount of data that needs to be stored on disk.
A) To store data
D) To amplify signals
Question 42: What does the term "flip-flop" refer to in digital electronics?
A) A type of microprocessor
Question 43: In a digital circuit, what does the term "clock signal" refer to?
A) To encode data
B) To amplify signals
Hard:
D) To regulate voltage
Question 47: How many flip-flops are needed to design a mod-16 counter?
A) 2
B) 3
C) 4
D) 5
Answer: C) 4.
Question 48: What does a Karnaugh map help with in digital electronics?
A) Designing amplifiers
Answer: C) The delay between input and corresponding output in a digital circuit.
Question 50: What is a finite state machine (FSM) used for in digital design?
Question 51: What is the primary use of the git merge command in version control?
C) To delete a branch
Question 52: Which programming paradigm focuses on using functions and immutable data?
A) Object-Oriented Programming
B) Procedural Programming
C) Functional Programming
D) Logic Programming
A) An image
C) A heading
D) A paragraph
Question 54: Which of the following is a common design pattern for managing application state in React
?
A) Singleton
B) Factory
C) Redux
D) Observer
Answer: C) Redux.
Question 55: In Python, what is the output of the following code: print("Hello, World!"[7:])?
A) Hello
B) World!
C) Hello, World!
D) , World!
Answer: B) World!.
Hard:
Question 57: In C++, what is the difference between new and malloc()?
B) new cannot be used for dynamic memory allocation, while malloc() can
Question 58: In database management, what does the term "ACID" stand for?
Answer: B) A set of algorithms modeled after the human brain to recognize patterns.
Question 61: What does the term "overfitting" refer to in machine learning?
A) A model that performs well on training data but poorly on new data
Answer: A) A model that performs well on training data but poorly on new data.
Question 63: What does "NLP" stand for in the context of AI?
D) Node-Layered Programming
C) To optimize hyperparameters
B) IBM
C) Microsoft
D) Amazon
Answer: B) IBM.
A) To replace humans
C) To create machines that can perform tasks that typically require human intelligence
Answer: C) To create machines that can perform tasks that typically require human intelligence.
A) Data Entry
B) Manual Programming
C) Artificial Intelligence
D) Cloud Computing
A) Weather Forecasting
B) Recipe Books
C) Gardening
A) HTML
B) Python
C) CSS
D) SQL
Answer: B) Python.
A) The Internet
C) DNA sequencing
D) Solar systems
Question 73: What is the term for AI that can perform specific tasks but not all tasks that a human can d
o?
A) General AI
B) Super AI
C) Narrow AI
D) Universal AI
Question 74: What is the main advantage of using blockchain technology for transactions?
A) Speed
B) Centralization
Question 75: Which of the following technologies is essential for building smart cities?
A) Quantum Computing
C) Blockchain
D) Augmented Reality
A) Storage costs
B) Power consumption
C) Latency
D) Network traffic
Answer: C) Latency.
Question 77: Which company developed the quantum computer named "Sycamore"?
A) IBM
B) Microsoft
C) Google
D) Intel
Answer: C) Google.
Question 80: Which of the following best describes the concept of a "digital twin"?
Answer: A) A virtual replica of a physical entity used for simulation and analysis.
Question 81: In the context of AI ethics, what does the term "algorithmic bias" refer to?
Question 82: Which emerging technology is primarily being researched for its potential to revolutionize
healthcare diagnostics?
A) 3D Printing
B) Blockchain
C) Nanotechnology
D) Virtual Reality
Answer: C) Nanotechnology.
Question 83: What does "5G" technology promise to improve compared to its predecessor, 4G
significantly?
C) Image resolution
ANSWER B
ANSWER C
ANSWER D
87. Which of the following computer networks is built on the top of another network?
a) overlay network
b) prime network
c) prior network
d) chief network
ANSWER A
ANSWER C
89. When a collection of various computers appears as a single coherent system to its clients, what is this
called?
a) mail system
b) networking system
c) computer network
d) distributed system
ANSWER D
90. Which one of the following is not a function of network layer?
a) congestion control
b) error control
c) routing
d) inter-networking
ANSWE B
ANSWER A
ANSWER B
ANSWER C
ANSWER A
ANSWER D
96. Which of the following command is used to trigger the Amazon echo IOT device?
a) Hello
b) Suri
c) Alexa
d) Hey
ANSWER C
ANSWER D
ANSWER A
ANSWER A
100. Which of the following protocol is used to link all the devices in the IoT?
a) HTTP
b) UDP
c) Network
d) TCP/IP
ANSWER D
ANSWER C
102. Which programming language is used by Arduino IDE IoT software for writing codes?
a) Python
b) Java
c) C/C++
d) JavaScript
ANSWER C
a) High cost b) Limited functionality c) Security and privacy risks d) Large physical size
Answer: c) Security and privacy risks.
106. Which of the following is a common IoT communication protocol used for low-power, wide-
area networks?
a) Wi-Fi b) Ethernet c) LoRaWAN d) USB
Answer: c) LoRaWAN.
a) Computing done in central data centers b) Computing done at the edge of the network, nea
r the data source c) Computing done by mobile devices d) Computing done by cloud service
s
Answer: b) Computing done at the edge of the network, near the data source.
110. Which layer of the IoT architecture is responsible for processing data and making decisions?
a) To connect IoT devices to the internet b) To store large amounts of data c) To provide user in
terfaces for IoT devices d) To manufacture IoT devices
Answer: a) To connect IoT devices to the internet.
112. Which type of network is commonly used to connect IoT devices within close proximity?
a) MAN (Metropolitan Area Network) b) WAN (Wide Area Network) c) LAN (Local Area Networ
k) d) PAN (Personal Area Network)
Answer: d) PAN (Personal Area Network).
113. What is the role of an actuator in an IoT system?
a) To collect data b) To send data to the cloud c) To convert electrical signals into physical actio
n d) To display data to the user
Answer: c) To convert electrical signals into physical action.
114. What is the primary benefit of using IPv6 in IoT devices?
a) Faster internet speed b) More efficient data encryption c) Larger address space for unique d
evice identification d) Lower power consumption
Answer: c) Larger address space for unique device identification.
115. Which IoT platform is known for its cloud-based device management and analytics?
a) Microsoft Azure IoT b) IBM Watson IoT c) Amazon Web Services (AWS) IoT d) Google Cloud I
oT
Answer: c) Amazon Web Services (AWS) IoT.
116. What is the primary purpose of a "smart home" in IoT context?
a) To provide high-
speed internet access b) To automate and remotely control household devices and systems
c) To improve network security d) To enhance gaming experiences
Answer: b) To automate and remotely control household devices and systems.
117. Which communication technology is commonly used in IoT for long-range, low-
power communication?
a) Wi-Fi b) Zigbee c) NB-IoT (Narrowband IoT) d) RFID
Answer: c) NB-IoT (Narrowband IoT).
118. What is an IoT edge device?
a) A central server processing data from all devices b) A device that acts as a gateway between
sensors and the cloud c) A device that performs data processing at the source of data gener
ation d) A device used for network security
Answer: c) A device that performs data processing at the source of data generation.
119. Which IoT protocol is designed for machine-to-
machine (M2M) communication and is lightweight?
a) FTP b) SMTP c) COAP (Constrained Application Protocol) d) IMAP
Answer: c) COAP (Constrained Application Protocol).
120. What does "interoperability" mean in the context of IoT?
a) The ability to operate without an internet connection b) The ability to encrypt data effectivel
y c) The ability of different IoT systems and devices to work together d) The ability to operat
e in extreme temperatures
Answer: c) The ability of different IoT systems and devices to work together.
121. Which of the following is a common application of IoT in healthcare?
a) Virtual Reality b) Remote patient monitoring c) Cryptocurrency mining d) Social media mana
gement
Answer: b) Remote patient monitoring.
122. What is the primary function of a GPU in computer graphics?
a) To store data b) To run the operating system c) To accelerate the rendering of images and vi
deos d) To handle audio processing
Answer: c) To accelerate the rendering of images and videos.
123. Which algorithm is used to determine which parts of a 3D scene are visible from a certain vie
wpoint?
a) The process of generating textures b) The process of defining the starting and ending points
of any smooth transition c) The process of modeling 3D objects d) The process of rendering f
rames in real-time
Answer: b) The process of defining the starting and ending points of any smooth transition.
126. Which color model is primarily used in computer graphics to represent colors in images?
a) CMYK b) RGB c) HSL d) YUV
Answer: b) RGB (Red, Green, Blue) color model.
127. What does the term "rendering" mean in the context of computer graphics?
a) The process of modeling 3D objects b) The process of animating characters c) The process of
generating a photorealistic or non-
photorealistic image from a 2D or 3D model d) The process of editing videos
Answer: c) The process of generating a photorealistic or non-
photorealistic image from a 2D or 3D model.
128. What software is commonly used for 3D modeling and animation in the industry?
a) Raster graphics use paths; vector graphics use pixels b) Raster graphics are composed of pixe
ls; vector graphics use paths based on mathematical expressions c) Raster graphics are scala
ble without loss; vector graphics lose quality when scaled d) Raster graphics are always blac
k and white; vector graphics are always colored
Answer: b) Raster graphics are composed of pixels; vector graphics use paths based on math
ematical expressions.
130. In animation, what does the term "rigging" refer to?
a) The process of applying textures to 3D models b) The process of creating the skeletal structu
re for a 3D model so it can be animated c) The process of lighting a scene d) The process of r
endering final frames
Answer: b) The process of creating the skeletal structure for a 3D model so it can be animate
d.
131. Which data structure uses LIFO (Last In, First Out) order?
a) Queue b) Stack c) Linked List d) Tree
Answer: b) Stack.
132. What is the time complexity of binary search algorithm in a sorted array?
135. In a max-heap, what is the relation between the parent node and its children?
a) Parent node is always smaller than its children b) Parent node is always larger than its childr
en c) Parent node can be smaller or larger than its children d) Parent node is always equal to
its children
Answer: b) Parent node is always larger than its children.
136. Which algorithm is used for finding the shortest path in a graph?
137. Which of the following data structures is most efficient for priority queue implementation?
a) It should be fast to compute b) It should generate the same hash for different keys c) It shoul
d minimize collisions d) It should distribute hash values uniformly
Answer: b) It should generate the same hash for different keys.
140. Which data structure is used in the Breadth-First Search (BFS) algorithm?
143. Which traversal method is used to visit all nodes of a binary tree level by level?
145. Which data structure is best suited for implementing a LIFO collection of elements?
a) Queue b) Stack c) Binary Tree d) Graph
Answer: b) Stack.
146. What is the height of a balanced binary search tree with 'n' nodes?
147. What kind of data structure is a binary heap typically used for?
148. Which algorithm is used for sorting elements by repeatedly selecting the smallest (or largest) r
emaining element?
a) Quick Sort b) Merge Sort c) Selection Sort d) Bubble Sort
Answer: c) Selection Sort.
a) A path that visits all vertices b) A path that starts and ends at the same vertex without repea
ting any edge c) A tree with no vertices d) A disconnected graph
Answer: b) A path that starts and ends at the same vertex without repeating any edge.
151. Which algorithm is widely used for solving puzzles like the 8-puzzle or the 15-
puzzle?
a) Depth-First Search (DFS)
b) Breadth-First Search (BFS)
c) A* Search
d) Genetic Algorithm
Answer: c) A Search.*
154. Which of the following problems can be solved using the backtracking algorithm?
a) Sorting an array
b) Solving the N- queens problem
c) Finding the shortest path in a graph
d) Searching for an element in a sorted list
Answer: b) Solving the N-Queens problem.
157. In the context of AI, what does the term "constraint satisfaction problem" (CSP) r
efer to?
a) A problem that can only be solved by satisfying certain constraints or conditions b) A
problem that involves continuous data c) A problem that requires optimizing a single
variable d) A problem that is unsolvable by traditional methods
Answer: a) A problem that can only be solved by satisfying certain constraints or con
ditions.
159. Which algorithm is typically used to play the game of Go at a high level?
a) Minimax with alpha-beta pruning b) Monte Carlo Tree Search (MCTS) c) Breadth-
First Search (BFS) d) Genetic Algorithm
Answer: b) Monte Carlo Tree Search (MCTS).