Session3L2Quiz

Session3L2Quiz

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

SENSÖRLER-1

SENSÖRLER-1

10th Grade

20 Qs

Perangkat Lunak

Perangkat Lunak

12th Grade

20 Qs

MINECRAFT/PYTHON QUIZ

MINECRAFT/PYTHON QUIZ

12th Grade

20 Qs

𝗠𝗲𝗺𝗯𝗲𝗿𝘀𝗵𝗶𝗽 𝗥𝗲𝗰𝗿𝘂𝗶𝘁𝗺𝗲𝗻𝘁 𝗠𝗼𝗻𝘁𝗵

𝗠𝗲𝗺𝗯𝗲𝗿𝘀𝗵𝗶𝗽 𝗥𝗲𝗰𝗿𝘂𝗶𝘁𝗺𝗲𝗻𝘁 𝗠𝗼𝗻𝘁𝗵

1st - 10th Grade

15 Qs

Trivia Quiz

Trivia Quiz

10th Grade - University

20 Qs

Trafik

Trafik

2nd Grade - University

18 Qs

REPAIR ELECTRIC COMPONENT EX2500-6

REPAIR ELECTRIC COMPONENT EX2500-6

KG - Professional Development

20 Qs

Les enjeux de la mercatique éthique

Les enjeux de la mercatique éthique

11th - 12th Grade

10 Qs

Session3L2Quiz

Session3L2Quiz

Assessment

Quiz

Special Education

9th - 12th Grade

Practice Problem

Hard

Created by

Mohamed Hany

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

In Python, a variable must be declared before it is assigned a value:

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

In Python, a variable may be assigned a value of one type, and then later assigned a value of a different type:

True

False

3.

MULTIPLE SELECT QUESTION

30 sec • 10 pts

Which of the following are valid Python variable names:

home_address

route66

4square


ver1.3

Age

4.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Media Image

You are reading Python code, and these statements appear scattered in different locations throughout the code:

These statements refer to the same variable.

These statements refer to different variables.

5.

MULTIPLE CHOICE QUESTION

30 sec • 15 pts

Which of the following statements assigns the value 100 to the variable x in Python:

x == 100

x = 100

x != 100

x << 100

6.

MULTIPLE CHOICE QUESTION

30 sec • 15 pts

What is the output of this code:

var = ["Mohamed","Hany"]

print(var[0][3])

Error

a

Mohamed

h

m

7.

MULTIPLE SELECT QUESTION

30 sec • 10 pts

Which of the following are Python reserved words (keywords):

goto

and

None

default

class

Answer explanation

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?