Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Is the name given to graphical user interface controls. a) Properties b) Varchar

ID: 3834615 • Letter: I

Question

Is the name given to graphical user interface controls. a) Properties b) Varchars c) Widgets d) Kintgets e) None of the above Which of the following is not a GUI design principle? A) Validation b) Repetition c) Alignment d) Contrast e) None of the above A framework contains default behavior and _______ code. a) Non-modifiable b) Indexed c) Graphics d) Instantiated e) None of the above A "turtle" object can ______. a) Be indexed b) Undo its own reference c) Report its state d) Issue a destructor e) None of the above The "turtle" window closed in response to ________. a) An event b) An exception being thrown c) IDLE warnings d) Poor aliasing e) None of the above The keyword used for the callback in "GUI for Fibonacci" was ________. a) alpha b) gamma c) phi d) lambda e) None of the above A callback function needs to ______ the argument it receives. a) Validate b) Recourse against c) Append d) Ignore e) None of the above A key objective in Form design is to ________ data entry. a) Use recursion on b) Perform memory addressing c) Append d) Minimize e) None of the above The three GUI layout options are pack, grid and __________. a) Book b) Place c) Block d) Table e) None of the above The key design principle for a __________. a) Contrast b) Repetition c) Alignment d) Proximity e) None of the above

Explanation / Answer

11.
Answer is c, Widgets
Tkinter provides various controls called widgets such as buttons, labels and text boxes etc.,

------------------------------------------------------------------------------------------------------------------------------------

12. The answer is a; validation

These four principles — contrast, repetition, alignment and proximity (CRAP) were given by Robert Williams. Clearly, validation is not one of them.

------------------------------------------------------------------------------------------------------------------------------------

13. Answer is a; non-modifiable

The framework code, in general, is not supposed to be modified but is extensibile. In other words, user can extend the framework, but should not modify its code.

------------------------------------------------------------------------------------------------------------------------------------

14.
Answer is d, Issue a destructor.

- Turtle object is iterable (can be indexed)

- can undo it's own reference, using undo()
- report it's state [postion(), pos(), xcor(), ycor(), heading(), distance().....]

------------------------------------------------------------------------------------------------------------------------------------

15. answer is a; an event

- turtle.exitonclick() binds the screen click event to do a turtle.bye() and then invokes turtle.mainloop()
- turtle.done() is a synonym for turtle.mainloop(), which transfers control to the tkinter event loop which keeps the window open until some user action closes it

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote