
CPT C07 Algorithm Design
Quiz
•
Information Technology (IT)
•
9th Grade
•
Hard
woai chemhepython
FREE Resource
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
To find the maximum value in a list without using max(), which algorithmic approach is correct?
Start with current = 0, then compare every item
Start with current = list[0], then compare and replace if larger
Use sum(list) and divide by length
Sort list and pick last element
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which describes correctly how to calculate the average of numbers in a list without using sum()?
Add… sum divided by count
Multiply all and take root
Use list indexing
Use len() only
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of these are valid linear search steps without using index()?
Iterate list with for i in range(len(list))
Compare each element to target
Skip iteration if target is found
Return index when match found
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
To extract items from a list based on a condition (e.g. values > 10), you typically loop and .................... each satisfying item into a new list.
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
The technique of solving many small instances manually to identify the general steps is called ___.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A school canteen tracks daily sales of items. You need to design an algorithm to find the most popular item sold without using the built‑in max function.
Which of the following is the best approach?
Sort counts descending, pick first
Set best = counts[0], loop and replace if higher
Use average to estimate boundary
Compare only first and last entries
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Designing a linear search algorithm for a list of student IDs to verify attendance (stop search when found). Which steps apply?
Loop over list indexes
Compare element vs ID
Stop loop as soon as ID found
Continue scanning the entire list even if found
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Математичні та статистичні функції – max, min, sum, average, co
Quiz
•
9th Grade - University
10 questions
Aula 09
Quiz
•
9th - 12th Grade
10 questions
NAVIGATING MS WORD 365
Quiz
•
9th - 12th Grade
5 questions
pengenalan pemprograman prosedural1
Quiz
•
8th Grade - University
10 questions
Materi Berpikir Komputasional
Quiz
•
9th Grade - University
15 questions
Bab 2 Algoritma Kelas 9 A - K
Quiz
•
9th Grade
10 questions
ICT BEL 4
Quiz
•
4th Grade - University
11 questions
Python (basics)
Quiz
•
1st Grade - University
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
12 questions
Graphing Inequalities on a Number Line
Quiz
•
9th Grade
20 questions
Cell Organelles
Quiz
•
9th Grade
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
20 questions
Cell Transport
Quiz
•
9th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
