Session3L2Quiz

Session3L2Quiz

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

PAES Lab Study Guide

PAES Lab Study Guide

9th - 12th Grade

14 Qs

Циклы в С++

Циклы в С++

10th Grade - University

10 Qs

Egalité et fraternité [EMC, 1ère Bac pro]

Egalité et fraternité [EMC, 1ère Bac pro]

12th Grade

20 Qs

PENATAAN PRODUK KD 1

PENATAAN PRODUK KD 1

12th Grade

10 Qs

Estructuras Repetitivas

Estructuras Repetitivas

7th Grade - Professional Development

10 Qs

Codes in Print Media

Codes in Print Media

9th - 11th Grade

10 Qs

Fiches techniques

Fiches techniques

1st - 12th Grade

20 Qs

Olika golvtyper

Olika golvtyper

10th - 12th Grade

14 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?