Tkinter Review
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Lauren Tan
Used 60+ times
FREE Resource
Enhance your content in a minute
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Which of the commands below would create a button object in a tkinter window named root that links to a function called doubleMe?
button1 = Button(root, text="Double me")
button1 = Button(text="Double me")
button1 = Button(root, command = doubleMe)
button1 = Button()
2.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
next_btn = Button(window, text=">", font=("Arial",20), command=nextCard)
next_btn.grid(column=2, row=4)
What is the role of the statement underlined?
place widget next_btn in row 4 and column 2
creating the new button - next_btn
draw the grid lines on screen
to call grid() to divide the button into a grid
3.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
In the following line of code, which is is a METHOD?
canvas1.create_line(0, 0, 200, 100)
create_line
canvas1
0
200
4.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
In the following line of code, which is is an OBJECT?
canvas1.create_line(0, 0, 200, 100)
create_line
canvas1
0
200
5.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
In the following line of code, which is is an ARGUMENT?
canvas1.create_line(0, 0, 200, 100)
create_line
canvas1
Canvas
200
6.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
What is the difference between a method and a function?
A method can only be used on a class of objects where as a function doesn't need a specific object to run it.
A function can only be used on a class of objects where as a method doesn't need a specific object to run it.
A method must have arguments and a function may or may not have arguments (depending on the situation)
A function must have arguments and a method may or may not have arguments (depending on the situation)
7.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
What are two methods that place a widget on your root window?
pack and grid
pack and set
grid and set
set and get
Similar Resources on Wayground
7 questions
Fidget Cubes (More on Maker Unit 2)
Quiz
•
8th - 9th Grade
10 questions
RFID Quiz
Quiz
•
10th - 12th Grade
10 questions
TQ - Review Quiz Week 1
Quiz
•
9th Grade
11 questions
Social Engineering
Quiz
•
10th Grade
10 questions
DBMS- CLASS8 CBSE
Quiz
•
7th - 10th Grade
10 questions
Tin học 10 _ Bài 16 _Định dạng văn bản
Quiz
•
10th - 12th Grade
10 questions
Unit 4 Inkscape Visual Graphics
Quiz
•
9th Grade
12 questions
تقنيات وبرمجة الاجهزة الذكية
Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
