Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Activity 1 . The goal of the activity is to enable students to discuss the concept of growth rate, and growth order / asymptotic order,
Activity
The goal of the activity is to enable students to discuss the concept of growth rate, and growth orderasymptotic order, recall the definition of big O notation and evaluate the asymptotic order of seven growth functions.
Task Which statements are correct about these following seven runtime functions :
TN
TN logN
TN N
TN N
TN N
TN N logN
TN N
Hints:
The order of a function describes how the function scales as the inputs increases to infinite. Seven typical functions are in an increasing order:
asymptoticorder.jpgpng
If the growth rates of two functions are the same, these two functions belong to the same time complexity group, denoted as in the big O notation:
For example, TNTNNNTNTNNN when TN and T N
or
TNTNNNTNTNNN when T N and T N
or plottabulate it
O OlogN ON ONlog N O N
N Alg. A TN Alg. B TNlogN Alg. C TNN Alg. D TNN Alg. E TNN Alg. F TNNlogN Alg. G TNN
E
E
E
EWith the input size increasing, all these runtime functions grows.
With the input size increasing, some of these runtime functions grow at the same rate.
With the input size increasing, some of these runtime functions grow at the different rates.
With the input size increasing, runtime functions and grow at
the same scale.
With the input size increasing, the growth rate of is constant.
Based on the scalability of growth rates of all these functions, we could use big notation to
categorize or classify these functions:
The growth function is constant
The growth function is logarithmic
The growth function is linear
All these belong to the same group of growth functions which asymptotic
order is linear, according to input size
The growth function is loglinear
The growth function is quadratic
The asymptotic order of the growth functions: the group functions represented by have
higher growth order than is larger than is larger than and
is larger than
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started