
Unit 6 Test - Algorithms
Authored by Nicholas Gray
Computers
9th - 12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true of algorithms?
Algorithms may have an infinite set of instructions
Not every algorithm can be constructed using combinations of sequencing, selection, and iteration
Algorithms must be expressed using a programming language
Not all problems can be solved with an algorithm
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following algorithm is followed by a teacher every morning when they get to their classroom:
1. Unlock classroom door.
2. Turn on the power.
3. Turn on the computer.
4. Write learning objectives on the board.
5. Check emails.
6. Get coffee.
7. Greet students as they arrive.
Execution
Sequencing
Selection
Iteration
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these algorithms will move the robot along the same path as the algorithm shown?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A school bus driver is deciding what order to pick up the students in. They want to pick an order that minimizes the gas the school bus has to use. What term best defines the kind of problem?
An undecidable problem
An optimization problem
A decision problem
An efficiency problem
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The algorithm shown is used to find the smallest element in a list of numbers.
By modifying one of the lines in the program it is possible to make the algorithm find the LARGEST element. Which line would need to be modified and how?
Line 04 becomes IF (num > target)
Line 01 becomes target <- list[2]
Line 04 becomes IF (num = target)
Line 01 becomes list[0] <- target
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Assume that sum is initialized to 0. Which of the following algorithms finds the sum of the even integers from 2 to 20?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This graph shows the efficiencies of two different sorting algorithms. Which of the following is most efficient?
Algorithm B is more efficient than Algorithm A.
They are equally efficient.
They are solving an undecidable problem so we cannot say which is more efficient.
They have different efficiencies depending on input size.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
16 questions
Pixlr E Review
Quiz
•
10th Grade
10 questions
Unit 4 Advanced AP CSP
Quiz
•
9th - 12th Grade
10 questions
Cyber Security
Quiz
•
1st - 10th Grade
16 questions
Acceptable Use Policy
Quiz
•
6th - 9th Grade
19 questions
UNIT 1.2 MEMORY
Quiz
•
10th Grade
15 questions
After Effect Intoduction
Quiz
•
10th Grade - University
10 questions
Inspire - AI Trivia
Quiz
•
11th Grade
10 questions
Empowerment Technologies Quiz 2
Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade