KA Intro to JS: Coloring

KA Intro to JS: Coloring

KG - University

6 Qs

quiz-placeholder

Similar activities

Dasar desain grafis

Dasar desain grafis

10th Grade

10 Qs

AP2 PROCESSING

AP2 PROCESSING

University

10 Qs

Drawing in Game Lab Part 2

Drawing in Game Lab Part 2

8th Grade

10 Qs

Drawing in Game Lab

Drawing in Game Lab

7th - 8th Grade

10 Qs

Animations in Flash

Animations in Flash

7th Grade

11 Qs

Unit 3- Lesson 3 & 4 Game Lab Vocab

Unit 3- Lesson 3 & 4 Game Lab Vocab

6th - 8th Grade

10 Qs

P5.js Shapes

P5.js Shapes

6th Grade

10 Qs

Khan Academy

Khan Academy

5th Grade

11 Qs

KA Intro to JS: Coloring

KA Intro to JS: Coloring

Assessment

Quiz

Computers

KG - University

Medium

Used 343+ times

FREE Resource

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();

Discover more resources for Computers