
Algorithm Efficiency

Quiz
•
Computers
•
9th Grade - University
•
Hard
Halil Ozer
Used 65+ times
FREE Resource
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
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
Algorithm A
Algorithm B
Algorithm C
Algorithm D
Similar Resources on Wayground
8 questions
APCSP Big Idea 3 Review

Quiz
•
10th - 12th Grade
6 questions
informed-search-quiz

Quiz
•
University
6 questions
Flowchart

Quiz
•
10th - 12th Grade
7 questions
Complexity Analysis Station [2]

Quiz
•
University
8 questions
quick lil testy test

Quiz
•
12th Grade
8 questions
CS Edexcel 1.2e Efficiency of Algorithms

Quiz
•
9th - 10th Grade
8 questions
AI-GLOW2023-WAC

Quiz
•
University
6 questions
Search Algorithm Recap

Quiz
•
11th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
19 questions
Mental Health Vocabulary Pre-test

Quiz
•
9th Grade