JavaScript Animates
Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Thomas Martinez
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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 draw2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
stopTimer(ball.move(2, 2));stopTimer(draw);stopTimer(draw());stopTimer(draw, 20);4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
draw function to include the code above. How many times will the ball be moved before the animation stops?5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A:
function drawCircle(x, y, radius, color) { var circle = new Circle(radius); circle.setPosition(x, y); circle.setColor(color); add(circle); } OR B. function drawGreenCircleInCenter(radius) { var circle = new Circle(radius); circle.setPosition(getWidth() / 2, getHeight() / 2); circle.setColor(Color.green); add(circle); }
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Introduction Of ICT CSS
Quiz
•
7th - 9th Grade
10 questions
Algorithm Quiz
Quiz
•
12th Grade
10 questions
CyperSecurity
Quiz
•
10th Grade
15 questions
Female STEM scientists
Quiz
•
12th Grade
10 questions
Junior Beaver Quiz
Quiz
•
9th - 12th Grade
10 questions
CALL: TOEFL EXERCISE 17
Quiz
•
11th - 12th Grade
11 questions
Scratch
Quiz
•
3rd - 10th Grade
13 questions
WJEC GCSE ICT Unit 1 E-Mail
Quiz
•
9th - 10th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
18 questions
Artificial Intelligence and Machine Learning Quiz
Quiz
•
9th Grade
35 questions
Computer Terminology Exercise #1 ( Multiple Choice)
Quiz
•
9th Grade
20 questions
Computer Components Exercise #4 - CTEA
Quiz
•
9th - 12th Grade
30 questions
Computer Terminology Exercise #1 ( Fill Ins)
Quiz
•
9th Grade
