
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
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
Already have an account?
Similar Resources on Wayground
20 questions
CSS Acronyms
Quiz
•
9th - 10th Grade
20 questions
Quiz ASJ
Quiz
•
12th Grade
20 questions
Computer Science - X
Quiz
•
8th - 10th Grade
15 questions
4.6.4 Logic Gates
Quiz
•
10th Grade - Professi...
12 questions
Wee Word Intro
Quiz
•
7th - 12th Grade
10 questions
Hour of Code
Quiz
•
2nd - 12th Grade
14 questions
TCP/IP & other protocols [A Level]
Quiz
•
12th Grade
20 questions
Quiz
•
7th - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Computers
15 questions
Internet Vocabulary Notebook Check #2 - CTEA(2024)
Quiz
•
12th Grade
11 questions
Internet Terms Vocabulary- Notebook Check #1- CTEA
Quiz
•
12th Grade
50 questions
Money Matters Fall 2025 Final Exam — Worksheet Questions
Quiz
•
12th Grade
47 questions
CSF Final Exam Practice
Quiz
•
9th - 12th Grade
