Computers and the Humanities 220

Linguistic Computer Programming 1

Lesson 1
Lesson 1 Questions/Exercises (Introduction, Chapters 1-3)
Download the example programs from the book.

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:
  • Windows Form
  • Program Statement
  • Keyword
  • Variable
  • Control
  • Object
  • Class
  • Namespace
  • Property
  • Event Procedure
  • Method
2. Explain how to use the following elements of Visual Studio:
  • "Designer" or "Form Designer"
  • "Toolbox"
  • "Properties Window"
  • "Solution Explorer"
  • Project Properties Window
  • Tool Windows (Also, how explain how to show/hide/move tool windows)
3. How do you start your program?
4. How do you get help?
5. What is a "file extension" (also called a "filename extension")?
6. How do files with the following extensions work together in your program?
  • .vbproj
  • .sln

7. Be able to define / explain the following:

  • Program Code
  • Subroutine (event procedure)
  • Executable
  • Algorithm
  • Code Window
  • .sln
  • .vbproj
  • How are an executable and a Visual Basic project or solution different?
8. Modify the 'Lucky Seven' program in the following ways (do at least the first two):
  • make it so that the number '8' is lucky instead of '7'
  • modify the code so that the numbers go between 0 and 11 instead of 0 and 9
  • optional: modify the program so that it displays how many times you were lucky out of how many times you spin
  • optional: modify the program so that the numbers go between 1 and 12 instead of 0 and 11
  • optional: modify the program so that you need three of the number '8' instead of one to be lucky
9. Be able to answer the following:
  • How are combo boxes and list boxes used differently?
  • What are the differences between radio buttons and check boxes?
  • How do you add an item to your list box?
  • How and Why would you use other .Net Framework and/or ActiveX controls in your project in addition to the tools placed in your toolbox by default?
  • Describe what the following controls are used for: TextBox, Button, Label, LinkLabel, DateTimePicker, PictureBox
10. Modify the Online Shopper Program ["Input Controls"] in chapter 3 in the following ways:
  • by adding a new set of option buttons that let you choose "Ship to billing address" or "Hold for pickup"
  • by adding a Windows Media Player (unless somebody already added it on your machine, it's not in the Toolbox -- it's an optional COM component)

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.