What does this program do?
Animation and Games Review

Flashcard
•
Other
•
11th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

18 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
Animates a ball by moving it down and to the right once every 20 milliseconds.
2.
FLASHCARD QUESTION
Front
Which of the following statements are true about ball? I – ball is a local variable II – the ball variable in draw is different from the ball variable in start III – ball is a global variable IV – ball’s scope includes both start and draw
Back
III and IV
3.
FLASHCARD QUESTION
Front
Which statement would stop the animation in this program? Options: stopTimer(ball.move(2, 2));, stopTimer(draw);, stopTimer(draw());, stopTimer(draw, 20);
Back
stopTimer(draw);
4.
FLASHCARD QUESTION
Front
How many times will the ball be moved before the animation stops?
Back
25
5.
FLASHCARD QUESTION
Front
Which of the following are techniques that make our code more reusable? I – Using constants instead of magic numbers II – Using specific values in our functions rather than using parameters III – Writing multiple functions that solve small subproblems rather than one function that solves the entire problem. IV – Writing as few lines of code as possible
Back
I and III, and IV
6.
FLASHCARD QUESTION
Front
Which function has better reusability?
Back
7.
FLASHCARD QUESTION
Front
How many circles of radius 10 will fit vertically stacked in a window that has height 100? The circles should not overlap, the bottom of one circle should touch the top of the next circle.
Back
5
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Action Verbs (K2 Language)

Flashcard
•
KG
14 questions
Decompose Partial Fractions

Flashcard
•
11th Grade
11 questions
Video Games

Flashcard
•
KG
15 questions
Beginning Sounds

Flashcard
•
KG
15 questions
Adv Alg 2 Semester 1 Final Review- randomness

Flashcard
•
10th - 12th Grade
14 questions
Algebra 2 Final Exam Study Guide Review

Flashcard
•
11th Grade
15 questions
Rhyming Words

Flashcard
•
KG
15 questions
Decompose Partial Fractions

Flashcard
•
11th 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 Other
17 questions
Chapter 12 - Doing the Right Thing

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

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

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

Quiz
•
KG - University