JS Test

JS Test

KG

172 Qs

quiz-placeholder

Similar activities

Semester Test Review

Semester Test Review

1st - 12th Grade

176 Qs

living environment biology regents review

living environment biology regents review

8th Grade

167 Qs

Olympiad

Olympiad

4th Grade

168 Qs

End of year fun

End of year fun

5th Grade

170 Qs

REPASO COMPLETO COAR 2024/ HABILIDAD VERBAL

REPASO COMPLETO COAR 2024/ HABILIDAD VERBAL

11th Grade

170 Qs

car logos

car logos

KG

171 Qs

Caracteristicas UAV

Caracteristicas UAV

1st Grade

169 Qs

Luke Gospel

Luke Gospel

5th - 9th Grade

168 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');

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?