Search Header Logo

Python Recap

Authored by Computer Cab

Computers

9th - 12th Grade

Used 30+ times

Python Recap
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What in the name of the variable in this Python code?

name

input

print

("What is your name")

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When coding in Python what two instructions would I use if I want the program to select a choice?

IF

PRINT

IF

COUNT

IF

ELSE

IF

INPUT

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is missing from the Python code in the image?

() [brackets]

" " [speech marks]

: [colon]

; [semi-colon]

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Quotation marks around a variable’s identifier imply that it is a:

String
Integer
Character
List

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

This variable data type can only have True or False values:

Boolean
Integer
True/False
String

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Casting refers to:

Converting between variable data types
Boolean algebra
Printing out of the program’s results
Sending values to a function or procedure

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The programming keywords ELSE IF or ELIF are best used when our selection needs to work with:

More than two choices
More than three choices
More than one choice
A conditional loop

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?