a.

## Q. Whether Linked List is linear or Non-linear data structure?

A. According to Access strategies Linked list is a linear one.
According to Storage Linked List is a Non-linear one.

## Q. Does the minimum spanning tree of a graph give the shortest distance between any 2 specified nodes?

A. No. Minimal spanning tree assures that the total weight of the tree is kept at its minimum. But it doesn’t mean that the distance between any two nodes involved in the minimum-spanning tree is minimum.

## Q. What is a spanning Tree?

A. A spanning tree is a tree associated with a network. All the nodes of the graph appear on the tree once. A minimum spanning tree is a spanning tree organized so that the total edge weight between nodes is minimized.

A.

## Q. In RDBMS, what is the efficient data structure used in the internal storage representation?

A. B+ tree. Because in B+ tree, all the data is stored only in leaf nodes, that makes searching easier. This corresponds to the records that shall be stored in leaf nodes.

## Q. There are 8, 15, 13, 14 nodes were there in 4 different trees. Which of them could have formed a full binary tree?

A. 15.
In general:
There are 2n-1 nodes in a full binary tree.

By the method of elimination:
Full binary trees contain odd number of nodes. So there cannot be full binary trees with 8 or 14 nodes, so rejected. With 13 nodes you can form a complete binary tree but not a full binary tree. So the correct answer is 15.

## Q. Traverse the given tree using Inorder, Preorder and Postorder traversals.

A:

· Inorder : D H B E A F C I G J

· Preorder: A B D H E C F G I J

Postorder: H D E B F I J G C A