Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cs304 idea solution july 2011
#1
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.



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.
Reply
#2
sir time bohat kam hai. please jaldi se solution de dain. thanks a lot of.
Reply
#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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  HRM628 VU Current GDB No. 1 Spring April 2012 Solution required Vuhelper 1 3,674 07-22-2020, 08:06 PM
Last Post: Johnnieaunders
  MGT501 Human Resource Management GDB No. 2 Solution 23rd January 2016 Vuhelper 0 1,816 01-23-2016, 06:07 PM
Last Post: Vuhelper
  MTH302 Business Mathematics & Statistics GDB Solution 23rd January 2016 Vuhelper 0 1,680 01-23-2016, 03:39 PM
Last Post: Vuhelper
  STA630 Research Method GDB 2 solution 23rd January 2016 Vuhelper 0 1,987 01-23-2016, 03:15 PM
Last Post: Vuhelper
  MGT211 Introduction To Business GDB No 1 Solution Ideas Fall 2014 Vuhelper 0 1,668 12-04-2014, 03:20 PM
Last Post: Vuhelper
  MGT101 Financial Accounting GDB Solution and Discussion December 2014 Vuhelper 0 2,861 12-03-2014, 09:05 PM
Last Post: Vuhelper
  MGT201 Financial Management GDB No. 01 Solution Fall 2014 Last date is 4th Dec 2014 Vuhelper 0 2,474 12-03-2014, 03:58 PM
Last Post: Vuhelper
  MGT520 International Business GDB No. 01 Solution and Discussion Fall 2014 viki 0 2,586 12-03-2014, 03:03 PM
Last Post: viki
  GDB No 1 MGT301 Principles of Marketing Solution and Discussion December Fall 2014 viki 0 2,506 12-03-2014, 02:45 PM
Last Post: viki
  MGT602 Entrepreneurship GDB No 1 Discussion and Solution Fall 2014 Vuhelper 0 2,478 12-02-2014, 10:36 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)