Computers and the Humanities 220

Linguistic Computer Programming 1

Lesson 5
Lesson 5 Questions/Exercises (Chapters 7, 8)
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. Define the following:
  • Loop (NOTE: See question 3)
  • Describe different "kinds" of loops
  • Timer
  • Stepping (in a loop)
  • What is the line continuation character, what does it do, and when is it used?
2.  What is System.Threading.Thread.Sleep?  How do you get it to work in your program?  How is it more useful than simply writing a big loop to pause in your program? (i.e. would your loop run the same speed on all machines?)
3. What causes an endless loop? What happens to your program if it gets into an endless loop? (NOTE: See question 1)

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.