Year 10s quiz

Year 10s quiz

9th Grade

20 Qs

quiz-placeholder

Similar activities

Python variables

Python variables

9th - 12th Grade

16 Qs

Python Basics

Python Basics

KG - University

15 Qs

Python basics recap

Python basics recap

9th - 12th Grade

20 Qs

Python Basics

Python Basics

KG - University

16 Qs

Python - Quiz

Python - Quiz

9th - 11th Grade

17 Qs

Python basics

Python basics

2nd - 9th Grade

20 Qs

Python Review Quiz

Python Review Quiz

7th - 9th Grade

20 Qs

Python Recap

Python Recap

7th Grade - University

20 Qs

Year 10s quiz

Year 10s quiz

Assessment

Quiz

Computers

9th Grade

Hard

Created by

Jennifer Wiss-Carline

Used 3+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is NOT a valid variable name in Python?

_student

123_hey

first_name

studentMark

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If you want to make sure a variable is an integer, you could use...

int(variable)

variable(int)

integer(variable)

variable_integer

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The '+' operator in Python can be used to...

Add numbers only

Combine strings only

Add numbers or combine strings

None of these options

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The command to output information in Python is...

echo()

tell()

print()

return()

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The 'elif' keyword is short for...

Elephants Like Interesting Facts

Else If

Evaluate If

Alternatively If

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Nested 'If' statements are...

Not possible in Python

A type of function

'If' statements that only run when another 'if' statement is true

'If' statements inside 'why' statements

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is NOT a valid Python data type?

String

Integer

Float

Brackets

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?