Search Header Logo

Python L22-23 Calculator

Authored by Future Teacher

Computers

6th - 8th Grade

Used 1+ times

Python L22-23 Calculator
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

30 sec • 1 pt

Media Image

What does this line do?

Adds 100 and 10

Prints '+'

Calls the subtract function

Creates a new variable

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Each mathematical operation is stored in the dictionary using a symbol as a key.

True

False

3.

MATCH QUESTION

1 min • 1 pt

Match the operator symbol to its function:

/

divide

-

subtract

*

multiply

+

add

4.

DRAG AND DROP QUESTION

1 min • 1 pt

To call a function stored inside a dictionary using its symbol,

write: operator[​ (a)   ](n1, n2)

symbol
addition
division

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The repeat variable controls whether the calculator runs multiple times.

True

False

6.

MATCH QUESTION

1 min • 1 pt

Match the following

input

Media Image

output

Media Image

process

Media Image

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will happen if the user enters X when asked to continue?

Program restarts

User is asked again

Program stops with goodbye message

It clears the screen

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?