JS Test

JS Test

KG

172 Qs

quiz-placeholder

Similar activities

SIMULATION EXAM 1 ENDO REMED. COURSE

SIMULATION EXAM 1 ENDO REMED. COURSE

University

175 Qs

ED1 webxam

ED1 webxam

11th - 12th Grade

173 Qs

ceutics 2 exam 1

ceutics 2 exam 1

University

177 Qs

BMET Course 107

BMET Course 107

Professional Development

167 Qs

JAVA QUIZ

JAVA QUIZ

University

170 Qs

Science Review

Science Review

6th - 8th Grade

176 Qs

Mạng máy tính

Mạng máy tính

University

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

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?