CodeHS JavaScript
Quiz
•
Computers
•
8th - 12th Grade
•
Practice Problem
•
Medium
Greg Baker
Used 325+ times
FREE Resource
About this resource
This quiz covers JavaScript programming fundamentals, focusing on syntax, operators, control structures, and basic web development concepts appropriate for grades 9-12. The questions assess students' understanding of core programming constructs including conditional statements (if/else), logical operators (&&, ||, !), arithmetic operators (++, --), loops (for, while), data types (boolean, string, integer), and JavaScript's role in web development. Students need to demonstrate knowledge of proper syntax conventions, including case sensitivity, operator precedence, and the distinction between assignment (=) and comparison (===) operators. The quiz also covers JavaScript-specific concepts such as coordinate systems for graphics, HTML integration through script tags, and the language's interpreted nature. Students must understand how conditions evaluate to boolean values, how loops iterate starting from zero, and how JavaScript provides interactivity within the web development ecosystem alongside HTML and CSS. Created by Greg Baker, a Computer Science teacher in the US who teaches grades 8-12. This quiz serves as an excellent formative assessment tool for students learning JavaScript programming fundamentals, allowing teachers to quickly gauge comprehension of essential syntax and concepts before advancing to more complex topics. The quiz works effectively as a warm-up activity at the beginning of class to reinforce previously taught material, or as homework to solidify understanding of JavaScript operators, control structures, and basic programming logic. Teachers can use this assessment to identify students who need additional support with fundamental concepts like operator precedence, loop construction, and conditional logic before progressing to functions, objects, or DOM manipulation. The content aligns with Computer Science standards including CSTA K-12 Computer Science Standards 3A-AP-13 (creating prototypes using programming constructs), 3A-AP-15 (using control structures), and 3A-AP-16 (designing programs using variables and expressions).
See more
Enhance your content in a minute
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
His name is Fred and he is less than 16 years old
if (name = "fred" && age < 16 )
if (name === "fred" && age < 16 )
if (name = "fred" || age < 16 )
if (name === "fred" || age < 16 )
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Repeat something 10 times
repeat 10
for (var i=0; i<10; i++)
repeat { } until 10;
while (i = 10)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the symbol used for the INCREMENT operator in JS?
+
++
=
==
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Conditions return values of which data type?
Integer
boolean
floating-point
string
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Loops in programming start counting from ?
0
1
Any number
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol represents the or operator in JavaScript?
OR
or
||
|
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Arithmetic Operators
What is ++ ?
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
20 questions
Soal Kelas 9 Semester 1
Quiz
•
9th Grade
18 questions
Menyisipkan gambar ms word
Quiz
•
10th Grade
20 questions
CodeHS Div & Spans
Quiz
•
7th - 12th Grade
20 questions
HTML QUIZ # 3
Quiz
•
10th Grade
21 questions
HTML5 & CSS3 Refresher
Quiz
•
7th - 12th Grade
20 questions
C/ C++
Quiz
•
12th Grade
20 questions
Excel էլեկտրոնային աղյուսակներ
Quiz
•
5th - 10th Grade
20 questions
Soal soal pemograman website
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
