General CS
General p5.js
Functions
Conditionals
Ms. Carol
200

CS stands for this.

What is Computer Science?

200

The coding language of p5js

What is Javascript?

200

This function in p5.js sets the dimensions of the canvas where shapes and images are drawn.

What is createCanvas()?

200

The keyword that always starts a full conditional

What is "if"?

200

The high school Ms. Carol went to.

What is Midwood High School?

400

This data type is always surrounded in quotation marks.

What is "a string"?

400

The command to change the color of shapes

What is fill()?

400

This function is used at the beginning of a p5.js sketch and is called only once to set initial values for variables and objects.

What is setup()?

400

This operator in p5.js is used to check if two values are equal in a conditional statement, and it is also commonly used in other programming languages.

What is " == "?

400

Ms. Carol's usual form of transportation

What is biking?

600

The process of eliminating bugs and unintended behaviors in code.

What is troubleshooting?

600

The space we use to look for errors and print the results of our code to see what's going on.

What is console?

600

This function is called continuously in p5.js to update the display, allowing for animations and dynamic interactions.

What is draw()?

600

This logical operator in p5.js is used to combine multiple conditions in a conditional statement so that the code only runs if all conditions are true.

What is " && "?

600

The total number of programming & coding languages Ms. Carol knows

What is 8? (Python, C++, C#, Scratch, JavaScript, HTML, CSS, bash)

800

The keyboard shortcut that allows you to start a new page in a Google document.

What is "Ctrl + Enter"?

800

The punctuation typically put at the end of a line of code. It is good practice, although it is not required in p5js.

What is a semicolon?

800

This p5.js function is used to set the color of shapes' outlines and requires RGB or hexadecimal values.

What is stroke()?

800

In p5.js, this operator can be used in conditionals to check if at least one of multiple conditions is true, rather than requiring all of them to be true.

What is " || (the OR operator)"?

800

Ms. Carol's favorite sport

What is volleyball?

1000

The cloud may not be in the sky, but rather, in one of these.

What is a server?

1000

This operator allows you to assign a value to a variable.

What is "the assignment operator, = " ?

1000

The function you use to switch between RGB and HSB.

What is colorMode()?

1000

This enclosure symbol, when used in a conditional, always surrounds the logical expression that is being checked.

What is "parentheses"?

1000

Ms. Carol's Major in College (Undergrad and Master's)

What is Computer Science and Middle School Math Education?

M
e
n
u