We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

ASSIGNMENT 2
Deadline
Your assignment must be uploaded/submitted at or before 4th June 2015.
Uploading instructions
Please view the assignment submission process document provided to you by the Virtual University to upload the assignment. And submit your solution as Microsoft word file.
Rules for Marking
It should be clear that your assignment will not get any credit if:
oThe assignment is submitted after due date.
oThe submitted assignment does not open or run.
oThe assignment is copied
Problem #1: 10 marks
Recall BuildHeap (1,n) that builds a heap of n-elements from an array:
for i = n/2 downto 1 do
bubble_down(i);
For the array drawn below, fill the boxes for each iteration of BuildHeap(1,10).
Assume that the root of the heap holds the maximum element.
15
20
8
56
2
38
36
26
28
7
Problem #2: 5 marks
Arrange the following in the Most to Least complexity order.
210000023232log1000000000000000100000000000000log*log1000000000000log*!log**1000000000000000

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 19265

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Attachments:

Replies to This Discussion

yes i am agree with u dil nawaz..max heap 5 iteration ma ban he nahi sakte complete ya 7 iteration ma bante hai 5 iteration ma jna tak ap na bane vha tak he bante hai

here is the solution guys. main ne sirf 5 iteretion tk kia hai. waisy 7 banti hain complete max heap k liye is combination k sath.

Attachments:

next 3 pic ye hain.

Attachments:

15 20 8 56 2 38 36 26 28 7

Thts iteration tree right or wrong???

wo kaisey hoga????

kindly build heap bananay ka tareeqa bta dein question me i=n/2 hai aur root of the heap maixmum batya hai  aur  i=n/2 left node pay lagani hai ya right node pay kis tarah pta chalay ga 

Sheraz bhai ye site blocked hai kesay dekhen ye video plz ap is videio ka over view dy dn plz.

Time is too short

youtube unblocker likh kar yeh link paste kar kay sun lay

Any body help me kaya mera yah table sahi hai

time is too short plz help kar do mera table sahi hai

RSS

Latest Activity

+¢αяєℓєѕѕ gιяℓ liked + M.Tariq Malik's discussion Moazz Files For Final Term Past Papers
2 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + M.Tariq Malik's discussion Waqar Files For Final Term Past Papers
2 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + M.Tariq Malik's discussion Zoology Mid Term Past Papers
2 minutes ago
+¢αяєℓєѕѕ gιяℓ liked ٹمبکٹو's discussion محبّت اور دل - عشق مجازی
2 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + M.Tariq Malik's discussion Zoology Final Term Papers
2 minutes ago
+¢αяєℓєѕѕ gιяℓ liked Sana Sunny ツ's discussion ~~~,,,Sana Sunny Poetry,,,~~~
2 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + M.Tariq Malik's discussion BIO, ZOO, CHE, BIF, BT, VU Codes - BIO Tech Final Term Past Papers
2 minutes ago
+¢αяєℓєѕѕ gιяℓ liked مخلص's discussion Oppo Reno Ace. Tip Toward Balance.
2 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + "J ɨ y ą ⋆'s discussion Hona chahy tha.......
2 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + "J ɨ y ą ⋆'s discussion Mohabat
2 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + Iuuoɔǝut +'s discussion conventional banking Thesis
2 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + Iuuoɔǝut +'s discussion conventional banking Thesis
2 minutes ago
+¢αяєℓєѕѕ gιяℓ liked Ahmer Rajpoot's discussion MCM101Assignment No 01 Fall 2019 Solution & Discussion
2 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + M.Tariq Malik's discussion BIO, BT, STA, CHE VU Codes - BIO Tech Mid Term Past Papers
2 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + M.Tariq Malik's discussion Waqar Files For Mid Term Past Papers
3 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + ! ! ! ! ! ! ! ! ! ! ! ! ! ! !'s discussion Hamesha sath rehne ki aadat kuch nahin hoti
3 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + M.Tariq Malik's discussion VU All Handouts Power Point Slides ( Handouts PPTs)
3 minutes ago
+¢αяєℓєѕѕ gιяℓ liked 彡JK彡 ❤️'s discussion ...........
3 minutes ago
+¢αяєℓєѕѕ gιяℓ liked +¢αяєℓєѕѕ gιяℓ's discussion Mera tu Mohabbat se aitbar.............:-P
4 minutes ago
+¢αяєℓєѕѕ gιяℓ replied to +¢αяєℓєѕѕ gιяℓ's discussion Mera tu Mohabbat se aitbar.............:-P
5 minutes ago

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service