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 Say Hello button, the program adds "Hello, my friend!" to the greeting in the textbox.

    Geek: The Text property of one of the buttons has the value "Say Hello." When the user clicks on that button, the program appends the characters " Hello, my friend!" to the value of the Text property of the textbox.

  • English: When the user clicks on the Say hi button, the program adds "Hi, pal!" to the greeting in the textbox.

    Geek:

  • English: When the user clicks on the Clear button, the greeting disappears.

    Geek:

  • English: When the user clicks on the Stop button, the program stops.

    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.