Search Header Logo

Unit1: Python Gr10

Authored by Afnan Omani

Computers

10th Grade

Used 2+ times

Unit1: Python Gr10
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

66 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

1student

student-name

_student

user name

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Fill in the blank: A variable name in Python must start with a ________ or an ________.

letter, underscore

number, symbol

symbol, number

underscore, number

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Variable names in Python can contain spaces.

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

for

name_1

_score

studentName

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Name, name, and NAME are considered the same variable in Python.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Variable names in Python can't contain ________ characters.

special

alphabetic

numeric

underscore

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To display messages to users, which function is used in Python?

input()

print()

display()

message()

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?