11
QuizMultiple Choice

Test: Programming Algorithms

Question 11 • Intro to Computer Science B

What is a widget?

Answer
A
a part of a GUI that allows a specific type of interaction with the user
B
an action taken by the user or a process, such as a user clicking a mouse or pressing a key on a keyboard
C
an algorithm for handling an error
D
a part of a program that responds to an event

Explanation

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.

Previous
Next