Search Header Logo

UDA-python-variables

Authored by egezon baruti

Mathematics, Computers

5th - 9th Grade

Used 10+ times

UDA-python-variables
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which line of Python code is valid?

var a = 12

a = 12

a: 12

12 = a

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the best variable name for Player 1's username?

p1 user name = "taulant"

1_player_username = "taulant"

palyer1_username = "taulant"

p1u = "taulant"

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which block of code will produce an error?

time_until_midnight = "5"

print ( "There are " + time_until_Midnight + " hours until midnight" )

input = "5"

print ( "There are " + input+ " hours until midnight" )

time_until_midnight = "5"

print ( "There are " + time_until_midnight + " hours until midnight" )

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What's the output for the following code?


print( len( "95637+12" ))

15

95649

8

95659

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

A

B

C

D

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?