answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: How does the efficiency of a program depend upon the algorithm?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Does resistance depend upon current?

The higher the resistance the lower the current flow. It restricts the flow of electrical current. The resistance will not depend upon the current. The current flow will depend on the resistance.


What is the quick sort program using linked list and recursive methods?

Linked lists are not ideally suited to the quicksort algorithm because linked lists do not provide constant-time random access. The most efficient means of implementing quicksort upon a list is to move all the elements to an array, sort the array using quicksort, then move the elements back into a list. This increases the complexity by O(n*2), which is costly, but is more than compensated for by the improved efficiency of sorting an array.


Why is time or a clock important in computer programming?

Clocks and timers are really only of importance if you need to observe the passage of time, whether as part of the program itself or in order to test the performance of an algorithm. Real-time or time-critical programs are obviously heavily reliant upon the accurate passage of time, however even a program that is not reliant upon time may occasionally inspect the system clock to determine the current date and time, such as when producing a log entry.


Time complexity of selection sort?

Merge sort (or mergesort) is an algorithm. Algorithms do not have running times since running times are determined by the algorithm's performance/complexity, the programming language used to implement the algorithm and the hardware the implementation is executed upon. When we speak of algorithm running times we are actually referring to the algorithm's performance/complexity, which is typically notated using Big O notation. Mergesort has a worst, best and average case performance of O(n log n). The natural variant which exploits already-sorted runs has a best case performance of O(n). The worst case space complexity is O(n) auxiliary.


What is the difference between data and programs?

Data is the information that a program will act upon. For example, your data might be all of your financial records for the past year, and the program would be some piece of tax software. The program will act upon your data so that the appropriate numbers are placed in the appropriate fields on your tax return.

Related questions

What is algorith and flow chart with example?

Flowchart is a graphically or design representation of solution. algorithm is a step by step solution of a results whose written in simple english.anyone understand it easily and make program.


What is an interesting fact about solar power?

Its efficiency does not depend on sun It depends upon receiver end equipment and its properties.


How do you do the algorithm?

The question is not specific enough. There are thousands upon thousands of algorithms - not just one. So we have no way of knowing which algorithm you are talking about!


Where is the trademark key on the standard keyboard?

There isn't one. How you input a character like this will depend upon the word processing (or similar) program you are using.


How much is an autographed duke ellington program From the1940s worth?

It would very much depend upon how many of the band had also signed the program. If it was just Duke's signature, possible $100 on a good day.


Do you depend on people or depend upon people?

Both are correct.


What does diffusion not have to depend upon?

energy


Is CGPA 2.2 can take GRE course for scholarship in US and Canada?

yes it not depend upon on cgpa but depend upon on skills..............


What ends with end and has to do with trust or relying on?

depend, as in to depend upon someone is to need them.


What are the economic social and political standings of white Americans?

The economic, social and political standings of white Americans would depend upon who the people are. It may depend upon where they live. It may also depend upon what type of background they have come from.


Does resistance depend upon current?

The higher the resistance the lower the current flow. It restricts the flow of electrical current. The resistance will not depend upon the current. The current flow will depend on the resistance.


In a market economy the money incomes of individuals depend primarily upon?

In a market economy, the money incomes of individuals depend primarily upon