Data Structure Objective Questions and Answers Pdf - 2

Question: 6

Which of the following piece of information does the data type to the compiler provide?

(A) The way the data is to be interpreted

(B) Range of values

(C) Amount of memory a data element uses

(D) All of above

Ans: D

All of above

Question: 7

The elements of a linked list are stored

(A) In a structure

(B) In an array

(C) Anywhere the computer has space for them

(D) In contiguous memory locations

Ans: C

Anywhere the computer has space for them

Question: 8

A parentheses checker program would be best implemented using

(A) List

(B) Queue

(C) Stack

(D) Any of the above

Ans: C

Stack

Question: 9

To perform level-order traversal on a binary tree, which of the following data structure will be required?

(A) Hash table

(B) Queue

(C) Binary search tree

(D) Stack

Ans: B

Queue

Question: 10

Which of the following data structure is required to convert arithmetic expression in infix to its equivalent postfix notation?

(A) Queue

(B) Linked list

(C) Binary search tree

(D) None of above

Ans: D

None of above

Related Questions
Recent Articles
Trending Posts

REGISTER TO GET FREE UPDATES