UDA-python-variables

UDA-python-variables

5th - 9th Grade

5 Qs

quiz-placeholder

Similar activities

Introduction to Python

Introduction to Python

9th Grade

10 Qs

Python_R

Python_R

2nd Grade - Professional Development

8 Qs

CompTIA IT Fundamentals

CompTIA IT Fundamentals

8th - 12th Grade

10 Qs

Python Lesson 1 - Homework

Python Lesson 1 - Homework

8th - 9th Grade

10 Qs

Python

Python

3rd - 10th Grade

10 Qs

Python 2

Python 2

9th - 12th Grade

10 Qs

Year 7 Computing: Digital Literacy Lesson 2

Year 7 Computing: Digital Literacy Lesson 2

6th Grade

10 Qs

Pseudocode - OCR ERL

Pseudocode - OCR ERL

9th - 12th Grade

10 Qs

UDA-python-variables

UDA-python-variables

Assessment

Quiz

Mathematics, Computers

5th - 9th Grade

Hard

Created by

egezon baruti

Used 10+ times

FREE Resource

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