Search Header Logo

PDM EOC

Authored by Emily Torres

Other

9th - 12th Grade

PDM EOC
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

24 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt


  How can you draw an arc (a part of a circle) in p5.js?  

ellipse(x, y, width, height)


arc(x, y, width, height, startAngle, stopAngle)


line(x1, y1, x2, y2)

circle(x, y, radius)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt


What is used to end a code?

. (period)

} (curly brace)

; (semicolon)

] (straight brace)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is used to end a function?

] (straight brace)

} (curly brace)

. (period)

; (semicolon)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In this code: circle(100, 100, 50); what are the numbers called?

Arguments


Functions

Methods

Variables

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt


In this code: bgColor("green"); what is the name of the way bgColor is stylized?

Cat Style

Camel Case


Pyramid Policy


Dog Case

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt


What does "rgb" mean?

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt


  What is the purpose of the setup() function in p5.js?  

To handle key press events.


To continuously execute code throughout the sketch.

To create the canvas and set initial settings.

To draw shapes on the canvas.

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?