Python L22-23 Calculator

Python L22-23 Calculator

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Flowcharting

Flowcharting

6th - 11th Grade

10 Qs

Formulas in excel

Formulas in excel

7th Grade

15 Qs

Operating Systems

Operating Systems

7th - 8th Grade

14 Qs

Operating Systems

Operating Systems

7th - 9th Grade

10 Qs

Python Revision

Python Revision

8th Grade

15 Qs

Spreadsheets

Spreadsheets

1st - 12th Grade

15 Qs

Software

Software

6th - 8th Grade

13 Qs

Programming quiz

Programming quiz

1st - 10th Grade

15 Qs

Python L22-23 Calculator

Python L22-23 Calculator

Assessment

Quiz

Computers

6th - 8th Grade

Easy

Created by

Future Teacher

Used 1+ times

FREE Resource

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:

*

add

/

divide

+

subtract

-

multiply

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

output

Media Image

input

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?