HamiIT
Sign inGet started
Home
Theme
ADD CONTENT

Sign in Required

Please sign in to add content

Sign In
ProgramsBSC CSITSemester 3Data Structure and Algorithms2079

BSC CSIT Semester 3 – Data Structure and Algorithms 2079 TU Final Exam Questions & Answers

12 Questions•75 Marks•TU

Tribhuvan University

Institute of Science and Technology

2079

Bsc CSIT / Semester 3 / Science

Computer Science and Information Technology

Data Structure and Algorithms

Full Marks: 60 + 20 + 20

Pass Marks: 24 + 8 + 8

Time: 3 Hours

Candidates are required to give their answers in their own words as far as practicable.

The figures in the margin indicate full marks.

SECTION A

Attempt any TWO question.

1

Why do we need to balance the binary search tree? Justify with an example. Create an AVL tree from the data 24, 12, 8, 15, 35, 30, 57, 40, 45, 78.

2

How recursive algorithm uses stack to store intermediate results? Illustrate with an example. Convert the infix expression A+B-(CD/E+F)-GH into postfix expression using stack.

3

How do you insert and delete a node at kth position of the doubly linked list? Describe the process of implementing stack and queue using linked list.

SECTION B

Attempt any EIGHT question.

4

Sort the numbers 82,73,12,39,26,88,2,9,60,41 using shell sort.

5

Why do we need asymptotic notation? Describe about Big O notation with its curve.

6

Define queue. Explain about enqueue and dequeue operation in circular queue.

7

Write a program to implement binary search.

8

Find the MST of following graph using Prim’s algorithm.

9

Assume you have to store the data {0,1,2,4,5,7} into a hash table of size 5, with hash function, h(x)=x%5. Apply linear probing and double hashing as collision resolution techniques.

10

In which case the position of pivot element in quick sort always either in the last or the first position? Create a max heap from the numbers. {10,12,53,34,23,77,59,66,5,8}

11

Evaluate the postfix expression 574-*8/4+ using stack.

12

Write short noes on:

a. Priority Queue

b. Breadth First traversal of a graph

Showing 12 questions

*** END OF QUESTION PAPER ***

Exam Years

Sample Questions

Why do we need to balance the binary search tree? Justify with an example. Create an AVL tree from the data 24, 12, 8, 15, 35, 30, 57, 40, 45, 78.

Marks: 10Chapter: Unit 8: Trees and Graphs (8 Hrs.)

Definition A Binary Search Tree (BST) is a binary tree in which: - The left child of a node contains a value less than the node's value. - The right child of a node contains a value greater than the n

How recursive algorithm uses stack to store intermediate results? Illustrate with an example. Convert the infix expression A+B-(CD/E+F)-GH into postfix expression using stack.

Marks: 10Chapter: Unit 2: Stack (4 Hrs.)

Part A: Use of Stack in Recursive Algorithms Definition of Recursion A recursive algorithm is an algorithm that solves a problem by calling itself with a smaller subproblem until a base condition is

How do you insert and delete a node at kth position of the doubly linked list? Describe the process of implementing stack and queue using linked list.

Marks: 10Chapter: Unit 5: Lists (8 Hrs.)

Definition A Doubly Linked List (DLL) is a linear data structure in which each node contains: - Data - Previous pointer (prev) - Next pointer (next) Steps for Insertion at Kth Position 1. Create a ne

Sort the numbers 82,73,12,39,26,88,2,9,60,41 using shell sort.

Marks: 5Chapter: Unit 6: Sorting (8 Hrs.)

Shell Sort 1. Definition Shell Sort is an improved version of Insertion Sort that allows the exchange of elements far apart by using a sequence of gaps. The gap is reduced step by step until it bec

Why do we need asymptotic notation? Describe about Big O notation with its curve.

Marks: 5Chapter: Unit 1: Introduction to Data Structures & Algorithms (4 Hrs.)

1. Need for Asymptotic Notation Asymptotic notation is used to describe the performance of algorithms in terms of time and space complexity as input size increases. Why it is needed: - Ignores machi

And more questions available on this page.

About Data Structure and Algorithms Past Questions

This page contains the complete 2079 TU Final examination paper for Data Structure and Algorithms, part of the BSC CSIT Semester 3 curriculum. All questions are from official Tribhuvan University (TU) exam papers.

How to Use This Resource

  • Practice each question thoroughly before checking the answer
  • Use the answers as reference to understand the expected format
  • Time yourself to simulate exam conditions
  • Review chapter concepts if you struggle with any question
  • Link to specific questions using #q1, #q2, etc. in the URL

Related Resources

← Back to Data Structure and Algorithms Chapters

Data Structure and Algorithms 2079 TU Final past questions with answers for BSC CSIT students in Nepal. Prepare for Tribhuvan University (TU) exams with our comprehensive question bank and model answers.

H
Hami IT

Empowering IT students with quality education resources and comprehensive exam preparation materials.

Programs

  • Flutter
  • Java
  • DevOps

Company

  • About Us
  • Contact
  • Terms of Service
  • Privacy Policy

Contact

  • 📧contact@hamiit.com
  • 📞+977 9813706443
  • 📍Kathmandu, Nepal

Community

  • Join Discord
  • Report a bug
  • Request feature

© 2026 Hami IT. All rights reserved.