Abstract Data Types on Data Structure and Algorithms related Questions and Answers - Page 6

Question 52 : A linear list of elements in which deletion can be done from one end (front) and insertion can take place only at the other end (rear) is known as a ?

1. Queue
2. Stack
3. Tree
4. Linked list
View Answer   Discuss with Members

Question 56 : Assuming int is of 4bytes, what is the size of int arr[15];?

1. 15
2. 19
3. 11
4. 60
View Answer   Discuss with Members

Question 57 : The data structure required for Breadth First Traversal on a graph is?

1. Stack
2. Array
3. Queue
4. Tree
View Answer   Discuss with Members

Question 59 : A Double-ended queue supports operations such as adding and removing items from both the sides of the queue. They support four operations like addFront(adding item to top of the queue), addRear(adding item to the bottom of the queue), removeFront(removing item from the top of the queue) and removeRear(removing item from the bottom of the queue). You are given only stacks to implement this data structure. You can implement only push and pop operations. What are the total number of stacks required for this operation?(you can reuse the stack)

1. 1
2. 2
3. 3
4. 4
View Answer   Discuss with Members

Question 60 : A data structure in which elements can be inserted or deleted at/from both the ends but not in the middle is?

1. Queue
2. Circular queue
3. Dequeue
4. Priority queue
View Answer   Discuss with Members


View 51 - 60 of 128 Questions

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter