Search Header Logo

KA Intro to JS: Coloring

Computers

KG - University

Used 351+ times

KA Intro to JS: Coloring
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What ProcessingJS function can you call to change the color of the entire canvas?

setBackground()
background()
canvasColor()
fill()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function should you call to change the color of a line in your program?

fill()
outline()
stroke()
color()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you're programming a drawing, where should your background() call be?

At the beginning of the program
At the end of the program
At the beginning AND end of the program
After the first rect()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The fill() function takes 3 parameters. What do those three numbers represent?

red, green, blue
cyan, magenta, yellow
color, saturation, opacity
red, yellow, blue

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the minimum and maximum values of the 3 numbers that get passed into fill() and stroke()?

0 - 100
0 - 50
115 - 255
0 - 255

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function can you call to remove the outlines from all the shapes in your program?

noFill();
noStroke();
noOutlines();
noLines();

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?