JavaScript

JavaScript

Assessment

Quiz

Computers

7th - 8th Grade

Medium

Created by

Wayground Content

Used 954+ times

FREE Resource

Student preview

quiz-placeholder

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What command draws a rectangle?

rec (10, 20, 100, 200);
rect (10, 20, 100, 200)
rect (10, 20, 100, 200);
ellipse (10, 20, 40, 40)

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which command colors the background of your canvas?

background 
endShape
var = color
fill

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What command removes the outlines from shapes?

noOutline ();
noColor();
noBorder();
noStroke ();

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What command draws a perfect circle?

ellipse (80, 60, 100, 105);
ellipse(80, 60, 100, 100);
circle (80, 60, 80, 60):
ellipse (80, 60, 105, 100);

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What command colors a shape?

color (43, 255, 0);
bucket (43, 255, 0);
fill (43, 255, 0);
bucket (43, 255, 0);

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What command draws a line?

stroke (200, 220, 275, 220);
line (200, 220, 275, 220);
horizontal (200, 220,  60, 75);
pencil (200, 220, 275, 220);

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is at the end of a line of code?

#
;
)
>

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?