Class 12 Computer Science · Chapter 4 · Test 1
Tkinter Basics
38 MCQs
38 questions · 30 min · 38 marks
Want to try first? Take the free Computer Science test: Networks Basics
Sample questions
The first 5 of 38. Try each one, then tap to see the answer.
Question 1
The main purpose of a GUI in Python programming is to:
- ACreate a user-friendly interface for interacting with software
- BManage files in Python
- CHandle network operations
- DStore and retrieve data from databases
Show answerHide answer
Answer: A
A GUI lets users interact with software through visual elements.
Question 2
Python's built-in GUI toolkit is:
- AwxPython
- BTkinter
- CpyQt
- DKivy
Show answerHide answer
Answer: B
Tkinter is the standard GUI toolkit that comes pre-installed with Python.
Question 3
Which of these belongs to a command-line interface rather than a GUI?
- AButtons
- BMenus
- CTyped commands
- DText boxes
Show answerHide answer
Answer: C
Command-line interfaces rely on typed commands while GUIs use visual elements.
Question 4
GUIs are especially valuable to:
- ANon-technical users
- BCompiler writers
- CNetwork engineers
- DDatabase designers
Show answerHide answer
Answer: A
GUIs are easier to understand and operate especially for non-technical users.
Question 5
GUIs improve usability by:
- AHiding all output
- BReducing screen size
- CRemoving buttons
- DProviding visual feedback
Show answerHide answer
Answer: D
GUIs give visual feedback and reduce the need to remember complex commands.
More tests in Development of Graphical User Interface (GUI)
Practise with a free account
Save your scores, see which chapters need work, and keep a notebook of every question you got wrong.