Question 11 • Intro to Computer Science B
A widget is a graphical user interface (GUI) element that lets a person interact with a program in a particular way. Buttons, checkboxes, and text fields are common examples. Choice A describes this; choice D is closer to an event handler, which responds to an event.
AI-written and checked against the verified answer.