Code.org Unit 3 Assessment

Code.org Unit 3 Assessment

Assessment

Flashcard

Computers

8th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

25 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What do the third and fourth numbers correspond to in the rect block? Options: X and Y, width, height, width and height, rotation

Media Image

Back

width and height

2.

FLASHCARD QUESTION

Front

View the code, what will be drawn on the screen? Options: one blue rectangle located at 200, 200, one green rectangle located at 175,175, one blue rectangle located at 200, 200 and one green rectangle located at 175, 175, There is an error in the code. Nothing will be drawn.

Media Image

Back

one blue rectangle located at 200, 200 and one green rectangle located at 175, 175

3.

FLASHCARD QUESTION

Front

How would you rearrange the code so that you can see the wheels of the car? Options: move only the fill "dimgray" block under the last rect block, move the fill "dimgray" block, and the two ellipse blocks under the last rect block, you do not need to move any blocks

Media Image

Back

move the fill "dimgray" block, and the two ellipse blocks under the last rect block

4.

FLASHCARD QUESTION

Front

If I wanted to outline my circle in a blue line, what block would I use? Options: fill (color), background (color), stroke (color)

Media Image

Back

stroke (color)

5.

FLASHCARD QUESTION

Front

The program below draws the scene on the right, but you want the rectangle to be further to the right. How can you change the code to achieve this? Options: Call .moveRight(), Add a line of code to change rect.x = 100;, Update the first parameter of rect() to 100, No change needed: the rectangle is animated to move right

Media Image

Back

Update the first parameter of rect() to 100

6.

FLASHCARD QUESTION

Front

You want to create a variable to store how loud the music is playing on your cell phone. Which of the following would be the best variable name? Options: a, volume, 100, loudest

Back

volume

7.

FLASHCARD QUESTION

Front

What block can I use if I want my shapes to change different sizes each time I run my program? Options: ellipse (x, y, w, h), randomNumber (1, 10), fill (color), sprite.rotate

Back

randomNumber (1, 10)

Create a free account and access millions of resources

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?