Python Basic Calculator Revision

Python Basic Calculator Revision

6th - 8th Grade

13 Qs

quiz-placeholder

Similar activities

Programming with a GUI and Hardware

Programming with a GUI and Hardware

8th Grade

8 Qs

PowerPoint 16 Module 1 Vocabulary - Cengage

PowerPoint 16 Module 1 Vocabulary - Cengage

5th - 12th Grade

10 Qs

4.3 Word Quizizz

4.3 Word Quizizz

8th - 12th Grade

14 Qs

INFORMATION TECHNOLOGY

INFORMATION TECHNOLOGY

6th - 10th Grade

10 Qs

VisualBasic

VisualBasic

8th Grade

15 Qs

G Suite (Pre-Assessment)

G Suite (Pre-Assessment)

5th - 8th Grade

13 Qs

File Explorer Basics

File Explorer Basics

7th Grade

11 Qs

Google Suite Skills

Google Suite Skills

5th - 8th Grade

12 Qs

Python Basic Calculator Revision

Python Basic Calculator Revision

Assessment

Quiz

Computers

6th - 8th Grade

Hard

Created by

Alex vZ

Used 3+ times

FREE Resource

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("+")

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?