NEW
Font size
WorksheetsELOQUENCE'25 TECH QUIZ 1L1
Total questions: 20
Worksheet time: 15mins
Which data structure follows the LIFO (Last In First Out) principle?
Queue
Stack
Array
Tree
What is the index of the first element in an array (in most languages)?
1
0
-1
Null
Which SQL command is used to retrieve data from a database?
GET
EXTRACT
SELECT
PULL
In Networking, what does IP stand for?
Internet Program
Internet Protocol
Internal Protocol
Intranet Protocol
Which loop is guaranteed to execute at least once?
For loop
While loop
Do-While loop
None
What is the time complexity to access an element in an array by index?
O(n)
O(1)
O(log n)
O(n^2)
Which concept in OOP involves hiding the internal details and showing only functionality?
Polymorphism
Inheritance
Abstraction
Encapsulation
What is a Primary Key in a database?
A key that allows null values
A key that uniquely identifies a record
A key that links two tables
A key used for encryption
Which logic gate returns TRUE only if both inputs are TRUE?
OR
NOT
AND
XOR
What is the purpose of the 'else' block in programming?
To repeat code
To execute code if the 'if' condition is false
To define a function
To stop the program
What is the average time complexity of Quick Sort?
O(n)
O(n^2)
O(n log n)
O(log n)
In Database Normalization, which form removes transitive dependencies?
1NF
2NF
3NF
BCNF
What is a 'Deadlock'?
System shutdown
Two processes waiting for each other indefinitely
Memory leak
High CPU usage
Which HTTP method is used to update an existing resource?
GET
POST
PUT
DELETE
What is 'Overfitting' in Machine Learning?
Model performs well on training data but poor on new data
Model performs poor on both
Model is too simple
Model takes too long to train
Which of these is a non-linear data structure?
Stack
Queue
Linked List
Graph
What does ACID stand for in DBMS?
Atomicity, Consistency, Isolation, Durability
Accuracy, Consistency, Integrity, Durability
Auto, Correct, Intact, Direct
Atomicity, Concurrency, Isolation, Data
Which protocol is connection-oriented and reliable?
UDP
IP
TCP
ICMP
In Python, what is a 'tuple'?
A mutable list
An immutable list
A dictionary
A set
What is the purpose of a 'Constructor'?
To delete an object
To initialize an object
To copy an object
To return a value
