stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Quiz (Batch 1) Flashcards | StudBud
Explore
/
Quiz (Batch 1)
Quiz (Batch 1)
15 terms
·
StudBud Administration
The quiz contains questions related to basic Python concepts and Tkinter GUI programming.
Flashcards
15 cards
F
Practice quiz
P
Host live
L
Questions
15
Answers
1
How do we import tkinter in python program?
import tkinter
All of the above
from tkinter import *
import tkinter as t
2
For user entry data, which widget do we use in Tkinter?
None of the above
Text
Entry
Both of the above
3
What is an essential thing to create a window screen using python tkinter?
by using import statements
call tk() function
All of the above
by defining a geometry
4
title() in Tkinter is used to
give a title name to the button
give a title name to the window
give a title name to the Label
give a title name to the specified widget
5
Which character is used in Python to create a single line comment?
//
none of the above
/
#
6
Which one of the following is the correct extension of Python file?
.python
.pl
.py
.p
7
To change the property of a widget after its declaration, what do we use?
configure() function
mainloop() function
pack() function
config() function
8
Which of the following is clickable in GUI programming?
Both 1 and 2
Button
Label
Checkbutton
9
GUI stands for
Graphical User Interface
Graphical User Interaction
Graph User Interface
Graph user interaction
10
fg in tkinter widget stands for?
forgap
foreground
None of the above
background
11
Which keyword is used for defining a function in Python?
Def
function
def
Func
12
Predict the output of the following code
Ishaan
Aryan
Annika
Alya
13
Who developed Python language?
Zim Den
Guido van Rossum
None of the above
Wick van Rossum
14
IDE stands for
International Development Environment
Integral Development Environment
Integrated Design Environment
Integrated Development Environment
15
API stands for
None of the above
Application Programming Interface
Application Program Interface
Applied Program Interchange