
Python Final Quiz
Authored by Jyoti Arora
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following function used to create window in
python tkinter.
app_window()
Tk()
win()
tkinter()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the correct way to use tkinter in python
program?
import tkinter *
include tkinter *
from tkinter import *
from tkinter include *
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to set the size of the tkinter
window?
window_geometry()
window.geometry()
window.size()
window.geo()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the use of mainloop() function in tkinter window?
To hold the window screen
To delete the window screen
To disable the window screen
To Create the window screen
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can we add two strings together?
s.join(s1)
s.add(s1)
s+(+s1)
s+s1
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a=5
b=6
c=7
print("a"+"b")
What will be the output?
ab
11
5+6
a+b
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose list1 = [2, 33, 222, 14, 25],
What is list1[-1]?
14
25
Error
None of these
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?