Python syntax errors

Python syntax errors

8th Grade - University

30 Qs

quiz-placeholder

Similar activities

Fingerprints Study Guide

Fingerprints Study Guide

9th - 12th Grade

30 Qs

Fingerprints Review

Fingerprints Review

9th - 12th Grade

30 Qs

Fingerprinting

Fingerprinting

11th - 12th Grade

26 Qs

Python 1-4

Python 1-4

9th - 12th Grade

27 Qs

Play with Python Lib

Play with Python Lib

KG - Professional Development

25 Qs

Code Debugging Round

Code Debugging Round

University

31 Qs

Unit 1B: Hacked by Louis

Unit 1B: Hacked by Louis

1st - 12th Grade

28 Qs

Java Quiz - Frankenberger 2022

Java Quiz - Frankenberger 2022

9th - 12th Grade

25 Qs

Python syntax errors

Python syntax errors

Assessment

Quiz

Science, Education

8th Grade - University

Medium

Created by

Charles Miller

Used 132+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is incorrect about this code?

The text should be in double quotation marks

The print function should be all lower case

The string is within the brackets of the print function

They have spelt print incorrectly

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is incorrect about this code?

The text should be in double quotation marks

The print function should be all lower case

The string is within the brackets of the print function

They have spelt print incorrectly

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is incorrect about this code?

The print function should be all lower case

They have spelt print incorrectly

The string should have single quotation marks OR double quotation marks

The string is within the brackets of the print function

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

In which line is the syntax error?

Line 1

Line 2

Line 3

Line 4

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

In which line is the syntax error?

Line 1

Line 2

Line 3

Line 4

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is incorrect about this code?

The variable Lucky should be all lower case

The print function should be all lower case

The string should be in single quotation marks

They have spelt print incorrectly

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

In which line is the syntax error?

Line 1

Line 2

Line 3

Line 4

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?