
DT Revision
Authored by manar lala
Design
8th Grade
Used 27+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct code for line 1
1. from TKINTER import *
2. window = ________
3. window.title GUI in Python
4. window.geometry("__________________")
5. WINDOWS.mainloop()
from tkinter import *
from Tk() import *
from Tkinter import *
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
. from TKINTER import *
2. window = ________
3. window.title GUI in Python
What should be the correct code for line 3 in the code shown above?
window.title"GUI in Python"
window.title(GUI in Python)
window.title("GUI in Python")
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the missing code from line 4
. from TKINTER import *
2. window = ________
3. window.title GUI in Python
4. window.geometry("__________________")
5. WINDOWS.mainloop()
(600X400)
"600x400”
600x400
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What should be the correct code for line 5
from TKINTER import *
2. window = ________
3. window.title GUI in Python
4. window.geometry("__________________")
5. WINDOWS.mainloop()
mainloop.window()
window.mainloop()
windows.mainloop()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the missing code from line 2
. from TKINTER import *
2. window = ________
3. window.title GUI in Python
4. window.geometry("__________________")
5. WINDOWS.mainloop()
TK()
Tk()
tK()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the correct code for line 3
from tkinter import *
2. window = Tk()
3. WINDOW=Title(Enter your name)
4. window.geometry("350x150")
5. def Button_clicked():
WINDOW.title("Enter your name")
window=title("Enter your name")
window.title(“Enter your name”)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the missing code for line 1
. btn = _________________________________________________
2. btn.grid(row=1, column=0)
btn = button(window, text="Submit", command=Button_clicked)
btn = Button(window, text=Submit, command=Button clicked)
btn = Button(window, text="Submit", command=Button_clicked)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?