Search Header Logo

Python Recap 2

Authored by Jamie Domingo

Computers

3rd - 12th Grade

17 Questions

Used 4+ times

Python Recap 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct format when writing a function?

functionName = input

functionName(input)

input = functionName()

input(functionName)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you declare a variable?

function = variableName(value)

function(variableName)

variableName = value

variableName(value)

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is concatenation?

A breed of cat

A function that joins numbers together

A method of joining variables together

A function that executes a Python command

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Click the symbols that concatenate variables.

+

_

-

,

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function displays its input?

display()

input()

type()

print()

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

This is a valid variable: onetwothree = 123

True

False

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Variable names must start with a character.

True

False

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?