What does a "Big O" function tell you?

Chapter 16 Exam Review

Quiz
•
Information Technology (IT)
•
8th Grade
•
Easy
Ashley Brown
Used 26+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The approximate efficiency of an algorithm, given the size of the input data set
The exact run-time of an algorithm, given a specific input data set
The number of MB of RAM a specific input data set will consume
The number of correct answers an algorithm will produce for an input data set
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given the following information, what can we conclude about algorithm 1 and algorithm 2? Algorithm 1: O(5) = 10 Algorithm 2: O(5) = 100
Algorithm 1 will always complete in 10 seconds and Algorithm 2 will always complete in 100 seconds
Algorithm 2 should be more efficient when processing 5 input elements
Algorithm 1 should be more efficient when processing 5 input elements
Algorithm 1, given 10 input elements, will run in the same time as Algorithm 2, given 100 input elements
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If I do a linear search(O(n)) of a list of 100 items, how many possible times will the search have to execute?
7
50
25
100
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If I do a binary search (O(log2n) ) of a list of 100 items, how many possible times will the search have to execute?
7
50
100
23
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can an algorithm's efficiency be measured?
Memory
CPU
Time
All of these are true
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given these algorithmic efficiencies, which of these run in an unreasonable amount of time?
O(n)
O(2n)
O(n2)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given the following efficiency reports for the first five results, which algorithms run in an unreasonable amount of time, given an input of "n" elements?
1 & 2
2 & 3
1 & 3
1, 2, & 3
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Chapter 12 Exam Review

Quiz
•
8th Grade
16 questions
HTML Level 1

Quiz
•
8th Grade - University
25 questions
Code.org lesson 3 and 4 quiz

Quiz
•
7th Grade - University
20 questions
List and Tuple Questions

Quiz
•
8th Grade
15 questions
Computer Systems Quiz

Quiz
•
8th Grade
25 questions
Computer Discoveries I - Games & Animations Test Review

Quiz
•
6th - 8th Grade
20 questions
SOAL LATIHAN

Quiz
•
8th Grade
20 questions
Informatika Quiz 1

Quiz
•
8th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
17 questions
guess the logo

Quiz
•
8th Grade
16 questions
Function or Non-Function?

Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons

Quiz
•
8th Grade