
Identify the error in the code

Quiz
•
Computers
•
9th Grade
•
Easy
Joshua Harper
Used 1+ times
FREE Resource
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.
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
Program Development - Python: Errors

Quiz
•
8th - 10th Grade
14 questions
Python Syntax

Quiz
•
6th - 12th Grade
21 questions
CSS Basics

Quiz
•
6th - 12th Grade
18 questions
HTML basics

Quiz
•
9th - 12th Grade
16 questions
Iteration Recap

Quiz
•
8th - 9th Grade
14 questions
LocoRobo LEDs

Quiz
•
5th - 12th Grade
15 questions
AP CSP Unit 4: Lesson 15: Assessment Day

Quiz
•
9th - 12th Grade
20 questions
Javascript Conditional Statements

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade