Python Quiz 1

Python Quiz 1

11th Grade

7 Qs

quiz-placeholder

Similar activities

Code Evaluation Practice, 1/23

Code Evaluation Practice, 1/23

9th - 11th Grade

10 Qs

Session 1

Session 1

9th - 12th Grade

10 Qs

Methods (Basic)

Methods (Basic)

9th - 12th Grade

10 Qs

Quiz 1

Quiz 1

9th - 12th Grade

11 Qs

Getting Started with Java Quiz

Getting Started with Java Quiz

10th Grade - Professional Development

10 Qs

Lesson 1 - Webdev

Lesson 1 - Webdev

10th Grade - University

9 Qs

Quiz on Random Numbers and Variables

Quiz on Random Numbers and Variables

11th Grade

11 Qs

Python - 01

Python - 01

9th - 12th Grade

10 Qs

Python Quiz 1

Python Quiz 1

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Jason Fontaine

Used 2+ times

FREE Resource

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the console output when this code runs?

['hello', 'everyone', 'and', 'goodbye']

['tyler', 'hello', 'and', 'goodbye']

['hello', 'tyler', 'and', 'goodbye']

['hello', 'and', 'goodbye', 'tyler']

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the console output when this code runs?

4

3

16

6

8

9

8

6

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the console output when this code runs?

1 2 3 4 6

1

2

3

4

6

1

2

3

4

5

1 2 3 4 5

4.

OPEN ENDED QUESTION

3 mins • 1 pt

Media Image

There is an error in this code. What is the error?

Evaluate responses using AI:

OFF

5.

OPEN ENDED QUESTION

3 mins • 1 pt

Media Image

There's an error in this code. What and where is it?

Evaluate responses using AI:

OFF

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the console output when the code runs?

maybe

maybe

yes

no

maybe

maybe

maybe

yes

maybe

no

maybe

maybe

maybe

yes

no

maybe

maybe

7.

OPEN ENDED QUESTION

3 mins • 1 pt

Media Image

Ben want to check to see if Sarah has a yellow car. Write an 'if' statement to see if Sarah has a yellow car in her list. If she does, print "You have a yellow car!"

(The code goes where the ??? are)

Evaluate responses using AI:

OFF