Animation and Games Review

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

18 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What does this program do?
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 Wayground
15 questions
Active and Passive Voice

Flashcard
•
10th Grade
15 questions
Kindergarten Spelling

Flashcard
•
KG
15 questions
Initial Sound

Flashcard
•
KG
15 questions
Beginning Sounds

Flashcard
•
KG
13 questions
Basketball court

Flashcard
•
10th Grade
10 questions
Baseball Situations

Flashcard
•
KG - 12th Grade
10 questions
Baseball Situations

Flashcard
•
KG - 12th Grade
15 questions
Inherited vs Acquired Traits

Flashcard
•
KG - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University