Certified Professional in Python Programming (PCPP-32-101) — Question 12
What will happen if the main window is too small to fit all its widgets?
Answer options
- A. Some widgets may be invisible
- B. The window will be expanded
- C. An exception will be raised
- D. The widgets will be scaled down to fit the window’s size
Correct answer: A
Explanation
The correct answer is A because when the main window is too small, some widgets may not be displayed, leading to invisibility. Options B and D are incorrect because the window does not automatically expand or scale down widgets; instead, they are simply not shown. Option C is also wrong as no exception is raised in this scenario.