Quiz-1 tkinter

Quiz-1 tkinter

Assessment

Quiz

Computers

University - Professional Development

Medium

Created by

Awatif Alnaqbi

Used 106+ times

FREE Resource

Student preview

quiz-placeholder

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct way to use tkinter in python

program?

include tkinter *

import tkinter *

from tkinter import *

from tkinter include *

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following function used to create window in

python tkinter.

window()

tk()

toolkit()

wd()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following attribute used to change the text

color of a Label widget in python tkinter

fg

foreground

bg

background

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to set the size of the tkinter

window?

setsize()

size()

geometry()

dimension()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the use of mainloop() function in tkinter window?

To create the window screen

To hold the window screen

To delete the window screen

To disable the window screen

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In MVC pattern, the model is responsible for

processing the program's data

managing the program's data

displaying the program's data

control the appearance of data

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is it possible to set the title for a window after creating it?

yes

no