Code.org Commands Flashcard

Code.org Commands Flashcard

Assessment

Flashcard

Computers

9th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

25 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What does the fill() command do in Code.org?

Back

Sets the color for future shapes.

2.

FLASHCARD QUESTION

Front

What are the parameters for the rect() command?

Back

x, y, width, height

3.

FLASHCARD QUESTION

Front

To draw a red circle, which commands would you use? Options: fill("red"); circle(50);, fill("red"); ellipse(50, 50);, redCircle(50);, drawCircle("red", 50);

Back

fill("red"); ellipse(50, 50);

4.

FLASHCARD QUESTION

Front

How can you change the color of a filled shape?

Back

Use the fill() command with a different color.

5.

FLASHCARD QUESTION

Front

To draw a red ellipse with a blue outline, what commands would you use? Options: fill("red"); stroke("blue"); ellipse(100, 50);, redEllipse(100, 50); blueOutline();, fill("blue"); stroke("red"); ellipse(100, 50);, ellipse("red", "blue", 100, 50);

Back

fill("red"); stroke("blue"); ellipse(100, 50);

6.

FLASHCARD QUESTION

Front

What do the x and y coordinates in a shape's parameters represent?

Back

The starting position of the shape.

7.

FLASHCARD QUESTION

Front

How can you move a shape to the right on the screen?

Back

Increase the x-coordinate.

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?