Sponsored Links


Results 1 to 5 of 5

Thread: cs502 assignment no 2 solution November 2011

  1. #1
    Administrator Vuhelper's Avatar
    Join Date
    Apr 2011
    Posts
    9,578

    Icon51 cs502 assignment no 2 solution November 2011

    Sponsored Links1


    Fundamentals of Algorithms
    CS502-Fall 2011
    ASSIGNMENT #2

    .

    Fundamentals of Algorithms
    CS502-Fall 2011
    ASSIGNMENT #2
    Deadline
    Your assignment must be uploaded/submitted at or before 21stNov. 2011
    Uploading instructions
    Please view the assignment submission process document provided to you by
    the Virtual University to upload the assignment.
    Rules for Marking
    It should be clear that your assignment will not get any credit if:
    oThe assignment is submitted after due date.
    oThe submitted assignment does not open or run.
    oThe assignment is copied.
    Objectives
    This assignment will help you to understand the concept of recurrence relations and way
    to solve then and writing asymptotic notation after analyzing and solving recurrences
    .The other main focus is to learn dynamic programming applications and edit distance
    problem solution using dynamic programming technique which will be ultimately
    enhance your vision and logics to think critically and analytically.
    Some basic information for solving assignment question 1 is given below.
    Growth Rate of Function:
    If some function f1(n)>f2(n) for positive values of x then the function f1(x) is said to have
    greater growth rate then f2(x). For example f1(n)=n100 and f2(n)= n99 it is obvious that
    f1(x) has greater growth rate ( 2100 > 299).This concept relate to complexity of algorithm
    ,an algorithm having greater growth rate function means the algorithm has greater
    complexity here f1(x) is more complex then f2(x).
    Books to read for solution
    Cormen, Leiserson, Rivest, and Stein (CLRS) 2001, Introduction to Algorithms, (2nd ed.)
    McGraw Hill.
    Estimated Time 3.5 hours
    Your concepts and logics will take actual measure of time ;however first question
    should not take more than 2 hour and for question 2 you may solve in 1.5 hours It
    all depends upon your sheer concentration.
    Question# 1 (10)
    Arrange the following in the Least to Most complexity order. Here “n “is the input size
    for the some complexity function and j< k and j & k are numbers greater than 2.Every
    function is separated by “comma” and note these are 20 functions to arrange.
    7 2
    2 4 9
    11 3
    n/10000, 10n6k/2, n12j/4, nlgn, nn , 1000000000, 2n , n lgn, n!, (2nn n )/ n ,
    n!/ n , 2nnlogn/ n , n!/logn, 1000000, n / n,n(logn) n,
    n / n, n(logn) n, kn , jn
    Question# 2 (10)
    Carry out the radix sort on the following five digits numbers and also develop
    complexities function and then write worst case Theta Θ notation for the radix sort algorithm.
    45141,16545,11478,12196,12133,21322,31422,31511,11 262,27210


    Sponsored Links

  2. #2
    Administrator Vuhelper's Avatar
    Join Date
    Apr 2011
    Posts
    9,578
    solution are in attachment
    Attached Files Attached Files

  3. #3
    Junior Member
    Join Date
    Aug 2010
    Posts
    1
    thanks dear

  4. #4
    Administrator
    Join Date
    Oct 2011
    Posts
    468
    hmmmmmmm
    03009520262
    Rabeel Website

  5. #5
    Junior Member
    Join Date
    Nov 2011
    Posts
    1
    2nd question ka solution ka solution kiter ha yar ...plxxxxxxxxxxxxxxxxxxx jaldi batyo

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 11
    Last Post: 10-29-2011, 09:36 PM
  2. Replies: 4
    Last Post: 07-10-2011, 04:16 AM
  3. Replies: 0
    Last Post: 06-12-2011, 02:59 AM
  4. CS502 Assignment Solution Required!!!!!!!!
    By Zeshan Awan in forum Mcs
    Replies: 3
    Last Post: 11-12-2010, 05:10 AM
  5. CS502 Assignment 2 Solution Spring 2010 May 8
    By viki in forum Assignments & Solutions
    Replies: 0
    Last Post: 05-08-2010, 05:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
-: Vuhelp Disclaimer :-
None of the files shown here are hosted or transmitted by this server. The links are provided solely by this site's users. The administrator's or staff of Vuhelp.net cannot be held responsible for what its users post, or any other actions of its users. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms. If you have any doubts about legality of content or you have any suspicions, feel free to contact us.
Online Education | JhelumSoft