Reference no: EM131268878
Question:
In the code for each algorithm, implement a counter to count the number of operations, which will be used to compare the algorithms. The input unsorted sequences need to be randomly generated with different input size.
The number of operations for each algorithm under different input sizes will be plotted in Project description
In this project, you will implement three sorting algorithms and perform experiments to evaluate their performance. Three algorithms are:
Selection/Insertion Sorting (pick one)
Merge Sorting
Quick Sorting
Performance evaluation
In the code for each algorithm, implement a counter to count the number of operations, which will be used to compare the algorithms. The input unsorted sequences need to be randomly generated with different input size.
The number of operations for each algorithm under different input sizes will be plotted in figures in which x axis is the input size and y axis is the number of operation (If the input scale from 10, 20, .. 1 million, use logarithm scale).
Draw your conclusion based on the plotted figures. Compare your conclusion with these algorithms'''' big Oh notation
Platform
C++
What to submit
1. Source code for the algorithms
2. Files used to store the input (if you use separate file to store input)
3. Readme file about how to run your code, arguments, expected outputs and so on.
4. Detailed report including how the experiments are designed, how the inputs are organized, how the number of operations is counted (what you count, comparison, exchange or every statement), the performance figure and your conclusion
Area under the standard normal curve
: A normally-distributed data set has a mean of 30 and a standard deviation of 5. What is the area under the standard normal curve for data greater than 35? Round your answer as a decimal rounded to the nearest thousandth.
|
Graph the revenue function r
: Suppose that the cost function C(x) (in dollars) for the company in Problem is C(x)= 830 + 396x.- Graph the revenue function R.
|
Evaluate the most promising trends
: How has the environmental movement influenced contemporary religion, both in its influence on the expressions of traditional religions and in the resurgence of new religious movements and themes? Evaluate the most promising trends.
|
Find the number of blue balls
: The number of green balls is 1 more than 1/3 the number of blue balls. In total, she has 15 balls. An equation created to find the number of blue balls will have one solution , no solution, or infinitely solutions.
|
Implement a counter to count the number of operations
: You will implement three sorting algorithms and perform experiments to evaluate their performance - implement a counter to count the number of operations, which will be used to compare the algorithms. The input unsorted sequences need to be random..
|
Base of an exponential function
: 1. The functions f(x)=2-x and g(x) = -2xf(x)=2-x and g(x) = -2x have the same graph. 2. The base of an exponential function can be any real number.
|
Prepare erd plus versions of tal and cat
: Reports (10 Bonus pts. each Report & Query): TAL Subtotal Orders by Customer (3 Bonus pts). Include SQL for Query used for Report. TAL Subtotal Orders by Items (3 Bonus pts). Include SQL for Query used for Report
|
What research design did rogers use in his studies
: How much congruence do you think there is between your actual, ideal, and ought selves? How does this affect how you think, feel, and act?
|
Graph your function using transformations
: 1. What do the values of a, h , and k in F(x) = a(x-h)^2+k tell you about the graph of the function compared to the graph of f(x) = x^2 ? Give an example to illustrate your explanation.
|