[Hall] JS Text - Spot the Error

[Hall] JS Text - Spot the Error

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Basic Python Coding

Basic Python Coding

11th - 12th Grade

15 Qs

GCSE Computing Low & High Level Languages/IDE's

GCSE Computing Low & High Level Languages/IDE's

10th - 11th Grade

14 Qs

LO13_Lesson 10

LO13_Lesson 10

10th Grade

14 Qs

Python Intro

Python Intro

8th - 9th Grade

10 Qs

# REVIEW 1 DATA TYPES

# REVIEW 1 DATA TYPES

10th Grade

15 Qs

Java 1

Java 1

11th Grade

10 Qs

Intro to Python

Intro to Python

9th - 12th Grade

10 Qs

Basic Python Coding

Basic Python Coding

11th - 12th Grade

15 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?