Translating English to Geek

This assignment tests your ability to describe a user interface and the objects it contains 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 payroll program. Translate each of them into Geek. (I did the first one to help you get started).

  1. English: The user interface has two buttons.

    Geek: Two of the objects in the user interface are instances of the class Button.

  2. English: The line at the top of the form says "Generalized payroll program with a combo box and validity checking".

    Geek:

  3. English: One button says "Calculate Pay".

    Geek:

  4. English: The form is turquoise.

    Geek:

  5. English: The buttons are orange.

    Geek:

  6. English: The object that says "Stop" is a Button.

    Geek:

  7. English: The letters are all black.

    Geek:

  8. English: It says "Payroll with Variable Tax Rate" in the middle of the top of the form.

    Geek:

  9. English: The initial tax rate is zero.

    Geek:

    The following questions refer to a simple greeting program. As you see below, I have given each object on the form a name.

    Translate the following from English to Geek using the names of the objects when you refer to them. (I will do the first one to get you started).

  10. English: The button on the left says "Greet."

    Geek: The value of the Text property of btnGreet is "Greet."

  11. English: The other button says "Clear".

    Geek:

  12. English: The area used for output is blank to start with.

    Geek:


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.