wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Round2TechQuiz

Total questions: 30

Worksheet time: 31mins

Name
Class
Date
1.

Find the next number in the series:
5, 11, 23, 47, 95, ___

a)

155

b)

191

c)

190

d)

185

2.

A person buys an article for Rs. 1500 and sells it at a profit of 20%.

What is the selling price of the article?

a)

Rs. 1800

b)

Rs. 1600

c)

Rs. 1750

d)

Rs. 2000

3.

A train travels 120 km at a speed of 60 km/h.

How long will it take to cover the same distance at 90 km/h?

a)

1 hour

b)

1.5 hours

c)

2 hours

d)

2.5 hours

4.

In a group of 100 people, 80 like football, 70 like cricket, and 60 like both.

How many people like only one of the two sports?

a)

30

b)

50

c)

60

d)

40

5.

A team of 4 workers can complete a task in 6 days.

How many days will it take for 6 workers to complete the same task?

a)

3 days

b)

5 days

c)

6 days

d)

4 days

6.

Which of the following is true about a pointer in C?

a)

A pointer stores the address of a variable

b)

A pointer can hold only one type of data

c)

A pointer stores a value of a variable

d)

A pointer cannot be dereferenced

7.

What is the output of the following C program?

a)

10

b)

Address of x

c)

0

d)

Compiler error

8.

What is the default value of a variable that is declared as static in C?

a)

0

b)

Undefined

c)

Depends on the type of variable

d)

1

9.

What will be the output of the following C program?

a)

15

b)

16

c)

14

d)

17

10.

Which of the following statements is true about the malloc function in C?

a)

It initializes the allocated memory to zero.

b)

It allocates memory in the heap but does not initialize it.

c)

It frees the allocated memory.

d)

It allocates memory on the stack.

11.

What will be the output of the following code?

a)

9

b)

14

c)

Error

d)

Undefined behavior

12.

What will be the output of the following code?

a)

[1, 2, 3]

b)

[5, 2, 3]

c)

[1, 5, 3]

d)

Error

13.

Which of the following is true about Python's memory management?

a)

Python uses garbage collection to reclaim unused memory.

b)

Variables in Python are statically typed.

c)

The del keyword completely deletes an object from memory.

d)

Python does not support dynamic memory allocation.

14.

What will be the output of this code?

a)

15, 20

b)

15, 25

c)

15, 30

d)

Error

15.

Which of the following Python interpreters is the default and most widely used?

a)

Jython

b)

PyPy

c)

CPython

d)

IronPython

16.

What is the space complexity of the merge sort algorithm?

a)

O(1)

b)

O(log n)

c)

O(n)

d)

O(n log n)

17.

Consider a min-heap with elements {10, 20, 30, 40, 50, 60}.

If you delete the root, which of the following represents the resulting heap?

a)

{20, 40, 30, 50, 60}

b)

{20, 30, 60, 40, 50}

c)

{20, 30, 40, 50, 60}

d)

{30, 20, 40, 50, 60}

18.

What is the primary advantage of a linked list over an array?

a)

Faster access to elements.

b)

Fixed size for memory allocation.

c)

Dynamic memory allocation and ease of insertion/deletion.

d)

Requires less memory than an array.

19.

What is the time complexity of accessing an element in an array by its index?

a)

O(n)

b)

O(1)

c)

O(logn)

d)

O(n2)

20.

Which of the following is a characteristic of a stack?

a)

FIFO (First In, First Out)

b)

LIFO (Last In, First Out)

c)

Random access

d)

Indexed access

21.

Which sorting algorithm is best suited for small datasets or nearly sorted arrays?

a)

Merge sort

b)

Quick sort

c)

Insertion sort

d)

Heap sort

22.

In the quick sort algorithm, what is the role of the pivot element?

a)

It is the element that divides the array into equal parts.

b)

It is used to arrange the array in ascending order.

c)

It is selected randomly to improve the algorithm’s performance.

d)

It helps partition the array such that all elements smaller than it are on the left and greater elements are on the right.

23.

Which of the following is true for a linear search algorithm?

a)

It requires the list to be sorted.

b)

It has a time complexity of O(log⁡n)

c)

It searches for an element by checking each item one by one.

d)

It is faster than binary search on large datasets.

24.

You need to search for an element in an unsorted array.

What is the most efficient way to search?

a)

Binary search

b)

Linear search

c)

Quick sort

d)

Heap sort

25.

You need to sort an array of integers with a known range (e.g., from 0 to 100).

Which algorithm would be most efficient?

a)

Merge sort

b)

Counting sort

c)

Heap sort

d)

Quick sort

26.

What does cloud computing refer to?

a)

Using local storage to store data

b)

Using remote servers to store and manage data

c)

Running applications on a personal computer

d)

Managing databases on a local server

27.

What is the primary function of a search engine like Google?

a)

To store websites

b)

To index websites and provide relevant search results

c)

To design websites

d)

To run server-side scripts

28.

Which of the following is an example of artificial intelligence (AI) technology

a)

Data mining

b)

Self-driving cars

c)

Virtual private networks (VPN)

d)

Word processors

29.

Which of the following technologies is used for mobile app development?

a)

Swift (for iOS)

b)

Kotlin (for Android)

c)

React Native (cross-platform)

d)

All of the above

30.

Which of the following is a programming paradigm focused on using functions and immutability?

a)

Object-oriented programming

b)

Functional programming

c)

Procedural programming

d)

Declarative programming