CS301- Data Structures finalterm paper
Page 1 of 1 • Share
CS301- Data Structures finalterm paper
CS301 todays paper
Total 52 questions
40MCQ's and
2x4=questions
3x4=questions
5x4=questions
Question No: 41 ( Marks: 2 )
Convert the given infix form to postfix form.
A+B/C-D^E-F
Question No: 42 ( Marks: 2 )
How we can implement Table ADT using Linked List
Question No: 43 ( Marks: 2 )
If we allow assignment to constants what will happen?
Question No: 44 ( Marks: 2 )
How heap sort works to sort a set of data.
Question No: 46 ( Marks: 3 )
Give your comment on the statement that heap uses least memory in array representation of binary trees. Justify your answer in either case.
Question No: 47 ( Marks: 3 )
How we can use concept of equivalence relations to generate a Maze.
Question No: 48 ( Marks: 3 )
"For smaller lists, linear insertion sort performs well, but for larger lists, quick sort is suitable to apply." Justify why?
Question No: 49 ( Marks: 5 )
6 9 5 0 4 1 7 3 2
Show the first five merging steps for Merge sort on this array.
Question No: 50 ( Marks: 5 )
What is Disjoint Sets? Explain with an example.
Question No: 51 ( Marks: 5 )
Write the code of the perculateDown() function and also comment it.
Question No: 52 ( Marks: 5 )
Here is an array with exactly 15 elements:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15.
Suppose that we are doing a binary search for an element. Indicate any elements that will be found by examining two or fewer numbers from the array.
Total 52 questions
40MCQ's and
2x4=questions
3x4=questions
5x4=questions
Question No: 41 ( Marks: 2 )
Convert the given infix form to postfix form.
A+B/C-D^E-F
Question No: 42 ( Marks: 2 )
How we can implement Table ADT using Linked List
Question No: 43 ( Marks: 2 )
If we allow assignment to constants what will happen?
Question No: 44 ( Marks: 2 )
How heap sort works to sort a set of data.
Question No: 46 ( Marks: 3 )
Give your comment on the statement that heap uses least memory in array representation of binary trees. Justify your answer in either case.
Question No: 47 ( Marks: 3 )
How we can use concept of equivalence relations to generate a Maze.
Question No: 48 ( Marks: 3 )
"For smaller lists, linear insertion sort performs well, but for larger lists, quick sort is suitable to apply." Justify why?
Question No: 49 ( Marks: 5 )
6 9 5 0 4 1 7 3 2
Show the first five merging steps for Merge sort on this array.
Question No: 50 ( Marks: 5 )
What is Disjoint Sets? Explain with an example.
Question No: 51 ( Marks: 5 )
Write the code of the perculateDown() function and also comment it.
Question No: 52 ( Marks: 5 )
Here is an array with exactly 15 elements:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15.
Suppose that we are doing a binary search for an element. Indicate any elements that will be found by examining two or fewer numbers from the array.
Asad- Deep Bench
- Posts : 563
Join date : 2011-02-11
Re: CS301- Data Structures finalterm paper
17 feb.
MCQs were new
mostly from BST, min and max heap, thread binary tree, quick sort, merge sort
2 and 3 marks
drawback of using array to store BST.
applications of hashing.
what is c++ template.
meant by "Sibling" in relation
5≥2 is any equivalence relation between there?
5 marks questions
explain and write the code for union and find operation of parent array in disjoint sets.
merge sort, and array
deletion of nodes in tree
[You must be registered and logged in to see this image.]
MCQs were new
mostly from BST, min and max heap, thread binary tree, quick sort, merge sort
2 and 3 marks
drawback of using array to store BST.
applications of hashing.
what is c++ template.
meant by "Sibling" in relation
5≥2 is any equivalence relation between there?
5 marks questions
explain and write the code for union and find operation of parent array in disjoint sets.
merge sort, and array
deletion of nodes in tree
[You must be registered and logged in to see this image.]
Asad- Deep Bench
- Posts : 563
Join date : 2011-02-11
Re: CS301- Data Structures finalterm paper
objective mostly past prrz sy aya tha...............
1-3 important characteristics of skip list.
2-drawback of using array to store BST.
3-examples of hashing.
4-c++ code to add node in doubly link list.
5-wat u conclude from the running time analysis of disjoint sets.
6-explain how heap sort work.
7-what is c++ template.
[You must be registered and logged in to see this image.]
8-explain and write the code for union and find operation of parent array in disjoint sets.
[You must be registered and logged in to see this image.]
aur 2 question main coding thi.........aik main error theakh krna tha aur dosra yaad nae kia krna tha
han aik aur v question tha...............5 3 8 9 1 7 0 2 6 4 is main select sort operation krna tha..........
--
1-3 important characteristics of skip list.
2-drawback of using array to store BST.
3-examples of hashing.
4-c++ code to add node in doubly link list.
5-wat u conclude from the running time analysis of disjoint sets.
6-explain how heap sort work.
7-what is c++ template.
[You must be registered and logged in to see this image.]
8-explain and write the code for union and find operation of parent array in disjoint sets.
[You must be registered and logged in to see this image.]
aur 2 question main coding thi.........aik main error theakh krna tha aur dosra yaad nae kia krna tha
han aik aur v question tha...............5 3 8 9 1 7 0 2 6 4 is main select sort operation krna tha..........
--
Asad- Deep Bench
- Posts : 563
Join date : 2011-02-11
Re: CS301- Data Structures finalterm paper
total 56 que
40 MCQS and 12 subjective
postfix to infix conversion
insertion
show all steps by converting the array into min heap
conclusion of running time analysis of ADT
length() method
c++ code
[You must be registered and logged in to see this image.]
bus yehi yaad hai
40 MCQS and 12 subjective
postfix to infix conversion
insertion
show all steps by converting the array into min heap
conclusion of running time analysis of ADT
length() method
c++ code
[You must be registered and logged in to see this image.]
bus yehi yaad hai
Asad- Deep Bench
- Posts : 563
Join date : 2011-02-11
Re: CS301- Data Structures finalterm paper
today cs301 current paper short questions
Short Question :linear probing qud probing union by weight union by size quick sort merge sort and collision
Short Question :linear probing qud probing union by weight union by size quick sort merge sort and collision
Asad- Deep Bench
- Posts : 563
Join date : 2011-02-11
Similar topics
» CS301 Final Term Paper
» CS301 Final Term Paper
» CS301 FinalTerm Paper
» CS301 Current Finalterm papers
» CS301 Final Term Paper
» CS301 Final Term Paper
» CS301 FinalTerm Paper
» CS301 Current Finalterm papers
» CS301 Final Term Paper
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
Yesterday at 12:21 pm by ali001
» Hemangiom'App
Tue Nov 05, 2024 11:25 am by ali001
» MindfulMe - Mental Health App
Mon Nov 04, 2024 10:50 am by ali001
» Learn Candlestick Patterns
Tue Oct 15, 2024 5:51 am by ali001
» Woh Pagal Si Episode 52 to 62 - Top Pakistani Drama
Sat Sep 21, 2024 6:26 pm by Mir Emmad Ali Khan Domki
» Nearu - share your socials
Sat Sep 21, 2024 1:12 pm by ali001
» Nightclub Tycoon: Idle Empire
Thu Sep 19, 2024 9:16 pm by ali001
» Carnivore - Meat Diet Recipes
Wed Sep 18, 2024 2:37 pm by ali001
» Eid Milad un Nabi Mubarak 2024 (Rabiʻ I 14, 1446 AH)
Tue Sep 17, 2024 3:44 pm by Mir Emmad Ali Khan Domki