Sponsored Links


Results 1 to 3 of 3

Thread: cs304 idea solution july 2011

  1. #1

    Icon51 cs304 idea solution july 2011

    Sponsored Links1


    GDB Topic Dated: Jul 01, 11
    Dear Student,

    Below is a topic for GDB.You are required to submit your discussion in a mentioned time and duration. Please make sure that your reply should be very precise and to the point.

    GDB will remain open for two consecutive working days. For this you have choice to post your comments from 8th July to 11th July.



    Sponsored Links

    Topic is as follows:

    You know that Polymorphism is an important feature of OOP. Let’s suppose you a programmer and you are given any particular task to code and that task demands more efficient usage of system resources. For this, you have a choice to implement this particular task by using “Static polymorphism” or Dynamic Polymorphism”.



    Give your opinion in three to five concrete points in favor or against of anyone technique of Polymorphism that you will use.

  2. #2
    Junior Member
    Join Date
    Apr 2011
    Posts
    5

    Icon16 Sir g cs304 ki gdb ka solution de dena jaldi....thanks ...

    sir time bohat kam hai. please jaldi se solution de dain. thanks a lot of.

  3. #3
    Dynamic polymorphism refers to an entity changing its form depending on the circumstances.
    A function is said to exhibit dynamic polymorphism when it exists in more than one form, and calls to its various forms are resolved dynamically when the program is executed.
    The term late binding refers to the resolution of the functions at run-time instead of compile time. This feature increases the flexibility of the program by allowing the appropriate method to be invoked, depending on the context.
    Static polymorphism is considered more efficient and dynamic polymorphism more flexible.
    Statically bound methods are those methods that are bound to their calls at compile time. Dynamic function calls are bound to the functions during run-time. This involves the additional step of searching the functions during run-time. On the other hand, no run-time search is required for statically bound functions.
    As applications are becoming larger and more complicated, the need for flexibility is increasing rapidly. Most users have to periodically upgrade their software, and this could become a very tedious task if static polymorphism is applied. This is because any change in requirements requires a major modification in the code. In the case of dynamic binding, the function calls are resolved at run-time, thereby giving the user the flexibility to alter the call without having to modify the code.
    To the programmer, efficiency and performance would probably be a primary concern, but to the user, flexibility or maintainability may be much more important.
    The decision is thus a trade-off between efficiency and flexibility.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 10-10-2012, 09:41 PM
  2. Replies: 33
    Last Post: 12-30-2011, 03:39 PM
  3. Replies: 18
    Last Post: 11-01-2011, 12:10 AM
  4. CS304 GDB July 2011 solution
    By Vuhelper in forum GDB Discussion
    Replies: 1
    Last Post: 07-10-2011, 07:30 PM
  5. Replies: 17
    Last Post: 07-01-2011, 03:09 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