Nepal's open education portal

EduNepalEduNepal

Data Structures and Algorithms Practical Work Book

Complete laboratory work book with 10 essential data structure implementations, test cases, and memory layouts in C.

Data Structures and Algorithms · CACS201 · Semester 3

BCA Curriculum 2079

Unit 2•Unit 2 of 2

Unit 2: Linear Data Structures: Stacks and Applications

Core Laboratory Practical Exercises:

  1. Lab 01: Implementation of Stack ADT using Array with Push, Pop, and Display.
  2. Lab 02: Conversion of Infix Expression to Postfix using Stack.
  3. Lab 03: Evaluation of Postfix Expression using Stack Operations.
  4. Lab 04: Implementation of Circular Queue using Array and Modulo Arithmetic.
  5. Lab 05: Singly Linked List: Insertion (Front, End, Specific Position) and Deletion.
  6. Lab 06: Linked List implementation of Stack and Linear Queue.
  7. Lab 07: Binary Search Tree (BST) Creation and Inorder/Preorder/Postorder Traversals.
  8. Lab 08: Quick Sort implementation using Hoares Partitioning Scheme.
  9. Lab 09: Merge Sort implementation using Divide and Conquer Strategy.
  10. Lab 10: Graph Traversal using Breadth First Search (BFS) and Depth First Search (DFS).

Related notes

View all →

Related video lessons

View all →

Practice questions

View all →
  • What is the worst-case time complexity of Quick Sort algorithm? (a) O(n) (b) O(n log n) (c) O(n^2) (d) O(log n)objective · 1 marks
  • Differentiate between Linear Queue and Circular Queue. Explain how modulo arithmetic prevents false overflow.short · 5 marks

View all questions for this subject →

← Back to all notes