
Identify the error in the code
Authored by Joshua Harper
Computers
9th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the error in the code below.
There is an extra bracket
There is a lowercase p in print
There is a missing bracket
No speech marks should be used
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the error in the code below.
There is an extra speech mark
There is a lowercase p in print
The end bracket is green rather than black
There is a missing speech mark
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the error in the code below.
There is a missing speech mark
There is an extra speech mark
Hello Jane should be black, not green
== should have been used rather than =
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the error in the code below.
There is a missing bracket
There is an extra bracket
Speech marks have been used
Hello Jane should be in black not green
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the error in the code below.
Speech marks have not been placed around the variable called name in line 1.
Speech marks have been used around "Hello Jane".
Brackets have been used in line 2.
Speech marks have been placed around the variable called name in line 2.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
We wanted the words “Hello Jane” to be printed on the screen, but instead an error was displayed. Why is this?
== should have been used, not =.
The variable called name stores the words Hello Jane, not the variable called bob.
bob should not be surrounded by brackets.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the error in the code below.
The word IF should have been used at the start of line 4, not ELIF.
There is a colon at the end of the elif statement in line 4.
The word ELIF should have been used at the start of line 2, not IF.
There is a missing colon at the end of the first if statement in line 2.
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?
Similar Resources on Wayground
16 questions
Principles of Information Technology
Quiz
•
9th Grade - University
15 questions
Microbit (python)
Quiz
•
8th - 10th Grade
20 questions
Key Applications 2
Quiz
•
9th - 12th Grade
13 questions
Principles of Programming
Quiz
•
KG - University
12 questions
Python
Quiz
•
7th - 9th Grade
11 questions
Marvel Future Fight
Quiz
•
KG - Professional Dev...
20 questions
Spreadsheet Overview (Basic)
Quiz
•
9th - 11th Grade
16 questions
Graphic Design Vocabulary
Quiz
•
9th - 10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade