
Code.org Unit 4
Quiz
•
Computers
•
10th - 12th Grade
•
Practice Problem
•
Medium
Used 3K+ times
FREE Resource
About this resource
This quiz focuses on fundamental programming concepts in computer science, specifically covering variables, conditional statements, loops, functions, and program flow control. The content is appropriate for grades 10-12, as it requires students to trace through code execution, predict outputs, debug logical errors, and understand Boolean expressions and control structures. Students need a solid foundation in programming syntax, the ability to follow sequential and conditional program execution, understanding of variable assignment and reassignment, and knowledge of function definition and calling conventions. The questions assess critical thinking skills as students must analyze code snippets, identify errors in logic, and determine the most appropriate conditional structures for real-world scenarios like ticket pricing systems. This quiz was created by a classroom teacher who designed it for students studying computer programming in grades 10-12. The assessment serves as an excellent tool for formative assessment during a unit on programming fundamentals, allowing teachers to gauge student understanding of essential coding concepts before moving to more complex topics. Teachers can deploy this quiz as a review activity before a summative assessment, assign it as homework to reinforce classroom learning, or use individual questions as warm-up activities to begin programming lessons. The varied question formats—from code tracing to debugging to practical application scenarios—make this quiz versatile for supporting instruction throughout a programming unit. This content aligns with standards such as CSTA K-12 Computer Science Standards 3A-AP-13 (creating prototypes), 3A-AP-15 (using control structures), and 3A-AP-17 (decomposing problems into functions).
See more
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What number will be output by the console.log command on line 7?
10
100
20
200
Answer explanation
Notice the destructive reassignment on line 5
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What number will be output by the console.log command on line 5?
10
11
12
13
16
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What number will be output by the console.log command on line 5?
10
25
30
35
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What text will be output by the program?
Less than 10
Less than 20
Less than 30
30 or more
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What text will be output by the program?
Output A
Output B
Output C
Output D
Output E
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the order of letters printed to the console when this program is run?
a b c
a b c b c b c
a b c b c
a b c a
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
"You win!" never displays. What line is responsible for this error?
1
3
4
5
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
11 questions
Chapter 6 Part 2 - 4
Quiz
•
11th - 12th Grade
10 questions
hardware and software(g3)
Quiz
•
2nd - 10th Grade
10 questions
EMPTECH L4 Q3
Quiz
•
12th Grade
10 questions
Microcontroller
Quiz
•
11th Grade - University
14 questions
Input, output and storage de
Quiz
•
8th Grade - Professio...
10 questions
Network
Quiz
•
10th - 11th Grade
10 questions
ZOOM QUIZ
Quiz
•
1st - 12th Grade
20 questions
Computer Fundamentals
Quiz
•
10th Grade
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
