Home About Contact
vustudents.org
Connect with Facebook



CS502 CS502 Fundamentals of Algorithms.Download/upload Video Lectures, Handouts, Helping Materials, Assignments Solution, Online Quizzes, GDB, Past Papers, Solved Papers and more….

Download/upload Video Lectures, Handouts, Helping Materials, Assignments Solution, Online Quizzes, GDB, Past Papers, Solved Papers and more….
Reply
  #1  
Old 11-27-2011, 08:01 AM
um abdullah's Avatar
Senior Member
 
Join Date: Nov 2011
Posts: 265
Default cs502 midterm 2010 new***

write these word 3 different format
"MATHS and ARTS" 3marks

explain the average and worst case of quick sort. 2marks

how many combination of ......... (sorry i forgot) 2marks

define the cost table of initial stae of 3marks

suggest and describe one modification of implmenting quick sort 5marks



Cs502 Design and Analysis of Algorithms


time 60 mins

Total 26 Questions

20 MCQs

longs 2+2+3+3+5+5


Q-Write a pseudo code Fibonacci With memorization? -- (3)

Sol
MEMOFIB(n)
1 if (n < 2)
2 then return n
3 if (F[n] is undefined)
4 then F[n] MEMOFIB(n − 1) + MEMOFIB(n − 2)
5 return F[n]

Q- How construct Optimal solution for 0/1 knapsack ? (3)



Q – what is the maximum and minimum number of elements in Heap h ?? (5)


Q – Write Down the steps of Dynamic programming (5)

RUNNING TIME OF 2 MAXIMA
RUNNING AND WORST TIME OF QUICK SORT
CATALAN NUMBERS AND FORMULAE -- 3 NUMBERS
NO PSEDUE CODE CAME
KNAPSACK
MATRIX MULTIPLICATION
DIVIDE-CONQURE-COMBINE
ALGORITHM IS STEP BY STEP----
Attached Files
File Type: pdf CS50206DEC2010MIDPAPERBYShiningStar.pdf (216.1 KB, 43 views)
Reply With Quote
  #2  
Old 11-27-2011, 08:01 AM
pompyro's Avatar
Junior Member
 
Join Date: Nov 2011
Posts: 3
Default

thanks works great
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
cs502 final spring term 2010 um abdullah CS502 1 11-27-2011 08:28 AM
cs502 midterm paper 2010 um abdullah CS502 0 11-27-2011 07:52 AM
cs501 2010 midterm papers lubna lolo CS501 0 11-27-2011 12:50 AM
cs304 midterm 2010 papers lubna lolo CS304 0 11-27-2011 12:33 AM
CS201 Midterm 2010 spring um abdullah CS201 1 11-26-2011 06:47 AM


All times are GMT +5. The time now is 04:03 PM.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

 

Gravatar as Default Avatar by 1e2.it