Skip to main content

::::IIVU ASKARII:::: cs502 help plz solve mcqs

Question No: 1 ( Marks: 1 ) - Please choose one

_______________ is a graphical representation of an algorithm

  • notation
  • Flowchart
  • Asymptotic notation
  • notation

Question No: 2 ( Marks: 1 ) - Please choose one

Which of the following is calculated with bigo notation?

  • Lower bounds
  • Upper bounds
  • Both upper and lower bound
  • Medium bounds

Question No: 3 ( Marks: 1 ) - Please choose one

Merge sort makes two recursive calls. Which statement is true after these recursive calls

finish, but before the merge step?

  • The array elements form a heap
  • Elements in each half of the array are sorted amongst themselves
  • Elements in the first half of the array are less than or equal to elements in the second half of the array
  • None of the above

Question No: 4 ( Marks: 1 ) - Please choose one

Who invented Quick sort procedure?

  • Hoare
  • Sedgewick
  • Mellroy
  • Coreman

Question No: 5 ( Marks: 1 ) - Please choose one

What is the solution to the recurrence T(n) = T(n/2)+n, T(1) = 1

  • O(logn)
  • O(n)
  • O(nlogn)
  • O(2n)

Question No: 6 ( Marks: 1 ) - Please choose one

Consider the following Huffman Tree

The binary code for the string TEA is

  • 10 00 010
  • 011 00 010
  • 10 00 110
  • 11 10 110

Question No: 7 ( Marks: 1 ) - Please choose one

If a graph has v vertices and e edges then to obtain a spanning tree we have to delete v edges.

  • v
  • e + 5 edges
  • v + e edges.
  • None of these

Question No: 8 ( Marks: 1 ) - Please choose one

Can an adjacency matrix for a directed graph ever not be square in shape?

  • Yes
  • No

--
We say, "Be one as Pakistani Nation and grow up for Pakistan's Future". Wish you all the best.
 
Please visit www.vuaskari.com, get registered for old papers, quiz, assignments and GDBs...
You received this message because you are subscribed to the Google
Groups "VU ASKARI" group.
To post to this group, send email to askarivu@googlegroups.com
For more options, visit this group at
 
http://groups.google.com/group/askarivu?hl=en?hl=en

Comments

Popular posts from this blog

[vu-students] Urdu Love Letters ............ ahahahahahhahahah

  The One & Only .......... IRFAN. Italy. http://groups.yahoo.com/group/p_se_poetry   -- You received this message because you are subscribed to the Google Groups "VU Students" group. To post to this group, send email to vu-students@googlegroups.com To unsubscribe from this group, send email to vu-students+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/vu-students?hl=en_PK?hl=en

::: vuaskari.com ::: Success comes in surprises.

Saudi Student thanks Allah for his success … Read more:  http://www.themuslimtimes.org/2012/11/countries/saudi-arabia/saudi-student-thanks-allah-for-his-success#ixzz2CltzJ7dn  Blogger    http://khurrams-blogkm.blogspot.com/ Also contributes in..  http://vu-bytes.vu.edu.pk/ REGARDS BC100200226 Khurram Mobin -- We say, "Be one as Pakistani Nation and grow up for Pakistan's Future". Wish you all the best. Join www.vuaskari.com, To post to this group, send email to vuaskari_com@googlegroups.com Visit these groups: This (Main) Group: http://groups.google.com/group/vuaskari_com?hl=en?hl=en MIT/MCS Group: http://groups.google.com/group/vu_askarimit?hl=en?hl=en HRM Group: http://groups.google.com/group/askari_hrm?hl=en?hl=en Banking Group: http://groups.google.com/group/askari_banking?hl=en?hl=en Management: https://groups.google.com/group/vuaskari_mgt?hl=en Marketing: https://groups.google.com/group/vuaskari_mkt?hl=en MIS Group: http:/...

::: vuaskari.com ::: assignment cs402

kuch bongiyan mari hai automta mai agr kisis ko ati hain tou plz and guide k sai hai k ghalat -- lavender -- We say, "Be one as Pakistani Nation and grow up for Pakistan's Future". Wish you all the best. Join www.vuaskari.com , To post to this group, send email to vuaskari_com@googlegroups.com Visit these groups: This (Main) Group: http://groups.google.com/group/vuaskari_com?hl=en?hl=en MIT/MCS Group: http://groups.google.com/group/vu_askarimit?hl=en?hl=en HRM Group: http://groups.google.com/group/askari_hrm?hl=en?hl=en Banking Group: http://groups.google.com/group/askari_banking?hl=en?hl=en Management: https://groups.google.com/group/vuaskari_mgt?hl=en Marketing: https://groups.google.com/group/vuaskari_mkt?hl=en MIS Group: http://groups.google.com/group/askari_mis?hl=en