P5.js Test #1 Review

P5.js Test #1 Review

10th Grade

50 Qs

quiz-placeholder

Similar activities

If then Else

If then Else

6th - 12th Grade

50 Qs

J276 Paper 2 Ques 1-50

J276 Paper 2 Ques 1-50

10th - 11th Grade

50 Qs

PYTHON PROGRAMMING - FINAL EXAM REVIEW

PYTHON PROGRAMMING - FINAL EXAM REVIEW

9th - 12th Grade

46 Qs

Python Coding Specialist Exam

Python Coding Specialist Exam

9th - 12th Grade

46 Qs

Mastery CTG quiz year 9 for Easter Assessment

Mastery CTG quiz year 9 for Easter Assessment

10th Grade

54 Qs

CH4 - Python

CH4 - Python

9th - 12th Grade

45 Qs

Year 9 EOT 2 Assessment

Year 9 EOT 2 Assessment

9th - 12th Grade

50 Qs

AP CSP Midterm Exam Review

AP CSP Midterm Exam Review

9th - 12th Grade

50 Qs

P5.js Test #1 Review

P5.js Test #1 Review

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Mr. Kedwell

Used 13+ times

FREE Resource

50 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?