Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Data Structure & Algorithm

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

This characteristic describes whether the data items are arranged in chronological sequence, such as with an array, or in an unordered sequence, such as with a graph.

a)

Static or dynamic

b)

Linear or non-linear

c)

Homogeneous or non-homogeneous

2.

It is a method of solving problems that involves breaking a problem down into smaller and smaller sub problems until you get to a small enough problem that it can be solved trivially.

a)

Recursion

b)

Iteration

c)

Looping

3.

In this type of search, a sequential search is made over all items one by one.

a)

Search

b)

Binary Search

c)

Linear Search

4.

Which of the following are sorting algorithms?

a)

Bubble

b)

Merge

c)

Linear

d)

Insertion

5.

Which of the following are not a criteria for ADT specification?

a)

Definitions

b)

Formal

c)

Axioms

d)

Extensible

6.

Which of the following is a characteristic of an algorithm?

a)

Finiteness

b)

Ambiguous

c)

Dependent

d)

Impossible

7.

It is used to implement an associative array, a structure that can map keys to values.

a)

linked list

b)

hashing

c)

trees

d)

array

8.

It is a linear data structure that stores a collection of elements. Operates on first in first out (FIFO) algorithm.

a)

stack

b)

data structure

c)

queue

d)

array

9.

Which Time and Space Complexity uses the O(n2) notation?

a)

Quadratic

b)

Linear

c)

Exponential

d)

Logarithmic

10.

push() and pop() functions are found in..

a)

stacks

b)

trees

c)

queues

d)

lists