Python Review Part 1

Python Review Part 1

6th - 8th Grade

25 Qs

quiz-placeholder

Similar activities

Vocabulary

Vocabulary

5th Grade - Professional Development

20 Qs

Trimestre 2 Examen Mensual 9° grado

Trimestre 2 Examen Mensual 9° grado

7th - 9th Grade

20 Qs

Habit 4

Habit 4

2nd Grade - Professional Development

20 Qs

MARPOL - CLIL

MARPOL - CLIL

7th Grade

20 Qs

8TH GRADE:  3.01- The world of work & how it changes.

8TH GRADE: 3.01- The world of work & how it changes.

8th Grade

20 Qs

entry strategy

entry strategy

7th Grade

20 Qs

[CBTC28] - QUẢN LÝ TÀI CHÍNH & ĐIỀU HÀNH CUỘC HỌP

[CBTC28] - QUẢN LÝ TÀI CHÍNH & ĐIỀU HÀNH CUỘC HỌP

KG - Professional Development

20 Qs

EEE610 Group EE2427A&B Sept 2018

EEE610 Group EE2427A&B Sept 2018

7th Grade - University

20 Qs

Python Review Part 1

Python Review Part 1

Assessment

Quiz

Professional Development

6th - 8th Grade

Hard

Created by

Brittney Jones

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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?