Javascript Drawing

Javascript Drawing

8th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Introduction to Javascript Programming

Introduction to Javascript Programming

9th - 10th Grade

16 Qs

p5.js Week1 PREtest

p5.js Week1 PREtest

7th - 12th Grade

14 Qs

JavaScript Quiz 2

JavaScript Quiz 2

9th - 12th Grade

20 Qs

Shapes in Java Processing

Shapes in Java Processing

9th Grade

12 Qs

JavaScript

JavaScript

7th - 8th Grade

15 Qs

Representing Images

Representing Images

9th Grade

12 Qs

Game Lab - Rectangle, Ellipse and Fill

Game Lab - Rectangle, Ellipse and Fill

6th - 12th Grade

10 Qs

N5 Graphics

N5 Graphics

4th - 9th Grade

17 Qs

Javascript Drawing

Javascript Drawing

Assessment

Quiz

Computers

8th - 12th Grade

Hard

Used 51+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ellipse(212, 206, 283, 318);
ellipse(212, 235, 100, 73);
ellipse(150, 150, 30, 30);
ellipse(278, 150, 30, 30);
The code above represents a snowman with two eyes and a nose. The code that represents the nose is:
ellipse(150, 150, 30, 30);
ellipse(212, 206, 283, 318);
ellipse(212, 235, 100, 73);
ellipse(212, 235, 100, 73);

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The command: ellipse( 200,100, 20, 20) will draw:
an ellipse that is 100 pixels wide and 100 pixels high
a circle whose center is 200 pixels across and 100 pixels down
a rectangle that is 200 pixels by 100 pixels wide
a circle that is 200 pixels in diameter

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct order of parameters in rect()?

rect(x, y, width, height);

rect(y, x, width, height);

rect(x, y, height, width);

rect(width, height, x, y);

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How do you turn off the outline around the shapes?

noStroke();

stroke("transparent");

noFill();

noOutline();

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When drawing in Javascript, the coordinates for the top left of the screen is:
0,400
0,0
400,0
400,400

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The command: ellipse( 200,100, 20, 20) will draw:
an ellipse that is 100 pixels wide and 100 pixels high
a circle whose center is 200 pixels across and 100 pixels down
a rectangle that is 200 pixels by 100 pixels wide
a circle that is 200 pixels in diameter

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ellipse(212, 206, 283, 318);
ellipse(212, 235, 100, 73);
ellipse(150, 150, 30, 30);
ellipse(278, 150, 30, 30);
The code above represents a snowman with two eyes and a nose. The code that represents the nose is:
ellipse(150, 150, 30, 30);
ellipse(212, 206, 283, 318);
ellipse(212, 235, 100, 73);
ellipse(212, 235, 100, 73);

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?