
WIA2005 Lecture 1 Asymptotic Notation
Authored by ASMIZA SANI
Computers
University
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is an algorithm?
An algorithm is any pseudocode that takes some value, or set of values, as input and produces some value, or set of values, as output.
An algorithm is any well-defined computational procedure that takes some value, or set of values, as input and produces some value, or set of values, as output.
An algorithm is any transformation method that takes some value, or set of values, as input and produces some value, or set of values, as output.
An algorithm is any programming code that takes some value, or set of values, as input and produces some value, or set of values, as output.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
We study algorithm for the following reason, except:
Algorithms help us to understand scalability.
Algorithmic mathematics provides a language for talking about program behaviour.
Correctness is the currency of computing.
The lessons of program performance generalize to other computing resources.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
These are all the properties that an algorithm should have, except:
There can be no ambiguity as to which step will be performed next.
It must be composed of a infinite number of steps.
It must be correct.
It must terminate.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The rate of growth is _______.
the rate at which running time is bounded by a function.
the rate at which the input number is increasing.
the rate at which running time increases as function of input.
the rate at which the running time is increasing.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Big O notation represents______.
the worst time (upper bound)
the best time (lower bound)
the average time
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the asymptotic notation for the following function?
f(n) = n1/2 + 5
T(n) = O(n)
T(n) = O(n1/2)
T(n) = O(n) +5
T(n) = O(n1/2 + 5)
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If function f is bounded below by function g asymtotically, what is the appropriate asymptotic notation?
g(n) = Ω(f(n))
f(n) = Ω(g(n))
f(n) = O(g(n))
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?