- Type
- Final term past paper
- Course
- CS502 Fundamentals of Algorithms
- Size
- PDF 134 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 1, 2, 3 of 5. Download the file for all 5 pages.
FINALTERM EXAMINATION
SPRING 2007 CS502 - FUNDAMENTALS OF ALGORITHMS (Session -5) Marks: 50
Time: 150min
Student Name: ______________________________
Center Name/Code: ______________________________
Exam Date: Thursday, July 05, 2007
INSTRUCTIONS
- Paste the bitmap image for the tables, diagrams etc while solving your questions
- This examination is closed book, closed notes, closed neighbors.
- Some of the examination consists of multiple-choice questions. Choose only one choice as your answer.
- Use of cell phone during the examination is strictly prohibited, otherwise strict disciplinary action will be taken as per university rules
**WARNING: Please note that Virtual University takes serious action against unfair means. Anyone found involved in cheating will get an `F` grade in this course.
Question Marks Total
Q1. ( Marks: 1 )
T (n)
Is 22n O�2n�?
The recurrence relation of Tower of Hanoi is given below 1 if n1 2T (n�1) 1 if n1 In order to move a tower of 6 rings from one peg to another, how many moves are required?
Q2. ( Marks: 1 )
Edge (u, v) is a forward edge if
Q3. ( Marks: 1 )
Q4. ( Marks: 1 )
If, in a DFS forest of digraph G = (V, E), f[u] ≤ f[v] for an edge (u, v) Є E then the edge is called
Q5. ( Marks: 1 )
How can the number of strongly connected components of a graph change if a new edge is added?
Q6. ( Marks: 10 )
Complete the following instance of the optimal matrix multiplication ordering problem. Also give the optimal multiplication order.
p[0]=5 p[1]=4 p[2]=3 p[3]=4 p[4]=5 p[5]=6
Q7. ( Marks: 10 )
For the following given comparison, what are the tradeoffs between adjacency lists and adjacency matrices?
Comparison Faster to test if (x, y) exists. Faster to find vertex degree? Less memory on small graphs? Less memory on big graphs? Edge insertion or deletion? Faster to traverse the graph? Better for most problems? Winner
Related CS502 files
All CS502 files →- CS502 Final Term Solved MCQs with References by Moaaz Final term PDF 2.6 MB
- CS502 Final Term Quiz Final term PDF 17.9 MB
- CS502 Final Term Subjective Set 2 by Waqar Siddhu Final term PDF 6.5 MB
- CS502 Final Term MCQs Set 2 by VU Topper RM Final term PDF 1.3 MB
- CS502 Official Handouts Official handout PDF 1.3 MB Free
- CS502 Quiz 4 Set 3 by VU Topper RM Quiz PDF 1.5 MB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.