Search Header Logo

Javascript

Authored by christy jebamalar

Computers

Professional Development

CCSS covered

Used 8+ times

Javascript
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

71 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a loop?

if(x<10)

while(x<10)

var x=10;

text(x,10;10)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command provides a random color?

Randomizer.color

Randomizer.nextColor()

RandColor;

nextColor.Randomizer()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

increment (x)

x++;

x=x;

x+1;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following will decrease the value of x?

x--;

x-1;

x=x;

x=-x;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Greater than or equal to

> or =

> || =

>=

<=

6.

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 )

7.

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)

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?