Tutorial 2 How to Code Digital Art in JavaScript |p5.js

Tutorial 2 How to Code Digital Art in JavaScript |p5.js

7th Grade

10 Qs

quiz-placeholder

Similar activities

Cyber Security

Cyber Security

1st - 10th Grade

10 Qs

Programs and Variables in Code and Play

Programs and Variables in Code and Play

5th - 9th Grade

7 Qs

B Words GCSE Computer Science

B Words GCSE Computer Science

1st - 10th Grade

15 Qs

Google Aptitude Test

Google Aptitude Test

KG - University

10 Qs

Spreadsheets

Spreadsheets

6th - 8th Grade

13 Qs

tik kelas 7

tik kelas 7

1st Grade - University

15 Qs

Copyright & Fair Use scenarios

Copyright & Fair Use scenarios

6th - 8th Grade

8 Qs

Revision Gr2-2025

Revision Gr2-2025

3rd Grade - University

12 Qs

Tutorial 2 How to Code Digital Art in JavaScript |p5.js

Tutorial 2 How to Code Digital Art in JavaScript |p5.js

Assessment

Quiz

Computers

7th Grade

Practice Problem

Easy

Created by

Joseph Armanious

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the createCanvas(400, 400); line do?

Sets the background color

Starts an animation

Creates a 400x400 pixel drawing area

Draws a rectangle

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to draw the sun as a circle?

ellipse()

circle()

rect()

triangle()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main color of the left background (sky)?

Green

White

Light Blue

Yellow

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How is the tree trunk drawn?

A) A brown ellipse

B) A green rectangle

C) A triangle

D) A brown rectangle

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to draw the tree leaves?

rect()

ellipse()

triangle()

circle()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What color is used for the sun?

Red

White

Yellow

Blue

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many clouds are drawn in the sketch?

1

2

3

Access all questions and much more by creating a free account

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?