Python Review Part 1

Python Review Part 1

6th - 8th Grade

25 Qs

quiz-placeholder

Similar activities

Computer Basics

Computer Basics

KG - 12th Grade

21 Qs

Programming Knowledge Quiz (Easy)

Programming Knowledge Quiz (Easy)

5th Grade - Professional Development

20 Qs

topic 3 review

topic 3 review

5th Grade - Professional Development

20 Qs

Leadership, Failure, & Growth Mindset

Leadership, Failure, & Growth Mindset

6th - 8th Grade

22 Qs

Technical Skills

Technical Skills

8th Grade

20 Qs

CCR  | Career Clusters quizzes

CCR | Career Clusters quizzes

6th - 8th Grade

25 Qs

PreVoc Term 1

PreVoc Term 1

KG - Professional Development

20 Qs

How do I pay for college?

How do I pay for college?

8th Grade

20 Qs

Python Review Part 1

Python Review Part 1

Assessment

Quiz

Professional Development

6th - 8th Grade

Hard

Created by

Brittney Jones

Used 2+ times

FREE Resource

AI

Enhance your content

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

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What are the three necessary parts of an if statement?

if, a variable, a semi-colon

if, a print statement, a colon

if, a condition, a colon

if, a print statement, a semi-colon

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these words is used to begin a conditional statement?

when

input

if

unit

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol must be used at the end of an if statement?

:

.

#

"

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The line after an if statement should begin with what?

#

a print statement

a colon

indentation

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which key do you press on the keyboard to indent a statement?

Tab

Shift

Enter

Ctrl

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Under what circumstances will the indented line of code immediately after an if statement be executed?

if the condition is false

if the condition is true

if the line begins with a #

if the line contains a variable

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When should a double equal sign (==) be used?

to set the value of a decimal variable

to set the value of a float variable

to check whether two pieces of data are actually equal

to indicate greater than or less than

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?