AOA
--
fellows
today paper is
(1) deleting node 3 marks
(2) maximum nodes of BST jo formula lagta ha woh wala tha .....main nay to log2(n+1)-1 likha ha 2marks
(3) recursive ka program likhna tha 5 marks
(4) node of move karna tha phir us ko variable assign karna tha yh program tha 5 marks
(5) reference ki example do or us kay benifit likho 3marks
baki old paper main sy msq 5 aya hun gay is dafa unho nay english langue main zara changing ki ha word different use katy hain
================================================
My today's paper cs301,25 may 2013
mcq's were mostly from MOAAZ papers
and subjective is totally from past papers by Moaaz
Q:1 What is complete binary tree?
Answer: "A complete binary tree is a binary tree with the additional property that every node must have exactly two children if an internal node, and zero children if a leaf node."
How we can delete a node with two Childs in a binary search tree using its right sub tree. Answer:- Page 263 The node to be deleted has either left child (subtree) or right child (subtree).In this case we bypass the node in such a way that we find the inorder successor of this node and then link the parent of the node to be deleted to this successor node. Thus the node was deleted.
bqi b past me sy thy
===========================================
my today paper
total question 26 20 mcq 6 subjective mcq from past paper moazz file sa or wording change hai is dafa
q #1. queue is linear data structure. how? 2
q#2. how insertion of AVLTree is different for insertion of binary search Tree? 2
You received this message because you are subscribed to the Google
Groups "-VU-ROCKS-" group.
To post to this group, send email to VU-ROCKS@googlegroups.com
http://groups.google.com/group/VU-ROCKS?hl=en
---
You received this message because you are subscribed to the Google Groups "-VU-ROCKS-" group.
To unsubscribe from this group and stop receiving emails from it, send an email to VU-ROCKS+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
For University of Pakistan Study Material Sharing, Discussion, etc, Come and join us at http://4e542a34.linkbucks.com
You received this message because you are subscribed to the Google
Groups "Study" group.
To post to this group, send email to http://ca13054d.tinylinks.co
For more options, visit this group at
http://004bbb67.any.gs
No comments:
Post a Comment
Note: only a member of this blog may post a comment.