Search Header Logo

Chapter 16 Exam Review

Authored by Ashley Brown

Information Technology (IT)

8th Grade

Used 26+ times

Chapter 16 Exam Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?