Search Header Logo

Year 10s quiz

Authored by Jennifer Wiss-Carline

Computers

9th Grade

Used 3+ times

Year 10s quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?