Friday 9 December 2011

[discussion_vu] CS301 Midterm Paper December 9, 2011 Shared by Moaaz Siddiq

Assalamu Alaykum Warahmatullahi WaBarakatuhu,

Paper was very easy and 80% from past papers 

 

 

 

Q21-Write the Application of binary tree? 2 marks

Q22-How single left rotation is performed in AVL tree?  2 marks

 

Q23-Define const keyword, reference variable, Dangling reference 3 marks

 

Q25-Here is a small binary tree.                 5 marks



Write the order of the nodes visited in

a)      A Post-order traversal :(L, R, N)

b)      A level-order traversal

 

 

 

Q24- YE B SAME Q25 JESA THA LAKIN US ME LEFT CHILD TREE BATANA THI   3marks

 

Q-26 –  is me avl tree banana thi aur points diye 

--
You received this message because you are subscribed to the Google Groups "Virtual University of Pakistan" group.
To post to this group, send email to discussion_vu@googlegroups.com.
To unsubscribe from this group, send email to discussion_vu+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/discussion_vu?hl=en.

No comments:

Post a Comment