Translating English to Geek

This assignment tests your ability to describe events and event handlers using Geek, the precise language of a programmer.

Note that you must do this assignment in a group of at least two people. I will not accept individual submissions. The intent is that you talk about your answers with others and come up with a consensus. You need to use these terms actively rather than just listening to others.

The following English language statements describe the user interface of a greeting program. Translate each of them into Geek. (I did the first one to help you get started).

  • English: When the user clicks on the Cute button, the program says he or she is cute.

    Geek: The Text property of one of the buttons has the value "Greet." When the user clicks on that button, the Text property of the Textbox is assigned the value "You are cute."

  • English: When the user clicks on the Nice button, the program says he or she is cute.

    Geek:

  • English: When the user clicks on the Ugly button, the program says he or she is ugly.

    Geek:

  • English: When the user clicks on the Handsome button, the program says he or she is handsome.

    Geek:

  • English: When the user clicks on the Cute button, the program says he or she is cute.

    Geek:

     

     

    Answer and explain your answers to the following:


    Disclaimer: The views and opinions expressed on unofficial pages of California State University, Dominguez Hills faculty, staff or students are strictly those of the page authors. The content of these pages has not been reviewed or approved by California State University, Dominguez Hills.