Multiple choice .net

Which event is activated when a RadioButton is selected?

  1. Checked

  2. CheckedChanged

  3. Selected

  4. SelectedChanged

  5. SelectionChanged

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

To determine which event is activated when a RadioButton is selected, you need to understand the event model of the programming framework or language you are working with. In this case, assuming you are referring to a common event model, such as the one used in Microsoft's .NET framework, the answer would be B. CheckedChanged.

In most event-driven programming frameworks, a RadioButton control has a "Checked" property that represents its checked state. When the user selects or deselects a RadioButton, the Checked property changes, triggering the CheckedChanged event. This event is specifically designed to handle the change in the checked state of a RadioButton.

Therefore, the answer is:

B. CheckedChanged

AI explanation

CheckedChanged is correct. In .NET Windows Forms, the RadioButton control raises the CheckedChanged event whenever its Checked property toggles — i.e., when the user selects it (or when it becomes deselected as another radio button in the same group gets selected). 'Checked' and 'Selected' aren't event names on RadioButton at all — Checked is just the boolean property being watched, and 'Selected'/'SelectionChanged' are naming patterns more associated with list-type or tab controls, not RadioButton. 'SelectedChanged' is similarly not a real RadioButton event — the actual, documented event name is specifically CheckedChanged.