Python Part 2

Python Part 2

10th - 12th Grade

35 Qs

quiz-placeholder

Similar activities

Python Lesson #1-3

Python Lesson #1-3

Python Quiz

Python Quiz

PLTW CSE 3.1- 3.2

PLTW CSE 3.1- 3.2

Python Review (Basics, Print)

Python Review (Basics, Print)

Python Practice 2

Python Practice 2

Python

Python

Python basics

Python basics

Python Part 2

Python Part 2

Assessment

Quiz

Computers

10th - 12th Grade

Medium

Created by

Brian Chen

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To repeat a fixed number of times use a

while loop
for loop
if loop
indentation

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The second part of if, that is executed when the condition is false

if
else
for
input

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The character that must be at the end of the line for if, while, for etc.

:
;
.
,

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python identifies blocks of code by

BEGIN and END keywords
{ and }
aligning up the starts of lines (indentation)
guessing

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correctly-formatted comment?

#Comment
&Comment
""Comment""
!Comment

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

stores a piece of data, and gives it a specific name

variable
whitespace
interpreter
modulo

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a line of text that Python won't try to run as code

comment
modulo
variable
boolean

Create a free account and access millions of resources

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?