Wednesday, February 16, 2011

Re: [discussion_vu] CS301 todays paper FEB 15-02-2011

THANKS DEAR

On Tue, Feb 15, 2011 at 9:06 AM, afaaq <afaaqtariq233@gmail.com> wrote:


---------- Forwarded message ----------
From: ĸніźяa тђз вêşŧ <wishovrain@gmail.com>






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.



--
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~~*~
میں نےجو کیا وہ برا کیا،میں نے خود کو خود ہی تباہ کیا
جو تجھے پسند ہو میرے رب،مجھے اس ادا کی تلاش ہے
¤ĸніźяa тђз вêşŧ¤



--
If u like me than raise ur hand with me
If not than raise ur standard
thats about me . . . !

--
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.

--
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

PAID CONTENT