Python Intro Lesson 2 Review

Python Intro Lesson 2 Review

8th Grade

11 Qs

quiz-placeholder

Similar activities

Anong kwentong Raikan mo?

Anong kwentong Raikan mo?

KG - Professional Development

16 Qs

ANIME!!

ANIME!!

5th Grade - Professional Development

10 Qs

Guess the blackpink song lyrics

Guess the blackpink song lyrics

4th Grade - Professional Development

10 Qs

CFC Promotion Quiz

CFC Promotion Quiz

5th - 12th Grade

15 Qs

Św. Abraham

Św. Abraham

1st - 12th Grade

11 Qs

Plastic

Plastic

4th - 12th Grade

15 Qs

QUIZ ON INDEPENDANCEDAY

QUIZ ON INDEPENDANCEDAY

KG - University

15 Qs

Welcome! & Course Expectations

Welcome! & Course Expectations

7th - 8th Grade

13 Qs

Python Intro Lesson 2 Review

Python Intro Lesson 2 Review

Assessment

Quiz

Other

8th Grade

Practice Problem

Medium

Created by

Ian Stuckey

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

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

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the initial user input captured in the code?

Today's date

The user's favorite animal

The current weather

The user's pet's name

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What message is displayed in the first output?

I don't have a pet and it makes me sad.

Well, I am sure your pet would eat...

Well, that's up to you I suppose...

Really? I love it when it's...

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the variable 'outside' storing in the code?

The user's favorite animal

The user's decision to go outside

The user's pet's name

The type of food the user would give to their pet

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the purpose of the '?' character in the line "outside + "?" + + "Well that's up to you I suppose..."?

It's a syntax error.

It separates two variables.

It's part of the user's input.

It concatenates with the sentence.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How does the code first ask for the user's input regarding an animal?

"Really? I don't understand why anyone would want to own a"

"Well, that's up to you I suppose..."

"Well I am sure your" + + pet

"What's your favorite type of animal?"

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What information is concatenated together in the following line?

print("Really? I don't understand why anyone would want to own a" + " " + pet)

The user's pet and "would eat"

The user's favorite animal and "I don't understand why anyone would want to own a"

The user's favorite animal and "So what kind of food would you give your pet?"

None of these

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the 'petFood' variable store?

The type of food the user would eat

The user's pet's name

The type of food the user would give to their pet

The type of pet the user has

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?