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: The program starts out with the label in the middle.

    Geek: The intial value of the Top property of the label is 98 pixels.

  • English: When the user clicks on the Up button, the label moves up.

    Geek:

  • English: When the user clicks on the Down button, the label moves down.

    Geek:

     

     

     

    Hint: The label is 24 pixels down from the top of the form when it is up and 216 when it is down.

     

    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.