wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Talent Box Quiz

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

Which data structure follows LIFO?

a)

Queue

b)

Stack

c)

Array

d)

Tree

2.

What is the time complexity of linear search?

a)

O(log n)

b)

O(n)

c)

O(1)

d)

O(n²)

3.

Which SQL command is used to retrieve data?

a)

Insert

b)

Update

c)

Select

d)

Delete

4.

Which keyword is used to create an object in Java?

a)

class

b)

create

c)

new

d)

object

5.

What is the full form of DBMS?

a)

Data Backup Management System

b)

Database Management System

c)

Data Base Modeling System

d)

Data Binary Management System

6.

Which of the following is a primary key property?

a)

Can have duplicate values

b)

Can be NULL

c)

Uniquely identifies a record

d)

Can store text only

7.

Which operator is used for comparison in programming?

a)

=

b)

==

c)

+

d)

*

8.

Which loop executes at least once?

a)

for

b)

while

c)

do-while

d)

foreach

9.

Which of the following is NOT an OOP concept?

a)

Encapsulation

b)

Polymorphism

c)

Inheritance

d)

Compilation

10.

Which HTTP method is used to get data?

a)

POST

b)

PUT

c)

GET

d)

DELETE

11.

Which sorting algorithm is easiest to understand?

a)

Merge Sort

b)

Quick Sort

c)

Bubble Sort

d)

Heap Sort

12.

What does OS do?

a)

Write code

b)

Manage hardware and software

c)

Store database

d)

Design UI

13.

Which collection allows duplicate elements in Java?

a)

Set

b)

Map

c)

List

d)

HashSet

14.

Which SQL constraint ensures no duplicate values?

a)

NOT NULL

b)

UNIQUE

c)

DEFAULT

d)

CHECK

15.

What is the default port number of HTTP?

a)

21

b)

80

c)

654

d)

765

16.

Which of the following is a front-end language?

a)

Java

b)

Python

c)

Html

d)

MySql

17.

What is a constructor used for?

a)

Destroy object

b)

Initialize object

c)

Run loop

d)

Compile code

18.

Which symbol is used to end a statement in Java?

a)

:

b)

.

c)

;

d)

,

19.

Which SQL command removes a table completely?

a)

DELETE

b)

REMOVE

c)

DROP

d)

TRUNCATE

20.

Which keyword is used to inherit a class in Java?

a)

implements

b)

extends

c)

super

d)

this