File Details:
{"filename":"bca-3-sem-data-structure-using-c-and-cpp-1087-2020.pdf","description":"This file contains the B.C.A. Third Semester examination paper for Data Structure Using C and C++ (Second Paper) from 2020. It includes questions on topics such as arrays, stacks, linked lists, binary trees, sorting algorithms, hashing, and data structures."}
Questions:
- How is a 2-dimensional array represented in memory? Discuss with an example.
- Write a short note on Tridiagonal matrices and their applications in computer science.
- Explain how we can represent a stack using an array and a linked list.
- Write the algorithm for converting infix to postfix and prefix to postfix.
- What are the applications of the stack data structure in computer science?
- What do you understand by linear linked list and doubly linked list? Write the procedure to insert an element in the middle of a doubly linked list.
- Differentiate between queue and deque. Give applications of each.
- Differentiate between linear array and linked list, inorder and preorder tree traversal, binary trees and B-trees, hashing and binary search.
- Write the procedure or steps for performing the removal of duplicate elements from a sorted linked list, construction of balanced binary search tree from given keys, and constructing an expression tree for an infix expression.
- Write the algorithm for heapsort and trace it for a given list of numbers. What is the time complexity for performing merge sort on a list of size N?
- Perform insertion sort on a given list. What is the complexity of this algorithm in the average case and best case?
- Write short notes on sparse arrays, priority queue, and indexing using B-Trees.
- Write a C program for creating a B-Tree, traversing a linked list, and binary search.
Back to list
GKPAD.COM by SK Yadav | Disclaimer