Design and Analysis of Algorithms (CS2000) Midterm Nov 2025 Question Paper
RV University Midterm exam for Design and Analysis of Algorithms (CS2000), held Nov 2025, semester 3, with 3 questions. Also searched as DAA, DAOA, ALGO. Last updated 2026-11-14.
Questions
1. Find the number of distinct minimum cost spanning trees for the following weighted graph. And draw all possible minimum cost spanning trees.
2. Consider the 0/1 Knapsack problem with the following data:Items 1 2 3 4 5Profits 1 4 3 7 2Weights 1 3 2 5 1Knapsack Capacity W=8a) Formulate the dynamic programming (DP) table to solve this problem. Using the table, determine the maximum profit achievable. b) Identify the items s
4. Problem Statement: Given an array of unsorted elements. Implement mergesort algorithm to sort an integer array in an ascending order.Constraints: if array size is zero return -1Input Format:array size