wxPython MCQ Questions & Answers

wxPython MCQs : This section focuses on "wxPython" of Python Library. These Multiple Choice Questions (MCQ) should be practiced to improve the wxPython skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.

1. wxPython developed by?

A. Robin Dunn
B. Harri Pasanen
C. Guido van Rossum
D. Both A and B

View Answer


2. wxPython is a Python wrapper for wxWidgets.

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


3. A ___________ window can contain any frame that is not a dialog or another frame.

A. wxModule
B. wxFrame
C. wxWidget
D. wxFormBuilder

View Answer


4. Which of the following is true about wxFormBuilder?

A. wxFormBuilder is open source
B. wxFormBuilder is cross-platform
C. wxFormBuilder is can translate the wxWidget GUI design into C++, Python, PHP or XML format
D. All of the above

View Answer


5. Which of the following is true about wx.Panel?

A. Class has a default constructor with no arguments
B. class object presents a control holding such read-only text
C. class is usually put inside a wxFrame object
D. None of the above

View Answer


6. A _________ displays a small labeled rectangular box. 

A. wx.StaticText
B. wx.checkbox
C. wx.Frame
D. wx.Toolbar

View Answer


7. ___________ class object shows a vertical or horizontal bar, which graphically shows incrementing quantity.

A. wx.Slider
B. wx.MenuBar
C. Wx.Gauge
D. wx.CheckBox

View Answer


8. _______ method is inherited by all display objects from wx.EvtHandler class.

A. OnClick() 
B. Event()
C. Load()
D. Bind()

View Answer


9. Which of the following method Sets the button’s caption programmatically?

A. SetLabel
B. GetLabel
C. SetDefault
D. Default

View Answer


10. wxPython API contains wx.Slider class.

A. Yes
B. No
C. Can be yes or no
D. Can not say

View Answer




Discussion



* You must be logged in to add comment.