JS Test

JS Test

KG

172 Qs

quiz-placeholder

Similar activities

INDIANA HORTICULTURE CDE QUALIFYING EXAM

INDIANA HORTICULTURE CDE QUALIFYING EXAM

9th - 12th Grade

172 Qs

BOB 2024 @GPL

BOB 2024 @GPL

1st - 5th Grade

172 Qs

GEOGRAPHY FORM 1

GEOGRAPHY FORM 1

8th Grade

167 Qs

kulturalogia

kulturalogia

1st Grade

176 Qs

TERMS

TERMS

KG

175 Qs

tlhud

tlhud

University

170 Qs

[R] Test Tết (Lớp T3, T6, & CN)

[R] Test Tết (Lớp T3, T6, & CN)

Professional Development

174 Qs

nghe

nghe

11th Grade

169 Qs

JS Test

JS Test

Assessment

Quiz

Other

KG

Practice Problem

Hard

Created by

Programming House

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

172 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which are the following are commands, (not variables)?

c.fillStyle = 'green';

color = 'pink';

c.fillRect(50, 120, 10, 300);

drawStackedBoxes(10, 10, 50, 100);

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ah! There's a bug in this command! How should we debug?

c.fillstyle = 'blue';

It should be "blue"

Capitalize the s

Add a space after "c."

Capitalize the f

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

I need some help assigning the value of 1 to the variable x. What should I do?

1=x;

=1x;

;=x1

x=1;

4.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

I used the ___ analogy to describe what a variable is.

5.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

A function is a series of ___ grouped together.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many times can I use a function?

1 time

5 times

100 times

Infinite times (there is no limit)

7.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following contain arguments?

function paintCanvas(color) {

function drawPlayer(x, y) {

drawCanvas();

drawPlayer(150, 20, 'red', 'blue');

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?