Python Basic Calculator Revision

Python Basic Calculator Revision

6th - 8th Grade

13 Qs

quiz-placeholder

Similar activities

Pre-test: On Online searching by Innovative Teaching Ideas)

Pre-test: On Online searching by Innovative Teaching Ideas)

6th - 12th Grade

14 Qs

Micro:bit

Micro:bit

4th Grade - University

12 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

Linux-2 Quiz 2 -- LAMP

Linux-2 Quiz 2 -- LAMP

1st - 12th Grade

15 Qs

HTML -znaczniki 1

HTML -znaczniki 1

7th Grade - University

15 Qs

Informatyka

Informatyka

1st - 8th Grade

18 Qs

Q7/Q8 Email Vocabulary (Basics in 21t4s)

Q7/Q8 Email Vocabulary (Basics in 21t4s)

5th - 9th Grade

17 Qs

Cyber Safety

Cyber Safety

3rd - 6th Grade

11 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?