WorksheetsACM Tech Quiz - 6th Jan'26
Total questions: 45
Worksheet time: 25mins
Which data structure follows FIFO Principle?
Time complexity of binary search is
Which is not an OOP principle?
Encapsulation
Compilation
Polymorphism
Inheritance
HTML is used for:
Styling
Logic
Structure
Database
Which is not an operating system?
Linux
Windows
Oracle
macOS
Which protocol is used to send email?
FTP
SMTP
HTTP
DNS
Which key uniquely identifies a record?
Foreign
Candidate
Primary
Composite
Which is not a sorting algorithm?
Merge
Quick
Heap
Hash
Git is used for:
Which layer does IP belong to?
Which symbol is used for pointers in C?
&
*
#
+
SQL command to remove a table:
CLEAR
REMOVE
DROP
ERASE
Which language is platform independent?
What is the full form of API?
Which traversal is used in BFS?
Stack
Queue
Recursion
Tree
Which is not a relational DB constraint?
NOT NULL
UNIQUE
DEFAULT
LOOP
What is HTTPS?
Faster HTTP
Encrypted HTTP
Compressed HTTP
Cached HTTP
Which is not a valid IP version?
IPv4
IPv6
IPv3
Which algorithm uses divide and conquer?
What does DNS do?
stores website content on servers.
manages email routing for domains.
encrypts internet traffic for security.
translates domain names into IP addresses.
Which are OOP languages?
C
Java
Python
C++
Which are cloud models?
IaaS
PaaS
Saas
NaaS
Which are graph traversal algorithms?
BFS
FCFS
DFS
Dijkstra
int x=3;
printf("%d", x++ + ++x);
What is the output of the following C++ code?
print(2 ** 3 ** 2)
What is the output of the following Python code?
512
64
256
for(int i=0; i<3; i++) printf("%d", i);
Output of the following C code is:
Which data structure for recursion?
stack
Which traversal prints root in between?
What is size of pointer in 64-bit?
Best case of quicksort is:
Which layer is responsible for end-to-end communication in the OSI model?
Which of the following are characteristics of a deadlock?
Mutual exclusion
Preemption
Circular wait
Hold and wait
Which are advantages of multithreading?
Improved responsiveness
Reduced context switching
Better CPU utilization
Easier debugging
Output of the code
int a = 3, b = 4;
cout << (a & b);
is
0
1
2
4
Output of the code
x = [1,2,3]
y = x
y.append(4)
print(x)
is
int arr[] = {10,20,30};
int *p = arr;
cout << *(p+1);
What does this code print?
Garbage value
void func(int n) {
for(int i=1; i<n; i*=2)
for(int j=0; j<n; j++)
cout << i << j;
}
What is the time complexity of this function?
Which normal form removes partial dependency?
What is the purpose of a page table?
Store instructions
Map virtual to physical memory
Handle interrupts
Manage cache
Which are valid states of a process?
New
Ready
Running
Suspended
Which SQL commands are DDL?
CREATE
INSERT
ALTER
DROP
What does this code print?
int a = 5;
cout << (a << 1);
12
8
int arr[3] = {1,2,3};
cout << arr[3];
What does this code print?
3
0
Garbage value
error
int *p;
cout << *p;
What does this code print?
0
Garbage value
Segmentation fault
Compilation error
Output of the following Python code
def f(x, y=2, z):
return x + y + z
print(f(1,3,4))
is
Error
