Search Header Logo

Python Test - 2

Authored by Programming House

Other

KG

Used 1+ times

Python Test - 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

120 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of data is the following?: X = "295.47"

String

Float

Boolean

integer

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of variable is the following?: Y = False

Float

String

Integer

Boolean

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The process of giving a value to a variable is ...

Allocation

Assignment

Comparison

Debugging

4.

MULTIPLE SELECT QUESTION

30 sec • 5 pts

Choose valid variable names from the list of options given below:

1st_name

Last_name

first Name

f1_name

firstName

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Num = 90

Num = 20

print(Num)

90

4.5

20

1800

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

In the following code, what type of variable is being created?

foo = "bar"

Integer

Float

String

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which name would be meaningful in keeping a record of someone's high score?

s

hs

score

highScore

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?