If the following code is entered:
fill(0, 255, 200);
ellipse(300, 100, 40, 40);
Which point would appear on the canvas?
JavaScript Canvas Introduction Quiz
Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Brooke Townsend
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the following code is entered:
fill(0, 255, 200);
ellipse(300, 100, 40, 40);
Which point would appear on the canvas?
A
B
C
D
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following codes would result in the ellipse drawn?
ellipse(200, 200, 300, 100);
ellipse(300, 100, 100, 300);
ellipse(200, 200, 100, 300);
ellipse(100, 300, 200, 200);
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would appear on the canvas if this code (and nothing else) was entered?
ellipse(100, 100, 50, 50)
A circle with radius 50 in the centre of the canvas
A circle with radius 100 in the upper left area of the canvas
A circle with radius 50 in the upper left area of the canvas
nothing
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would appear on the canvas if this code (and nothing else) was entered?
elipse(100, 100, 50, 50);
A circle with radius 50 in the centre of the canvas
A circle with radius 100 in the upper left area of the canvas
A circle with radius 50 in the upper left area of the canvas
nothing
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would you see if the following code was run:
ellipse(200, 200, 600, 600);
A really big circle in the centre
A circle in the bottom right corner
Nothing
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would appear on screen with the code shown?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the code for this program, what order must the ellipses instructions occur?
Blue first,
then Yellow,
then Red
Red first,
then Blue,
then Yellow
There is no way of knowing
Red first,
then Yellow,
then Blue
10 questions
Year 8 - Progress Check 1 (Python Turtle Shapes)
Quiz
•
8th - 9th Grade
15 questions
8.QZ - Fish Tank Starter Code Review
Quiz
•
9th - 12th Grade
12 questions
CMU CS Academy 2.3.3 Cookie Cutter and Scotty Dog
Quiz
•
9th - 12th Grade
13 questions
Carnegie CS1 Exit Ticket 1.1.1-2 Rect
Quiz
•
9th - 12th Grade
10 questions
Introdução ao JavaScript
Quiz
•
10th Grade
10 questions
Графика в PascalABC
Quiz
•
11th Grade
10 questions
Avaliação 1T - JavaScript
Quiz
•
9th - 12th Grade
15 questions
Pentaksiran T4(1.3)
Quiz
•
11th Grade
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
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
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