[Hall] JS Text - Spot the Error

[Hall] JS Text - Spot the Error

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

10.4 Python Lists

10.4 Python Lists

7th - 10th Grade

14 Qs

Pre-production Documents

Pre-production Documents

10th - 11th Grade

15 Qs

Python Function and Return

Python Function and Return

9th - 12th Grade

12 Qs

Python Beginners Week 6

Python Beginners Week 6

3rd - 12th Grade

13 Qs

[AP CSP] Programming: Conditionals

[AP CSP] Programming: Conditionals

9th - 12th Grade

10 Qs

Coding Python 1.1. Statements & Variables

Coding Python 1.1. Statements & Variables

7th - 9th Grade

14 Qs

Python_Combining_Technique

Python_Combining_Technique

9th - 10th Grade

10 Qs

[Hall] JS and the DOM

[Hall] JS and the DOM

9th - 12th Grade

12 Qs

[Hall] JS Text - Spot the Error

[Hall] JS Text - Spot the Error

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Jocelyn Hall

Used 6+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which line contains an error?

Line 5

Line 6

Line 7

No Error

Answer explanation

Media Image

The text command should have three parameters

text( "text", x-pos, y-pos)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which line contains an error?

Line 5

Line 6

Line 7

No Error

Answer explanation

Media Image

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

Media Image

Which line contains an error?

Line 5

Line 6

Line 7

No Error

Answer explanation

Media Image

On line 6 text size is not capitalized correctly.

It should be textSize

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which line contains an error?

Line 5

Line 6

Line 7

No Error

Answer explanation

Media Image

On line 5 fill should contain three values.

(red, green, blue)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which line contains an error?

Line 5

Line 6

Line 7

No Error

Answer explanation

Media Image

There is no error in this setup function.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which line contains an error?

Line 5

Line 6

Line 7

No Error

Answer explanation

Media Image

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

Media Image

Which line contains an error?

Line 5

Line 6

Line 7

No Error

Answer explanation

Media Image

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?