Activity 01
Pair Programming: Event Button GUI
Pairs sketch a simple window with two buttons on paper first. They code one button to display a greeting message and the other to change background color on click. Test and swap roles for debugging.
Analyze the components of a basic graphical user interface.
Facilitation TipDuring Pair Programming, circulate and listen for students discussing how the event handler connects the button click to the program's logic.
What to look forProvide students with a screenshot of a common application interface (e.g., a simple calculator app). Ask them to list at least three GUI widgets they identify and briefly describe the function of each. Then, ask them to identify one potential accessibility improvement for the interface.