
[Hall] JS Text - Spot the Error
Authored by Jocelyn Hall
Computers
9th - 12th Grade
Used 9+ times
![[Hall] JS Text - Spot the Error](https://cf.quizizz.com/img/studentpreview.webp)
AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line contains an error?
Line 5
Line 6
Line 7
No Error
Answer explanation
The text command should have three parameters
text( "text", x-pos, y-pos)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line contains an error?
Line 5
Line 6
Line 7
No Error
Answer explanation
On line 7 cheese is missing quotation marks.
All text to be displayed to the canvas should be inside " ".
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line contains an error?
Line 5
Line 6
Line 7
No Error
Answer explanation
On line 6 text size is not capitalized correctly.
It should be textSize
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line contains an error?
Line 5
Line 6
Line 7
No Error
Answer explanation
On line 5 fill should contain three values.
(red, green, blue)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line contains an error?
Line 5
Line 6
Line 7
No Error
Answer explanation
There is no error in this setup function.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line contains an error?
Line 5
Line 6
Line 7
No Error
Answer explanation
On line 7 there is a missing comma between the text and x-position.
It should be
text("cheese" , 30 , 30)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line contains an error?
Line 5
Line 6
Line 7
No Error
Answer explanation
On line 6 there is an extra space between text and size
It should be
textSize( 28 )
Access all questions and much more by creating a free account
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
Already have an account?