php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CS502 DESIGN AND ANALYSIS OF ALGORITHMS fall 2010 quiz
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
[FONT=&quot]
[/FONT]

[FONT=&quot]CS502 DESIGN AND ANALYSIS OF ALGORITHMS[/FONT]
[FONT=&quot]FALL 2010 QUIZ #2 HELD ON 12 NOV 2010[/FONT]
[FONT=&quot]Question # 1 of 10 Total Marks: 1[/FONT]
[FONT=&quot]Memorization is?[/FONT]
[FONT=&quot]1. To store previous results for future use[/FONT]
[FONT=&quot]2. To avoid this unnecessary repetitions by writing down the results of[/FONT]
[FONT=&quot]recursive calls and looking them up again if we need them later[/FONT]
[FONT=&quot]3. To make the process accurate[/FONT]
[FONT=&quot]4. None of the above[/FONT]
[FONT=&quot]Question # 2 of 10 Total Marks: 1[/FONT]
[FONT=&quot]Which sorting algorithm is faster[/FONT]
[FONT=&quot]1. O (n log n)[/FONT]
[FONT=&quot]2. O n^2[/FONT]
[FONT=&quot]3. O (n+k)[/FONT]
[FONT=&quot]4. O n^3[/FONT]
[FONT=&quot]Question # 3 of 10 Total Marks: 1[/FONT]
[FONT=&quot]Quick sort is[/FONT]
[FONT=&quot]1. Stable & in place[/FONT]
[FONT=&quot]2. Not stable but in place[/FONT]
[FONT=&quot]3. Stable but not in place[/FONT]
[FONT=&quot]4. Some time stable & some times in place[/FONT]
[FONT=&quot]Question # 4 of 10 Total Marks: 1[/FONT]
[FONT=&quot]One example of in place but not stable algorithm is[/FONT]
[FONT=&quot]1. Merger Sort[/FONT]
[FONT=&quot]2. Quick Sort[/FONT]
[FONT=&quot]3. Continuation Sort[/FONT]
[FONT=&quot]4. Bubble Sort[/FONT]
[FONT=&quot]Question # 5 of 10 Total Marks: 1[/FONT]
[FONT=&quot]In Quick Sort Constants hidden in T(n log n) are[/FONT]
[FONT=&quot]1. Large[/FONT]
[FONT=&quot]2. Medium[/FONT]
[FONT=&quot]3. Small[/FONT]
[FONT=&quot]4. Not Known[/FONT]
[FONT=&quot]Question # 6 of 10 Total Marks: 1[/FONT]
[FONT=&quot]Continuation sort is suitable to sort the elements in range 1 to k[/FONT]
[FONT=&quot]1. K is Large[/FONT]
[FONT=&quot]2. K is not known[/FONT]
[FONT=&quot]3. K may be small or large[/FONT]
[FONT=&quot]4. K is small[/FONT]
[FONT=&quot]Question # 7 of 10 Total Marks: 1[/FONT]
[FONT=&quot]In stable sorting algorithm.[/FONT]
[FONT=&quot]1. If duplicate elements remain in the same relative position after sorting[/FONT]
[FONT=&quot]2. One array is used[/FONT]
[FONT=&quot]Imrangee[/FONT]
[FONT=&quot]3. More than one arrays are required[/FONT]
[FONT=&quot]4. Duplicating elements not handled[/FONT]
[FONT=&quot]Question # 8 of 10 Total Marks: 1[/FONT]
[FONT=&quot]Which may be a stable sort?[/FONT]
[FONT=&quot]1. Merger[/FONT]
[FONT=&quot]2. Insertion[/FONT]
[FONT=&quot]3. Both above[/FONT]
[FONT=&quot]4. [/FONT][FONT=&quot]None [/FONT][FONT=&quot]of the above[/FONT]
[FONT=&quot]Question # 9 of 10 Total Marks: 1[/FONT]
[FONT=&quot]An in place sorting algorithm is one that uses ___ arrays for storage[/FONT]
[FONT=&quot]1. Two dimensional arrays[/FONT]
[FONT=&quot]2. More than one array[/FONT]
[FONT=&quot]3. No Additional Array[/FONT]
[FONT=&quot]4. None of the above[/FONT]
[FONT=&quot]Question # 10 of 10 Total Marks: 1[/FONT]
[FONT=&quot]Continuing sort has time complexity of ?[/FONT]
[FONT=&quot]1. O(n)[/FONT]
[FONT=&quot]2. O(n+k)[/FONT]
[FONT=&quot]3. O(nlogn)[/FONT]
[FONT=&quot]4. O(k)[/FONT]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  ACC501 Brininess Finance Quiz No: 03 Discussion Spring Fall 2014 education-2014 0 3,105 07-19-2014, 01:55 PM
Last Post: education-2014
  ISL201-Islamic Studies VU Online Quiz 3 Solution Last Date 04-01-2013 vuassignments 0 2,506 01-03-2013, 04:11 PM
Last Post: vuassignments
  CS403 Database Management Systems Quiz Fall Semester 2012 Vuhelper 0 2,645 11-29-2012, 03:54 PM
Last Post: Vuhelper
  MGT503 Principles of Management Quiz NO. 2 Fall Semester 2012 Vuhelper 0 2,232 11-23-2012, 03:18 PM
Last Post: Vuhelper
  cs304 Quiz no 2 fall January 2012 Vuhelper 0 2,893 01-11-2012, 08:03 PM
Last Post: Vuhelper
  CS 604 Quiz January 2012 Vuhelper 0 2,963 01-07-2012, 04:00 PM
Last Post: Vuhelper
  MGT 211 3rd Quiz(20/06/11) dreamboy 1 3,129 06-22-2011, 01:26 AM
Last Post: Xpert
  CS302- Digital Logic Design mid term paper 2011 Vuhelper 2 5,541 05-13-2011, 01:46 AM
Last Post: sharazp
  CS302- Digital Logic Design )MIDTERM EXAMINATION Spring 2011 Vuhelper 0 2,781 04-27-2011, 09:22 PM
Last Post: Vuhelper
  mgt111 mid term Quiz 2011 virtual university of pakistan Vuhelper 0 2,110 04-15-2011, 07:05 AM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support