Post-Break Python Refresher

Post-Break Python Refresher

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

12AIT - All About W3C <3

12AIT - All About W3C <3

10th Grade - University

18 Qs

Unit 8 Practice Test For CSP

Unit 8 Practice Test For CSP

9th Grade

16 Qs

Pointers

Pointers

12th Grade

20 Qs

Google Sheets

Google Sheets

12th Grade

21 Qs

TIK KLS 7-8 PAS Genap 2022-2023

TIK KLS 7-8 PAS Genap 2022-2023

9th - 12th Grade

15 Qs

Exploring AI

Exploring AI

10th Grade

15 Qs

Cyber Security KS4

Cyber Security KS4

8th - 12th Grade

15 Qs

LA1.C1: Introduction to Small Basic

LA1.C1: Introduction to Small Basic

9th Grade

15 Qs

Post-Break Python Refresher

Post-Break Python Refresher

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Dalton Simpson

Used 13+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the term 'debug' mean?

Identify errors and fix them.
Making a calculation
A set of instructions
Looking at code

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the print function do in python?

It's a variable.
It can input data.
It displays something like a string or integer
It loops the code.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol do you use to make a comment in Python?

@
¬
;
#

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What syntax can you use to insert a line break between strings so that they appear over multiple lines?

/
\n
\l
n

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A syntax error means your code has a 'grammar' mistake or you used symbols/operations incorrectly.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print("Hello world!\nHello world!")

Hello world! Hello world!
Hello world!
Hello world!
SyntaxError
Hello world!

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following code do? myAge = int (myAge)

Converts the var (variable) myAge to a string

Converts the var (variable) myAge to a integer

Converts the var (variable) myAge from a integer to a string

Converts the var (variable) myAge to if statement

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?