My Report (&Account)

Expression Tree Test


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)

1. How many properties will an equivalent relationship satisfy?

2. How many strategies are followed to solve a dynamic equivalence problem?

3. What is the total time spent for N-1 merges in a dynamic equivalence problem?

4. What is the worst case efficiency for a path compression algorithm?

5. Electrical connectivity is an example of equivalence relation.

6. ___________ is one of the earliest forms of a self-adjustment strategy used in splay trees, skew heaps.

7. What is the worst-case running time of unions done by size and path compression?

8. What is the depth of any tree if the union operation is performed by height?

9. A relation R on a set S, defined as x R y if and only if y R x. This is an example of?

10. What is the condition for an equivalence relation if two cities are related within a country?


 

Start practicing “1000 MCQs on Data Structure”, and once you are ready, you can take tests on all topics by attempting our “Data Structure Test Series”.

advertisement
advertisement
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.