Search Header Logo

Unit 3 Post-Project Assessment

Authored by Heather Coffey

Computers

7th Grade

Used 3+ times

Unit 3 Post-Project Assessment
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

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

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

The program below attempts to draw a crab with a blue background. What change needs to be made so that it works correctly?

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

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

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?

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

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

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

Media Image
Media Image
Media Image
Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

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?

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

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

Describe what will happen in the following program:

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

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

When both the left mouse button and right arrow key are pressed, the sprite rotates and moves to the right.

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

7.

MULTIPLE SELECT QUESTION

5 mins • 1 pt

Which of the following programs correctly draws a rectangle at a random x position? (Select two)

Media Image
Media Image
Media Image
Media Image

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?