Chapter 16 Exam Review

Chapter 16 Exam Review

8th Grade

20 Qs

quiz-placeholder

Similar activities

Computer Science Pop Quiz

Computer Science Pop Quiz

8th Grade

20 Qs

Computer Science Vocabulary Quiz

Computer Science Vocabulary Quiz

8th Grade

15 Qs

Chapter 12 Exam Review

Chapter 12 Exam Review

8th Grade

20 Qs

Python Review

Python Review

6th - 8th Grade

16 Qs

Scratch Pre-knowledge

Scratch Pre-knowledge

3rd Grade - University

15 Qs

Soal Latihan Informatika Kelas 8

Soal Latihan Informatika Kelas 8

8th Grade

20 Qs

List and Tuple Questions

List and Tuple Questions

8th Grade

20 Qs

Understanding Computers and Technology

Understanding Computers and Technology

8th Grade

20 Qs

Chapter 16 Exam Review

Chapter 16 Exam Review

Assessment

Quiz

Information Technology (IT)

8th Grade

Easy

Created by

Ashley Brown

Used 26+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a "Big O" function tell you?

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

Media Image

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?