Review Game Zone
Games
Test
Preview
Back
Match it!
Match it! Select the correct answer from the pull down...Good luck!
readlines() means:
To access a class attribute
Radio button
A non-sequential program that runs based on user input
reads all the lines from the file into a list
from tkinter import *
Usually, you want to avoid directly accessing an object’s attributes outside of its class definition.
root.geometry(“200x100”)
Common attribute across the class—not saved in each object
What is an 'event driven program'?
To access a class attribute
Radio button
A non-sequential program that runs based on user input
reads all the lines from the file into a list
from tkinter import *
Usually, you want to avoid directly accessing an object’s attributes outside of its class definition.
root.geometry(“200x100”)
Common attribute across the class—not saved in each object
What method sets the size of a root window?
To access a class attribute
Radio button
A non-sequential program that runs based on user input
reads all the lines from the file into a list
from tkinter import *
Usually, you want to avoid directly accessing an object’s attributes outside of its class definition.
root.geometry(“200x100”)
Common attribute across the class—not saved in each object
Which of these statements is true?
To access a class attribute
Radio button
A non-sequential program that runs based on user input
reads all the lines from the file into a list
from tkinter import *
Usually, you want to avoid directly accessing an object’s attributes outside of its class definition.
root.geometry(“200x100”)
Common attribute across the class—not saved in each object
A GUI widget that only allows you to select one among many options.
To access a class attribute
Radio button
A non-sequential program that runs based on user input
reads all the lines from the file into a list
from tkinter import *
Usually, you want to avoid directly accessing an object’s attributes outside of its class definition.
root.geometry(“200x100”)
Common attribute across the class—not saved in each object
Which line of code will import the tkinter module into the global scope of the program?
To access a class attribute
Radio button
A non-sequential program that runs based on user input
reads all the lines from the file into a list
from tkinter import *
Usually, you want to avoid directly accessing an object’s attributes outside of its class definition.
root.geometry(“200x100”)
Common attribute across the class—not saved in each object
What is a “class attribute”?
To access a class attribute
Radio button
A non-sequential program that runs based on user input
reads all the lines from the file into a list
from tkinter import *
Usually, you want to avoid directly accessing an object’s attributes outside of its class definition.
root.geometry(“200x100”)
Common attribute across the class—not saved in each object
Why might you use a static method?
To access a class attribute
Radio button
A non-sequential program that runs based on user input
reads all the lines from the file into a list
from tkinter import *
Usually, you want to avoid directly accessing an object’s attributes outside of its class definition.
root.geometry(“200x100”)
Common attribute across the class—not saved in each object
Check it!