Which of the following best describes a loop that runs 10 times?

Gifted & Talented Coding Diagnostic Exam

Quiz
•
Instructional Technology
•
9th - 12th Grade
•
Hard
Ashraf Milhim
FREE Resource
44 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
repeat until x = 10
for x = 1 to 10 do
while x > 10
repeat forever
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this pseudocode output? if x > 5 then print("A") else print("B") end if Given x = 3:
A
B
AB
None
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following pseudocode? x = 3 y = 2 if x > y then print("X") else print("Y") end if
Y
X
XY
None
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure is best for accessing elements by an index?
Queue
Stack
Array
Linked List
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times will the loop run? count = 0 while count < 3 do count = count + 1 end while
2
3
4
Infinite
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following pseudocode do? result = 0 for x = 1 to 5 do result = result + x end for
Calculates the product of 1 to 5
Calculates the sum of 1 to 5
Prints numbers from 1 to 5
Nothing
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of searching in a sorted array using binary search?
O(n)
O(log n)
O(n^2)
O(1)
Create a free account and access millions of resources
Similar Resources on Quizizz
40 questions
Robotics 2021 Review

Quiz
•
9th - 10th Grade
40 questions
GOOGLE SHEETS (8-12)

Quiz
•
8th - 12th Grade
46 questions
Learning Cycle 1, Universal Systems Model

Quiz
•
12th Grade
40 questions
Diagnostic Quiz ICT

Quiz
•
9th - 10th Grade
40 questions
Sistem Kontrol Terprogram XI

Quiz
•
11th Grade
39 questions
Repàs Arduino

Quiz
•
10th Grade
41 questions
Indesign

Quiz
•
11th Grade
40 questions
Grade 11 Q1 Quiz

Quiz
•
11th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Instructional Technology
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
10 questions
Right Triangles: Pythagorean Theorem and Trig

Quiz
•
11th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade
24 questions
LSO - Virus, Bacteria, Classification - sol review 2025

Quiz
•
9th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade