Search Header Logo

JavaScript

Authored by Nicholas Robertson

Computers

9th Grade

Used 1K+ times

JavaScript
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What programming language did we learn in class this week?

Karel

Java

JavaScript

Visual Basic

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of these is a loop?

if(x<10)

while(x<10)

var x=10;

text(x,10;10)

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which command provides a random color?

Randomizer.color

Randomizer.nextColor()

RandColor;

nextColor.Randomizer()

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of these will increase the value of the variable X?

increment (x)

x++;

x=x;

x+1;

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following will decrease the value of x?

x--;

x-1;

x=x;

x=-x;

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Greater than or equal to

> or =

> || =

>=

<=

7.

MULTIPLE CHOICE QUESTION

10 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 )

Access all questions and much more by creating a free account

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?