CodeHS JavaScript Control Functions

CodeHS JavaScript Control Functions

8th - 12th Grade

21 Qs

quiz-placeholder

Similar activities

Bài 11: KIỂU MẢNG MỘT CHỀU

Bài 11: KIỂU MẢNG MỘT CHỀU

1st - 10th Grade

20 Qs

Python Quiz (part 1)

Python Quiz (part 1)

9th - 12th Grade

20 Qs

Tin học 8: Kiểm tra 15 phút

Tin học 8: Kiểm tra 15 phút

1st - 12th Grade

20 Qs

ActionScript

ActionScript

11th Grade - University

18 Qs

Review JavaScript

Review JavaScript

11th Grade - University

20 Qs

StVirgils Python Loops and Conditionals Quiz

StVirgils Python Loops and Conditionals Quiz

8th Grade

18 Qs

BÀI TẬP KIỂU XÂU

BÀI TẬP KIỂU XÂU

11th Grade

20 Qs

Thi HK1 Lớp 8 - Đề 2

Thi HK1 Lớp 8 - Đề 2

8th Grade

20 Qs

CodeHS JavaScript Control Functions

CodeHS JavaScript Control Functions

Assessment

Quiz

Computers

8th - 12th Grade

Medium

Created by

Greg Baker

Used 80+ times

FREE Resource

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

When we are done with a line what do we put at the end?

a colon :

a semi-colon ;

a period .

a quotation mark "

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When we surround a word with quotes "David" it's called ?

a program

a loop

a string

a command

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable

Store values in containers so we can use them later.

Store values in containers so we can use them never.

Store values in containers so we can use them once.

Store values in containers so we can't use them later.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A short form writing the word variable is

rav

VAR

var

varia

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the symbol used for the INCREMENT operator in JS?

+

++

=

==

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?