P5.js Drawing Commands

P5.js Drawing Commands

10th Grade

15 Qs

quiz-placeholder

Similar activities

Scratch intro & Pen Commands Quiz

Scratch intro & Pen Commands Quiz

1st - 10th Grade

10 Qs

CodeHS 2.8 Functions to 2.12 User Input Review

CodeHS 2.8 Functions to 2.12 User Input Review

9th - 12th Grade

10 Qs

Computer Science Level 1 - Blocks with VEXcode VR Course Unit 2

Computer Science Level 1 - Blocks with VEXcode VR Course Unit 2

5th - 12th Grade

12 Qs

p5.js Week1 PREtest

p5.js Week1 PREtest

7th - 12th Grade

14 Qs

Recuperação PC - 1º Ano - Projeto Quente e Frio

Recuperação PC - 1º Ano - Projeto Quente e Frio

10th Grade

10 Qs

Avaliação 1T - JavaScript

Avaliação 1T - JavaScript

9th - 12th Grade

10 Qs

Video Game Design - Aesprite -Quiz 3

Video Game Design - Aesprite -Quiz 3

9th Grade - University

10 Qs

Vex VR Unit 8

Vex VR Unit 8

7th - 10th Grade

20 Qs

P5.js Drawing Commands

P5.js Drawing Commands

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Mr. Kedwell

Used 2+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following commands is used to draw a line?

line(x1, y1, x2, y2);

draw the line(x1, y1, x2, y2);

line(x1, y1);

linear(x1, y1, x2, y2);

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following commands is used to draw a rectangle?

rect(x, y, width, height);

rectangle(x, y, width, height);

rect(x1, y1, x2, y2);

rectangle(x1, y1, x2, y2);

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following commands is used to change the colour to draw with?

stroke(0, 100, 0);

changeTheColor();

stroke(x1, y1);

textColor(1, 2, 2);

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following commands is used to change the colour the program fills in solid shapes?

fill(0, 255, 255);

changeBackground();

solid(255, 0, 255);

Color(30, 2, 2);

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following commands is used to draw a square?

square(x, y, width, height);

square(x, y, length);

square(x1, y1, x2, y2, x3, y3, x4, y4);

drawSquare(x1, y1, width);

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following commands is used to draw a circle?

circle(x, y, radius);

circle(x, y, diameter);

circle(x, y);

drawOval(x, y, diameter);

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following commands is used to draw an oval?

ellipse(x, y, width, height);

ellipse(x, y, diameter);

ellipse(x, y);

ellipse(x, y, width, height, depth);

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?