
Algorithm questions
Authored by Toby Adams
Computers
12th Grade - University
Used 78+ times

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
45 sec • 1 pt
Consider this list of numbers: 9 3 6 8 4 7. An algorithm compares 9 and 3 followed by 9 and 6 followed by 9 and 8. Which algorithm is being described?
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Comparing a bubble sort to the insertion sort, which is the better algorithm in terms of time complexity on average?
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Consider this list of numbers: 3 4 6 7 8 9. If the number 9 was to be found using a linear search, how many comparisons need to be made?
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the main disadvantage of a binary search compared to a linear search?
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
An advantage of pseudocode is that:
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The recursive algorithm to perform a post-order traversal of a binary tree can be described simply as:
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The recursive algorithm to perform a pre-order traversal of a binary tree can be described simply as:
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
15 questions
Fundamentals of Algorithms - Unit 1 - Test 1
Quiz
•
University
20 questions
Sistemas GNU LInux v2
Quiz
•
University
20 questions
PERKEMBANGAN & SISTEM KOMPUTER
Quiz
•
University
20 questions
Pointers
Quiz
•
12th Grade
18 questions
UML - Orientação a Objetos
Quiz
•
University - Professi...
20 questions
History of Package Design
Quiz
•
9th - 12th Grade
15 questions
8051-MCQ
Quiz
•
University
19 questions
Programación Básica Prácticas Tema 2
Quiz
•
University
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