wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Data Structures and Algorithms - Quiz 1

Total questions: 13

Worksheet time: 7mins

Name
Class
Date
1.
Finite set of instructions that specify a sequence of operations to be carried out 
a)
Algorithms
b)
Procedure
c)
Flowcharting
d)
Pseudocodes
2.

Efficiency of an algorithm is measured by

a)

Time and Capacity complexity

b)

Time and Space complexity

c)

Speed and Space complexity

d)

Speed and Capacity complexity

3.

A container that can hold a fixed number of items and these items should be of the same type.

a)

Element

b)

Array

c)

Index

4.

What is an algorithm?

a)

Patterns and trends used to solve a problem

b)

A set of step-by-step instructions to resolve a problem

c)

A programming language

5.

How can an algorithm be represented?

a)

As a flowchart only

b)

As pseudocode only

c)

As a flowchart or pseudocode

6.

Which of these is not a data structure?

a)

Stack

b)

Array

c)

Integer

d)

List

7.
What is a data structure?
a)
A method of arranging data
b)
A way of keeping data without an order?
c)
A "stack" only
d)
There is no formal definition for "Data Structure"
8.

Data Structure is a particular way of storing and organizing data in a computer so that it can be used efficiently.

a)

True

b)

False

9.

Example of Non-linear data structure.

a)

array

b)

tree

c)

queue

d)

stack

10.

If the elements “A”, “B”, “C” and “D” are placed in a stack and are deleted one at a time, in what order will they be removed?

a)

ABCD

b)

DCBA

c)

DCAB

d)

ABDC

11.

Act of adding values into a stack is called

a)

Popping

b)

Polling

c)

Pushing

d)

None

12.
Which of the following is NOT a Type of Data Structures?
a)
Arrays
b)
Tables
c)
Stacks
d)
Trees
13.

Which of these data structures is LIFO?

a)

Stack

b)

Queue

c)

Binary Tree

d)

Double linked list