Search Header Logo

PYTHON INTRO LESSON2-5 QUIZ

Authored by Zeyneb Adakli

Computers

10th Grade

Used 15+ times

PYTHON INTRO LESSON2-5 QUIZ
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is the best description of a variable?

a question that the user can answer

a way to store numbers in a program

A named container that stores a value that can change in a program

A math symbol like + or *

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The word Sally is saved in a variable called name. Which of these print statements will correctly print out: That snake is named Sally"

Media Image
Media Image
Media Image
Media Image

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False? An integer is a whole number.

true

false

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following input statements will correctly take in a number that can be used in a calculation?

Media Image
Media Image
Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which character goes at the end of a line of code that starts with if?

:

;

,

{

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the keyword used for making a second branch in an if statement that will run whenever the if condition is False?

else if

else

elf

elif

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator means "is equal to" in Python?

!=

==

=

=>

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?