Data Structure
Data Structure
12. The indirect change of the values of a variable in one module by another module
is called
a. internal change
b. inter-module change
c. side effect
d. side-module update
13. Which of the following data structure is not linear data structure?
a. Arrays
b. Linked lists
d. None of above
16. Finding the location of the element with a given value is:
a. Traversal
b. Search
c. Sort
d. None of above
19. Each array declaration need not give, implicitly or explicitly, the information
about
a. name of array
b. the data type of array
c. the first data from the set to be stored
d. the index set of the array
Set - 2
4. Which of the following is not the required condition for binary search algorithm?
a. tables arrays
b. matrix arrays
c. both of above
d. none of above
7. A variable P is called pointer if
8. Which of the following data structure can't store the non-homogeneous data
elements?
a. Arrays
b. Records
c. Pointers
d. None
9. Which of the following data structure store the homogeneous data elements?
a. Arrays
b. Records
c. Pointers
d. None
10. Each data item in a record may be a group item composed of sub-items; those
items which are indecomposable are called
a. elementary items
b. atoms
c. scalars
d. all of above
11. The difference between linear array and a record is
a. An array is suitable for homogeneous data but hte data items in a record may
have different data type
b. In a record, there may not be a natural ordering in opposed to linear array.
c. A record form a hierarchical structure but a lienear array does not
d. All of above
a. FIFO lists
b. LIFO list
c. Piles
18. The term "push" and "pop" is related to the
a. array
b. lists
c. stacks
d. all of above
19. A data structure where elements can be added or removed at either end but not
in the middle
a. Linked lists
b. Stacks
c. Queues
d. Deque
a. FAEKCDBHG
b. FAEKCDHGB
c. EAFKHDCBG
d. FEAKDCHBG
1. Which data structure allows deleting data elements from front and inserting at
rear?
a. Stacks
b. Queues
c. Deques
d. Binary search tree
2. Identify the data structure which allows deletions at both ends of the list but
insertion at only one end.
a. Input-restricted deque
b. Output-restricted deque
c. Priority queues
d. None of above
6. A binary tree whose every node has either zero or two children is called
a. Complete binary tree
b. Binary search tree
c. Extended binary tree
10. When converting binary tree into extended binary tree, all the original nodes in
binary tree are
a. internal nodes on extended tree
b. external nodes on extended tree
c. vanished on extended tree
11. The post order traversal of a binary tree is DEBFCA. Find out the pre order
traversal
a. ABFCDE
b. ADBFEC
c. ABDECF
d. ABDCEF
15. The in order traversal of tree will yield a sorted listing of elements of tree in
a. Binary trees
b. Binary search trees
c. Heaps
d. None of above