Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

DSA_CSE_2nd_year_Sec B_2026

Total questions: 10

Worksheet time: 8mins

Name
Class
Date
1.

Which of the following is NOT a typical characteristic of an algorithm?

a)

Finiteness

b)

Definiteness

c)

Input

d)

Ambiguity

2.

The main advantage of an array is:

a)

Dynamic size

b)

Fast random access

c)

No memory requirement

d)

Easy insertion at any position

3.

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

a)

O(n)

b)

O(log n)

c)

O(1)

d)

O(n²)

4.

What is a major advantage of a linked list over an array?

a)

Faster random access

b)

Contiguous memory allocation

c)

Dynamic size

d)

Constant-time access by index

5.

Which operation on an array typically takes O(1) time?

a)

Inserting at the beginning

b)

Searching an unsorted element

c)

Accessing an element by index

d)

Deleting an arbitrary element

6.

Which complexity generally represents the fastest growth?

a)

O(log n)

b)

O(n)

c)

O(n log n)

d)

O(n²)

7.

Which of the following is most important when selecting a data structure for a problem?

a)

Color of the programming interface

b)

Required operations and efficiency

c)

Programming language name

d)

Number of comments in the program

8.

Which of the following correctly represents increasing growth rate?

a)

n² < n < log n

b)

n < log n < 1

c)

1 < log n < n < n²

d)

log n < 1 < n² < n

9.

An array begins at address 4000, with each element occupying 8 bytes. What is the address of A[3]?

a)

4016

b)

4024

c)

4032

d)

4008

10.

If T(n) = 3n² + 10n + 50, then its asymptotic complexity is:

a)

Θ(n)

b)

Θ(10n)

c)

Θ(n²)

d)

Θ(3n² + 10n + 50)