Question

In: Computer Science

In your own words, describe the purpose behind performing algorithm analysis. C++.

In your own words, describe the purpose behind performing algorithm analysis.

C++.

Solutions

Expert Solution

An algorithm is a set of simple instructions to be followed to solve aproblem. Once an algorithm is given for a problem and decided to be correct over other algorithm's,an important step is to determine how much in the way of resources, such as time or space, the algorithm will require. The analysis of algorithms is the process of finding the computational complexity of algorithms such as the amount of time, storage, or other resources needed to execute them. Generally the analysis of algorithms involves determining a function that relates the length of an algorithm's input to the number of steps it takes or the number of storage locations it uses. An algorithm is said to be efficient when this function's values are small, or grow slowly compared to a growth in the size of the input. Differnt algorithm's show different behaviour interms of time and space complexity for the same input to perform a problem. It allows us to compare the relative costs of two or more algorithms for solving the same problem. By analysing the performances of different algorithm's, We can classify them in terms of best, average and worst case scenario for solving a problem. This helps us choose the better algorithm for solving the problem over other algorithm's.


Related Solutions

In your own words describe globalization and the driving forces behind it. Do you think there...
In your own words describe globalization and the driving forces behind it. Do you think there is opposition to globalization? Who may be opposed to it, and why?
In your own words (Easy words, not difficult one), describe potential errors when performing multiple regression....
In your own words (Easy words, not difficult one), describe potential errors when performing multiple regression. What are some ways to respond to such pitfalls? In addition, describe ways to prevent such pitfalls during data collection. ( Please answer the questions asked, I already asked this question before, but the expert answered something else).
In your own words, describe the role of the NAC2 protein in C. reinhardtii. In your...
In your own words, describe the role of the NAC2 protein in C. reinhardtii. In your description be sure to include the location of the nac2 and psbD genes as well as the mRNAs, and proteins that are encoded by these genes.
10. In your own words, describe the purpose of the [ADJ] consolidation entry when the parent...
10. In your own words, describe the purpose of the [ADJ] consolidation entry when the parent company applies the cost method of pre-consolidation bookkeeping.
1. Describe in your own words the structure of DNA. 2. Describe in your own words...
1. Describe in your own words the structure of DNA. 2. Describe in your own words how DNA makes copies of itself. (I.e. Describe DNA replication.). Protein synthesis involves two processes, transcription and translation. Describe in your own words how each process occurs. Transcription Translation
In your own words, what is the purpose of a payroll system.
In your own words, what is the purpose of a payroll system.
Discuss in your own words the major characteristics of a Project. In your own words, describe...
Discuss in your own words the major characteristics of a Project. In your own words, describe the benefits of a structured Project approach.
- On your own words, explain the purpose and the importance of the income statement, and...
- On your own words, explain the purpose and the importance of the income statement, and prepare the income statement for Max company based on the following information taken from the trial balance in December 2018 Revenue 70,000 Supplies expense 3,000 Rent expense 6,000 Wages expense 22,000
In your own words, describe the similarities and differences between a business plan, feasibility analysis, and...
In your own words, describe the similarities and differences between a business plan, feasibility analysis, and business model.  
Describe in your own words how a company could combine an analysis of demand at various...
Describe in your own words how a company could combine an analysis of demand at various price levels and a thorough exercise in target costing in an effort to maximize the profit of a new replacement version of a product it is considering introducing. Assume you have good data about relative demand at various price points, including how much certain product attributes would increase demand at various prices, and have a solid handle on existing fixed costs that would exist...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT