[Hall] JS Text - Spot the Error

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Jocelyn Hall
Used 6+ times
FREE Resource
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 )
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
if - else - elif

Quiz
•
7th - 11th Grade
10 questions
Excel IF and Nested IF Functions Quiz

Quiz
•
12th Grade - University
10 questions
AP CSP Identifying Errors

Quiz
•
9th - 12th Grade
14 questions
GCSE Computing - Subprograms

Quiz
•
9th - 10th Grade
10 questions
Python IF Statements

Quiz
•
9th - 12th Grade
14 questions
Unit 5: Input in Java

Quiz
•
9th - 10th Grade
10 questions
KS4 Programming Techniques (1)

Quiz
•
8th - 10th Grade
11 questions
J277 Programming - Data Types

Quiz
•
9th - 11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade