Sample Questions For Oral - Viva Exam
Sample Questions For Oral - Viva Exam
6. How is memory allocated for an array, and what are the advantages and disadvantages?
7. What are the main differences between a singly linked list, doubly linked list, and circular linked
list?
8. Describe the operations of insertion and deletion in a linked list.
9. How would you reverse a linked list?
Trees
15. Define a binary tree. What are the differences between a binary tree, binary search tree, and a
heap?
16. Explain tree traversal methods: in-order, pre-order, and post-order.
17. What is a balanced tree? Why is balancing important in trees?
18. Describe AVL trees and how they differ from binary search trees.
19. What are B and B+ Trees?
Hashing
Graphs
24. Define a graph. What is the difference between a directed and an undirected graph?
25. Describe the adjacency matrix and adjacency list representations of graphs.
26. Explain depth-first search (DFS) and breadth-first search (BFS) traversal.