
Gifted & Talented Coding Diagnostic Exam
Authored by Ashraf Milhim
Instructional Technology
9th - 12th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
44 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes a loop that runs 10 times?
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)
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
40 questions
Fourth Examination in Empowerment of Technology
Quiz
•
12th Grade
41 questions
The Impact of Economic Factors On Business Function
Quiz
•
7th - 12th Grade
45 questions
ENGLISH MAJOR
Quiz
•
9th - 12th Grade
43 questions
Ch 14: Risk Management
Quiz
•
9th - 12th Grade
40 questions
Automotive Electrical Systems: a 2021 Revision Aid
Quiz
•
10th Grade - University
45 questions
TEST YOUR SKILLS
Quiz
•
10th Grade
43 questions
Y10 Engineering general knowledge
Quiz
•
9th Grade
45 questions
Network Security Quiz
Quiz
•
9th Grade - 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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