
CPT C07 Algorithm Design
Quiz
•
Information Technology (IT)
•
9th Grade
•
Practice Problem
•
Hard
woai chemhepython
FREE Resource
Enhance your content in a minute
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
web-тайпа
Quiz
•
9th Grade
10 questions
Aula 10
Quiz
•
9th - 12th Grade
10 questions
Тест по спискам в Python
Quiz
•
9th Grade
10 questions
Blockly Programming Quiz [Level 1A]
Quiz
•
7th Grade - University
15 questions
Ulangan Harian Berpikir Komputasional
Quiz
•
9th Grade
10 questions
Network Configuration Quiz
Quiz
•
9th - 12th Grade
10 questions
Kuis berpikir komputasional
Quiz
•
9th Grade
10 questions
Asesmen Diagnostik SUMIFS
Quiz
•
8th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Meiosis vs mitosis
Quiz
•
9th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
16 questions
Ethos, Pathos, Logos Practice
Quiz
•
9th Grade
15 questions
Two Step Equations
Quiz
•
9th Grade
