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?
CSD Unit 3 - Games and Animation Assessment

Quiz
•
Computers
•
8th Grade
•
Medium
Patrick Trejo
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a
volume
loudest
silent
Answer explanation
Content: Unit 3 Lesson 5
volume is the most meaningful name. loudest and silent are possible values for how loud the music is playing, but they are not good variable names.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
No change, the program already works
Answer explanation
Content: Unit 3 Lesson 7
drawSprites() should be called after all the sprites have been created.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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();
Answer explanation
Content: Unit 3 Lesson 24
Whenever you want to use a function you need to call it by its name. To do this you just write the name of the function followed by parentheses.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given the functions below, write a program that will draw the scene on the right.
Answer explanation
Content: Unit 3 Lesson 24
Since the background is yellow, drawBackground() must be called. Since the red rectangle is on top of the green ellipse, drawTwo() is called after drawOne().
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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 of rect() to 100
D. No change needed: the rectangle is animated to move right
Answer explanation
Content: Unit 3 Lesson 4
The first parameter of rect() is the x-location. By increasing the x-location to 100, the rectangle will be further right.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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.
Answer explanation
Content: Unit 3 Lesson 15, 16
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following programs correctly draws a rectangle at a random x position? (Select two)
Answer explanation
Content: Unit 3 Lesson 6
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Code.Org U3L1-4

Quiz
•
8th Grade
19 questions
Coding Vocabulary

Quiz
•
7th - 8th Grade
20 questions
Unit 3 - Game Lab, Shapes, Var, Sprites (1 - 8)

Quiz
•
8th Grade
20 questions
Scratch-Grade 7

Quiz
•
7th - 9th Grade
20 questions
Codesters Units

Quiz
•
6th - 8th Grade
15 questions
Scratch Programming

Quiz
•
5th - 9th Grade
20 questions
Code.org Unit 3 -Lessons 5-8

Quiz
•
6th - 8th Grade
17 questions
Scratch Vocab and Concepts

Quiz
•
6th - 8th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
17 questions
guess the logo

Quiz
•
8th Grade
16 questions
Function or Non-Function?

Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons

Quiz
•
8th Grade