Python L22-23 Calculator

Python L22-23 Calculator

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

الدوال المتقدمة 2

الدوال المتقدمة 2

7th Grade

12 Qs

C++ Quiz 2

C++ Quiz 2

8th Grade

15 Qs

Introduction to Python Programming

Introduction to Python Programming

7th - 10th Grade

12 Qs

Flowcharts

Flowcharts

7th - 12th Grade

14 Qs

The Shift Key

The Shift Key

3rd - 8th Grade

12 Qs

Microsoft Teams Live Meetings

Microsoft Teams Live Meetings

2nd Grade - Professional Development

11 Qs

Microbit lesson 2

Microbit lesson 2

6th Grade

10 Qs

Programming Quiz

Programming Quiz

7th - 8th 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:

-

divide

/

multiply

+

subtract

*

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

output

Media Image

process

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?