1) What are the different types of variables are there in Java? Name at least three and discuss their characteristics.
2) What is the difference between pre and post increment/decrement operations?
3) Why a circular queue is more benefiting than a single dimension array queue? How to do indexing in a circular queue?
4) Maximum how many nodes can there be in a complete Binary Tree with level h? The maximum number of nodes in a binary tree of height "h" is 2h – 1. The height of the tree with a single node is deemed to be 1.
5) Is searching an element in a Binary Search Tree (BST) faster than finding an element in a Binary Tree? If yes, why?
Sample Solution