Algorithm Efficiency

Algorithm Efficiency

9th Grade - University

3 Qs

quiz-placeholder

Similar activities

Tinhoc

Tinhoc

1st - 12th Grade

8 Qs

ICT ADVANCED LEVELS

ICT ADVANCED LEVELS

11th - 12th Grade

8 Qs

Module 2- 3rd Topic

Module 2- 3rd Topic

University

7 Qs

quiz reservasi xii upw 2

quiz reservasi xii upw 2

12th Grade

7 Qs

Computational Thinking

Computational Thinking

12th Grade

8 Qs

BÀI 5: SỬ DỤNG CÂU LỆNH LẶP (LỚP 4)

BÀI 5: SỬ DỤNG CÂU LỆNH LẶP (LỚP 4)

1st - 12th Grade

6 Qs

Programy komputerowe i urządzenia techniki komputerowej

Programy komputerowe i urządzenia techniki komputerowej

University

7 Qs

Quiz1

Quiz1

University

8 Qs

Algorithm Efficiency

Algorithm Efficiency

Assessment

Quiz

Computers

9th Grade - University

Practice Problem

Hard

Created by

Halil Ozer

Used 65+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

3 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

For which of the following situations would it be best to use a heuristic in order to find a solution that runs in a reasonable amount of time?

Appending a value to a list of n

elements, which requires no list elements be examined.

Finding the fastest route that visits every location among n

locations, which requires n!

possible routes be examined.

Performing a binary search for a score in a sorted list of n

scores, which requires that fewer than n

scores be examined.

Performing a linear search for a name in an unsorted database of n

people, which requires that up to n

entries be examined.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

A graphic artist uses a program to draw geometric shapes in a given pattern. The program uses an algorithm that draws the shapes based on input from the artist. The table shows the approximate number of steps the algorithm takes to draw different numbers of shapes.


Based on the values in the table, which of the following best characterizes the algorithm for drawing n

shapes, where n

is a very large number?

The algorithm runs in a reasonable amount of time because it will use approximately n

steps to draw n

shapes.

The algorithm runs in a reasonable amount of time because it will use approximately N 2 steps to draw n shapes.

The algorithm runs in an unreasonable amount of time because it will use approximately n steps to draw n shapes.

The algorithm runs in an unreasonable amount of time because it will use approximately N 2 steps to draw n shapes.

3.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Media Image

Algorithm A

Algorithm B

Algorithm C

Algorithm D

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?