CodeHS JavaScript

CodeHS JavaScript

8th - 12th Grade

21 Qs

quiz-placeholder

Similar activities

Latihan Soal SIMKOMDIG

Latihan Soal SIMKOMDIG

12th Grade

20 Qs

Latihan PSAS Kelas 9

Latihan PSAS Kelas 9

9th Grade - University

20 Qs

Trắc nghiệm Tin học 9 (Phần mềm trình chiếu)

Trắc nghiệm Tin học 9 (Phần mềm trình chiếu)

9th Grade

20 Qs

Summative Test in EMPTECH 3rd

Summative Test in EMPTECH 3rd

12th Grade

20 Qs

Cyber Skills Quiz 1 - Y9

Cyber Skills Quiz 1 - Y9

9th Grade

19 Qs

kiểm tra 15p tin 8 ki 2

kiểm tra 15p tin 8 ki 2

6th - 8th Grade

21 Qs

TO PAS AIJ

TO PAS AIJ

11th Grade

20 Qs

12-րդ դասարան: Թեմատիկ աշխատանք: 2-րդ կիսամյակ

12-րդ դասարան: Թեմատիկ աշխատանք: 2-րդ կիսամյակ

9th - 12th Grade

17 Qs

CodeHS JavaScript

CodeHS JavaScript

Assessment

Quiz

Computers

8th - 12th Grade

Practice Problem

Medium

Created by

Greg Baker

Used 323+ 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

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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 ++ ?

Modulo
increment
Decrement
Addition

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?