Python L22-23 Calculator

Python L22-23 Calculator

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Spreadsheet Formulas

Spreadsheet Formulas

7th - 8th Grade

15 Qs

Writing Algorithms - Flowcharts

Writing Algorithms - Flowcharts

8th Grade

15 Qs

SQL

SQL

8th Grade

15 Qs

Jaringan komputer

Jaringan komputer

7th - 9th Grade

13 Qs

Math

Math

7th Grade

10 Qs

Programming quiz

Programming quiz

1st - 10th Grade

15 Qs

STRUKTUR KAWALAN DWIPILIHAN

STRUKTUR KAWALAN DWIPILIHAN

7th Grade

13 Qs

Flowcharting

Flowcharting

6th - 11th Grade

10 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:

-

multiply

+

add

*

subtract

/

divide

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

process

Media Image

output

Media Image

input

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?