Search Header Logo

Python quiz 1

Authored by V Analysts

Other, Other

Professional Development

Used 10+ times

Python quiz 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Identify the Variables and constants in the expression a = b + 5

a is a variable, b and 5 are constants

a and b are variables, 5 is a constant

a is a constant, b and 5 are variables

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of these is a valid variable assignment operation?

5 = Alpha

Alpha = 5

Alpha = @5

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Beta = “True”. What is the type of data assigned to the Beta variable?

Boolean

String

int

decimal

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The weight of a person which is 50.50 should be saved as what type of variable?

String

int

float

boolean

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does the // operator do

Float division

integer division

gives remainder

none of the above

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the below options will give you the remainder of a division?

%%

%

/

*

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

You can perform mathematical operations on a string.

True

False

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?