Computers and the Humanities 220

Linguistic Computer Programming 1

Lesson 3
Lesson 3 Questions/Exercises (Chapters 5, 8 pp. 213-221)
Review and be able to answer the following questions in class or on a test.  You are not required to turn the answers in at this time.
1. Be able to Define / Explain the following:
  • Variable
  • Data Type
  • Function
  • What data type would you choose to:
    • keep track of a true/false value?
    • store a monetary value?
    • store a number between 10 and 400 with no decimal?
    • store a number between 0 and 300 with a decimal?
    • store a street address?
  • List five mathematical operators and their uses
2. Create the programs in the book that are outlined on pp. 146 - 154. (You should do this anyway as you work through the chapter.) Combine them into one program with all 8 operator options.

     Optional: Add a button that creates a message box with the title "Important Message" and the message "Reformatting Drive C." that also has an "exclamation" icon and a button to "Cancel"?
3. Be able to define / answer the following:
  • Logical Errors
  • Runtime Errors
  • Syntax Errors
  • Debugging
  • How do you insert a breakpoint in your code?
  • How do you step through your code? How do you restart a program once it has been stopped?

Chum 220 ID:

CHum 220 Password:

Time spent outside of class:   Hours. (For example: 1.5 or 2)

     
Magic Box: (Questions, feedback, suggestions, short thought, short joke, ...)

     


By clicking the "Submit" button you verify that you have honestly reviewed the above questions and completed any activities.