Search Header Logo

Y9 Python Review

Authored by Sherianne Gajadhar

Information Technology (IT)

9th Grade

Used 3+ times

Y9 Python Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the correct way to print 'Hello, World!' in Python?

print('Hello, World!')
echo 'Hello, World!'
printf('Hello, World!')
console.log('Hello, World!')

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these is a string in Python?

'123'
123
True
None

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the input() function do?

Prints output
Takes user input
Defines a variable
Ends the program

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these is a float?

3.14
'3.14'
3
True

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the data type of True?

int
str
bool
float

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which symbol is used for comments in Python?

#
//
/* */
<!-- -->

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will print(2 + 3 * 4) output?

20
14
24
9

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?