
WIA2005 Lecture 1 Asymptotic Notation

Quiz
•
Computers
•
University
•
Medium
ASMIZA SANI
Used 4+ times
FREE Resource
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))
Create a free account and access millions of resources
Similar Resources on Wayground
6 questions
informed-search-quiz

Quiz
•
University
15 questions
Quiz 1

Quiz
•
University
10 questions
BACS3323 Chapter 5 -Pathfinding-Lecture

Quiz
•
University
15 questions
CNET151 Chapt 8 Encryption

Quiz
•
University
10 questions
Time Complexity

Quiz
•
University
13 questions
Digitaciòn Computarizada.

Quiz
•
University
15 questions
Page Replacement Algorithms

Quiz
•
University
15 questions
ANALYSIS OF ALGORITHMS

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade