Search Header Logo

Python Basics

Authored by Kevin Smith

Computers

7th - 9th Grade

Used 550+ times

Python Basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following functions display an output to the screen?

display()

output()

print()

post()

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Everything that we want do display in a print() function must:

be inside parentheses - ()

quotation marks - ""

be inside single quotation marks - ''

be inside hash marks - #

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An Operator is:

A person that performs operations

a symbol that specifies the operation to perform

a symbol that means the code will run

a line of code

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An Opearand is:

The value of the operation

The value that the total operation is equal to

The value on the left or right of an operator. The values on which the operation will be performed.

The value in the print statement

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An Expression is:

A combination of values, operators or functions that can be calculated to give a single value

A printed line of code

A combination of operations that give multiple values

A single value in python

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which operator performs a multiplication?

+

/

X

*

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator performs a division?

-

+

/

*

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?