CS502 Final Term MCQs Set 2 by VU Topper RM
- Type
- Final term past paper
- Course
- CS502 Fundamentals of Algorithms
- Size
- PDF 1.3 MB
- 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 2, 3, 4 of 53. Download the file for all 53 pages.
Q01. Vu-Topper RM (01 marks)
If we encode and compress text using ASCII standard each character is represented b A. Fixed length code word of 4 bits B. Variable length code word up to 4 bits
C. Fixed length code word of 8 bits
D. Variable length code word up to 8 bits
Q02. Vu-Topper RM (01 marks)
G power T for graph can be computed in A. Theta(VE) B. Theta(V log E) C. Theta(E log V)
D .Theta (V+E)
Q03. Vu-Topper RM (01 marks)
Adding any edge to free tree
A .Keep it free tree and increase the size of the tree
B. Create a unique cycle C. Not allow to add edge to free tree D. Create multiple cycles
Q04. Vu-Topper RM (01 marks)
Which sorting algorithn is faster : A. O(n^2) B. O(nlogn) C. O(n+k) D. O(n^3)
Q05. Vu-Topper RM (01 marks)
There are no ________ edges in undirected graph. A . Forward B. Back C. Cross
D. Both forward and back
Q06. Vu-Topper RM (01 marks)
Adding any edge to a free tree creates a unique ______ . A. Vertex
B. cycle
C. Edge D.Strong component
Q07. Vu-Topper RM (01 marks)
Networks are complete in the sense that it is possible from any location in the network to reach any other location in the digraph.
A. True
B. False
Q08. Vu-Topper RM (01 marks)
Runtime complexity of Prim's algorithm is _______. A. V log V
B. E log V
C. log V D. None of the above
Q09. Vu-Topper RM (01 marks)
In Prim's algorithm, we start with the _______ vertex r; it can be any vertex. A. First B. Leaf
C. root
D. Mid
Q10. Vu-Topper RM (01 marks)
Adding any edge to a free tree creates a unique cycle.
A. true
B. false
Q11. Vu-Topper RM (01 marks)
For undirected graph, there is no distinction between forward and back edges.
A. true
B. false
Q12. Vu-Topper RM (01 marks)
in strong components algorithm, first of all DFS is run for computing finish times of vertices.
A. true
B. false
Q13. Vu-Topper RM (01 marks)
Which method is preferable for dealing with chain matrix multiplication?
Correct answer: Dynamic programming formulation
Q14. Vu-Topper RM (01 marks)
Huffman algorithm produces the…….prefix code tree. A. Better
B. Optimal
C. Worst D. Best
Q15. Vu-Topper RM (01 marks)
A….w is adjacent to vertex v if there is an edge from v to w. A. Acyclic
B. Vertex
C. Loop D. Cycle
Q16. Vu-Topper RM (01 marks)
Using ASCII standard the string “greedy” will be encoded with A. 44 bits B. 120 bits C. 40 bits
D. 48 bits
Q17. Vu-Topper RM (01 marks)
In activity scheduling algorithm, each activity is represented by a
A. Rectangle
B. Square C. Circle D. Triangle
Q18. Vu-Topper RM (01 marks)
Those problems in which greedy finds good, but not always best is called a greedy…..
A. Heuristic
B. Solution
Related CS502 files
All CS502 files →- CS502 Final Term Solved MCQs Set 3 by Junaid Final term PDF 3.3 MB
- CS502 Final Term Past Paper 5 Final term PDF 134 KB
- CS502 Final Term Past Papers by VU Stars Final term PDF 4.5 MB
- CS502 Final Term Solved MCQs with References by Moaaz Final term PDF 2.6 MB
- CS502 Official Handouts Official handout PDF 1.3 MB Free
- CS502 Quiz 4 Quiz PDF 846 KB
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.