
Algorithms

Quiz
•
Computers
•
10th - 12th Grade
•
Hard
Hannah Carroll
Used 45+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true of algorithms?
A. Algorithms may have an infinite set of instructions
B. Algorithms must be expressed using a programming language
C. Every algorithm can be constructed using combinations of sequencing, selection, and iteration
D. Every problem can be solved with an algorithm
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following algorithm is followed by a person every morning when they get up from bed to go to school:
1. Wake up Brush teeth
2. Put on shirt
3. Put on pants
4.Put on socks
5. Put on shoes
6. Tie shoes
Which concept does this algorithm BEST demonstrate?
A. Sequencing
B. Selection
C. Iteration
D. Execution
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these algorithms will move the robot along the same path as the algorithm below?
REPEAT 2 TIMES
{
REPEAT 3 TIMES
{
MOVE_FORWARD()
}
ROTATE_LEFT()
MOVE_FORWARD()
ROTATE_RIGHT()
}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A town government is designing a new bus system and are deciding where to put the different bus stops. They want to pick the collection of locations that minimizes the distance anyone needs to walk in order to get to at least one bus stop. What term best defines the kind of problem?
A. A decision problem
B. An optimization problem
C. An undecidable problem
D. An efficiency problem
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The algorithm below is used to find the largest element in a list of numbers.
By modifying one of the lines in the program it is possible to make the algorithm find the SMALLEST element. Which line would need to be modified and how?
01 target <- list[1]
02 FOR EACH num IN list
03 {
04 IF(num > target)
05 {
06 target <- num
07 }
08 }
09 DISPLAY(target)
A. Line 01 becomes target <- list[2]
B. Line 04 becomes IF (num < target)
C. Line 04 becomes if (num <= target)
D. Line 01 becomes list[0] <- target
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following algorithms is the same as the flowchart shown below?
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
This graph shows the efficiencies of two different algorithms that solve the same problem. Which of the following is most efficient?
A. These algorithms are equally efficient
B. Algorithm A is more efficient than algorithm B
C. Algorithm B is more efficient than algorithm A
D. The algorithms have different efficiencies depending on the input size
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Intro to Algorithms

Quiz
•
10th Grade
13 questions
CCIS 104 Quiz #1.2

Quiz
•
12th Grade
20 questions
T-Level DPDD: Algorithms Quiz

Quiz
•
11th Grade
10 questions
AP CSP code.org Unit 3 2020

Quiz
•
9th - 12th Grade
18 questions
Search & Sort Algorithms

Quiz
•
7th - 11th Grade
20 questions
2.1 Algorithms

Quiz
•
10th - 12th Grade
16 questions
Searching & Sorting Algorithms

Quiz
•
10th Grade - University
20 questions
Algorithms & Code

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

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

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
CTEA Computer Vocab Terms #1

Quiz
•
12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade