Search Header Logo

03 - Python - Basics

Authored by Alma Yusuf

Computers

University - Professional Development

Used 17+ times

03 - Python - Basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Every variable is connected to a value, which is the information associated with that variable.

True

False

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is not followed variable rules?

Variable name can contain only letters, numbers, and underscores.

Spaces are not allowed in variable names.

Avoid using Python keywords and function names as variable names.

Variable names should be short but descriptive.

Variable names can start with a number.

3.

MULTIPLE SELECT QUESTION

1 min • 1 pt

What mark do you use to be considered a string in Python?

'

"

/

#

*

4.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Data types in Python are:

Strings

Floating-point numbers

Integers

Settling-point numbers

Interests

5.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Valid variable names are:

current-balance

Current Balance

account4

4account

current_balance

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What mark do you use to be considered a comment in Python?

'

"

/

#

*

7.

MULTIPLE SELECT QUESTION

1 min • 1 pt

What mark do you use to be considered operator in Python?

'

"

/

#

*

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?