JavaScript

JavaScript

Assessment

Flashcard

Computers

7th - 8th Grade

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

15 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What command draws a rectangle? Options: rec (10, 20, 100, 200);, rect (10, 20, 100, 200), rect (10, 20, 100, 200);, ellipse (10, 20, 40, 40)

Back

rect (10, 20, 100, 200);

2.

FLASHCARD QUESTION

Front

Which command colors the background of your canvas? Options: background, endShape, var = color, fill

Back

background

3.

FLASHCARD QUESTION

Front

What command removes the outlines from shapes?

Back

noStroke ();

4.

FLASHCARD QUESTION

Front

What command draws a perfect circle? Options: ellipse (80, 60, 100, 105);, ellipse(80, 60, 100, 100);, circle (80, 60, 80, 60):, ellipse (80, 60, 105, 100);

Back

ellipse(80, 60, 100, 100);

5.

FLASHCARD QUESTION

Front

What command colors a shape? Options: color (43, 255, 0);, bucket (43, 255, 0);, fill (43, 255, 0);, bucket (43, 255, 0);

Back

fill (43, 255, 0);

6.

FLASHCARD QUESTION

Front

What command draws a line? Options: stroke (200, 220, 275, 220);, line (200, 220, 275, 220);, horizontal (200, 220,  60, 75);, pencil (200, 220, 275, 220);

Back

line (200, 220, 275, 220);

7.

FLASHCARD QUESTION

Front

What is at the end of a line of code? Options: #, ;, ), >

Back

;

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?