Unit 3 Post-Project Assessment

Unit 3 Post-Project Assessment

Assessment

Flashcard

Computers

7th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

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? a, volume, loudest, 100, silent

Back

volume

2.

FLASHCARD QUESTION

Front

The program below attempts to draw a crab with a blue background. What change needs to be made so that it works correctly?
Options: Move background("blue"); to the end of the program, Move drawSprites(); to the end of the program, Rename the variable sprite to crab, Remove the line of code background("blue");, No change, the program already works

Media Image

Back

Move drawSprites(); to the end of the program

3.

FLASHCARD QUESTION

Front

The program below attempts to draw a blue rectangle but does not work as intended. What change needs to be made for the blue rectangle to be drawn? Options: drawRect; should be at the end of the program, fill("blue"); should be moved outside of the function and after drawRect;, fill("blue"); should be moved outside of the function and before drawRect;, drawRect; should be drawRect();, rect(0, 300, 200, 50); should be rect(0, 300);

Media Image

Back

drawRect; should be drawRect();

4.

FLASHCARD QUESTION

Front

Given the functions below, write a program that will draw the scene on the right.

Media Image

Back

Media Image

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 argument (parameter) of rect( ) to 100, No change needed: the rectangle is animated to move right

Media Image

Back

Update the first argument (parameter) of rect( ) to 100

6.

FLASHCARD QUESTION

Front

Describe what will happen in the following program: When the left mouse button is pressed, the sprite rotates. When the right arrow key is pressed, it moves to the right.

Media Image

Back

When the left mouse button is pressed, the sprite rotates. When the right arrow key is pressed, it moves to the right.

7.

FLASHCARD QUESTION

Front

Which program will draw this image? Options: fill("red"); ellipse(100, 100, 50, 50); fill("green"); rect(100, 100, 50, 50);, fill("green"); ellipse(100, 100, 50, 50); fill("red"); rect(100, 100, 50, 50);, fill("red"); rect(100, 100, 50, 50); fill("green"); ellipse(100, 100, 50, 50);, fill("green"); rect(100, 100, 50, 50); fill("red"); ellipse(100, 100, 50, 50);

Media Image

Back

fill("red"); rect(100, 100, 50, 50); fill("green"); ellipse(100, 100, 50, 50);

Media Image

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?

Discover more resources for Computers