Python Basic Calculator Revision

Python Basic Calculator Revision

6th - 8th Grade

13 Qs

quiz-placeholder

Similar activities

prep1-revision

prep1-revision

7th Grade

12 Qs

CF Unit 10

CF Unit 10

7th Grade

10 Qs

THE PHOTOSHOP WINDOW

THE PHOTOSHOP WINDOW

7th - 8th Grade

10 Qs

Creating Webpages

Creating Webpages

6th - 8th Grade

12 Qs

Formatting a Spreadsheet

Formatting a Spreadsheet

6th Grade

10 Qs

Check-up Exercise: Buttons

Check-up Exercise: Buttons

7th Grade

10 Qs

Microsoft Word Screen Elements

Microsoft Word Screen Elements

6th - 7th Grade

10 Qs

Python Basic Calculator Revision

Python Basic Calculator Revision

Assessment

Quiz

Computers

6th - 8th Grade

Practice Problem

Hard

Created by

Alex vZ

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to create a new window in the provided code?

Tk()
Entry()
Button()
Label()
newWindow()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to add a text entry field in the created window?

Entry()
Button()
Label()
newWindow()
addEntry()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to clear the text in the text entry field?

clear()
delete()
button_clear()
numInput.clear()
numInput.delete()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How is the Button widget configured in the code to respond to a click event?

command=button_click()
button.click()
button.command = button_click
command=button_click
button_click()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to change the title of the created window?

changeTitle()
newTitle()
root.title()
setTitle()
changeWindowTitle()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to add the "1" button to the window?

button_1.grid()
button_click(1)
button_1.add()
button.grid(1)
addButton(button_1)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to create a button with the text "+"?

Button(root, text="+")
Button.create("+")
Button(text="+")
createButton("+")
addButton("+")

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?