wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Data Structures- Introduction

Total questions: 20

Worksheet time: 11mins

Name
Class
Date
1.

Process of inserting an element in stack is called ____________

a)

Create

b)

Push

c)

Evaluation

d)

Pop

2.

If the insertion and deletion happens from both the ends then the queue is called a______Queue

a)

a) Deque

b)

b) Header

c)

c) Queue

d)

d) Circular Queue

3.

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

a)

a) ABCD

b)

b) DCBA

c)

c) DCAB

d)

d) ABDC

4.

___________ is neither an algorithm nor a program.

a)

a.Computing

b)

b.Pseudo code

c)

c.Computer science

d)

d.None of the above

5.

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

6.

In this type of data structures, data values of different types are grouped, as in structures and classes. Refer to ...

a)

Homogenous

b)

Non-homogenous

7.

A container which can hold a fix number of items and these items should be of the same type. Most of the data structures make use of arrays to implement their algorithms.

a)

Element

b)

Array

c)

Index

8.

Example of linear data structure except

a)

array

b)

tree

c)

queue

d)

stack

9.
_________________ is a collection of elements used to store the same type of data.
a)
Array
b)
Switch
c)
Case
d)
Loop
10.

Which of these data structures is LIFO?

a)

Stack

b)

Queue

c)

Binary Tree

d)

Double linked list

11.
Which of the following is NOT a Type of Data Structures?
a)
Arrays
b)
Tables
c)
Stacks
d)
Trees
12.
Storage for data defined in terms of set of operations to be performed on the data 
a)
Arrays
b)
Variables
c)
Abstract Data Types
d)
Algorithms
13.

It use pointer to link nodes.

a)

Variable

b)

Link List

c)

Pointer

d)

Trees

14.
What kind of Data structure would you expect to find utilised to store operations in a CPU?
a)
Stack
b)
Queue
c)
List
d)
Tree
15.

Act of adding values into a stack is called

a)

Popping

b)

Polling

c)

Pushing

d)

None

16.

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

17.

A series of values stored in memory is called ___

a)

an array

b)

a tree

c)

a matrix

d)

a struct

18.

Almost all programming languages start arrays at ___

a)

index 0

b)

index 1

c)

index 2

d)

the null character

19.

Complex data structures built on top of linked lists, that use First-In First-Out behaviour, are called ___

a)

vectors

b)

strings

c)

queues

d)

stacks

20.

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"