wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Reckon your Techie Skills-Day3 (DATASTRUCTURES)

Total questions: 25

Worksheet time: 9mins

Name
Class
Date
1.

1.       Which of the following is true about the characteristics of abstract data types?

(i)  It exports a type

(ii) It exports a set of operations.

a)

True,False

b)

False,True

c)

False,False

d)

True,True

2.

2.Inserting an element to the Stack when not Full is _________ operations and Deleting an element from the Stack when not Empty is called ______ operation.

a)

Insert, Delete

b)

Push,Pop

c)

Pop,Push

d)

Add,Remove

3.

3.__________ is a pile in which items are added at one end and removed at other end.

a)

Stack

b)

Array

c)

List

d)

Queue

4.

4.Which of the Data structure cannot store non-homogeneous elements?

a)

Pointers

b)

Structure

c)

Array

d)

List

5.

5.which of the following is a Non-Linear Data Structure?

a)

Stack

b)

Queue

c)

Trees

d)

Arrays

6.

6.LIFO stands for

(a)  

7.

7.Identify the data structure that allows deletion at both ends of the list but insertion only at one end?

a)

Output restricted enqueue

b)

Input restricted dequeue

c)

Stack

d)

Priority Queue

8.

8. Which among the following is a Linear data structure?

a)

Trees

b)

Graphs

c)

Stack

d)

AVL trees

9.

9. The number of comparisons done by a Sequential search is ______

a)

(n/2)+1

b)

(n+1)/2

c)

(n-1)/2

d)

(n+2)/2

10.

10. __________ is a search that starts at the beginning of the list and checks for every element in the list.

a)

Binary search

b)

Hash search

c)

Linear/Sequential search

d)

Binary Tree search

11.

11.Give the postfix conversion of (a+b)*(c+d) (a)  

12.

12. Which of the following is not an Internal Sort?

a)

Heap sort

b)

Bubble sort

c)

Insertion sort

d)

Merge Sort

13.

13. convert the infix expression to postfix expression : (a+(b*c)/(d-e)) as (a)  

14.

14. In a queue the initial values of front and rear pointer are given as ____

a)

0 and 1

b)

0 and -1

c)

-1 and 0

d)

1 and 0

15.

15. In a circular queue the value of r is given by __________

a)

r=r+1

b)

r=(r+1)% queu_size

c)

r=(r-1)% queu_size

d)

r=(r+1)%(que_size - 1)

16.

16. ________ is not an operation that can be performed on queue.

a)

Insertion

b)

Deletion

c)

Traversal

d)

Retrieval

17.

17. The extra element at the head of the list is called as ________

a)

List header

b)

Antinel

c)

Sentinel

d)

List Head

18.

18.Pick out the applications of stack.

a)

Function calls

b)

Arthimetric expressions

c)

Towers of Hanoi

d)

All the above

19.

19. Name the type of linked list shown in the figure.

a)

Singly Linked list

b)

Doubly Linked list

c)

Circular Singly Linked list

d)

Circular Doubly Linked list

20.

20. Which among the following data structures uses indexed values?

a)

Linked List

b)

Stack

c)

Linear arrays

d)

Queue

21.

21. From the given figure identify the Sorting algorithm?

(a)  

22.

22.A data structure where new elements can be added or removed from either ends but not in the middle is __________

a)

Stack

b)

Queue

c)

List

d)

Dequeue

23.

23. When does top value of stack changes?

a)

Before deletion

b)

After deletion

c)

At the time of deletion

d)

While checking underflow

24.

24. Queue is follows (a)   order

25.

25. No of pointers defined for Singly, Doubly linked list are __________

a)

1,2

b)

2,2

c)

2,3

d)

2,1