QT2

**CS602 Computer Programming I (VB) Periods 2 & 5 QT2**
//Objective: Use nested If Then Else structures and ElseIf.//
 * Friday January 28, 2011**

Check your grade sheet for missing programs. Save those programs to your desktop and have me check them. Check your grade sheet for missing paper and pencil assignments and turn those in. Continue through binder. __Filename__: **TriangleBySides.frm** Do the Additions to TriangleBySides in the same file. __Paper and Pencil__: **Questions on Additions to TriangleBySides.frm** __Filename__: **FuelEconomy.frm** __Filename__: **MovieTheater.frm** __Paper and Pencil__: **Chapter 4 Questions**

Make sure you have turned in everything and had me check everything.

//Objective: Assessment// __Paper and Pencil__: **Mid Term Exam** 60 Multiple Choice Questions Write your answers on a separate sheet of paper. You may use any pages in the notebook, the Visual Basic program, your programs in Gaggle, this wiki, and the TI83 calculator to try things and look up concepts. __When Done__: Continue through binder.
 * Tuesday January 25, 2011**

//Objective: Assessment// Continue through binder. __Filename__: **TriangleBySides.frm** Do the Additions to TriangleBySides in the same file. __Paper and Pencil__: **Questions on Additions to TriangleBySides.frm** __Filename__: **FuelEconomy.frm** __Filename__: **MovieTheater.frm** __Paper and Pencil__: **Chapter 4 Questions**
 * Wednesday - Friday, January 19-21, 2011**

//Objective: Use compound conditions to code for data constraints.//
 * Friday January 14, 2011**

__Read__: **If Then Notes** __Read__: **String Notes** __Paper and Pencil__: **If Then and String Notes Questions** __VB Program__: **TriangleBySides.frm** This is the first of two parts. __Paper and Pencil__: **TriangleBySides Questions**

Upload to your gaggle digital locker. Turn in stapled packets.

//Objective: Use appropriate structures for coding option buttons.// //Objective: Use the visible property in code.// Save these to your desktop. [|AFC.bmp] Watch another presentation. __VB Filename__: **NFL.frm** Directions in your binder.
 * Thursday January 13, 2011**

__Paper and Pencil__: Do the self-evaluation on page 4 of your directions. Have Miss Hangen check your program. Upload **NFL.frm** and **NFL.frx** to your gaggle digital locker.

//Objective: Create a program and presentation.//
 * Thursday - Monday January 6 - 10, 2011**

View and discuss presentations.

//Objective: Create a program and presentation.// Discuss what we mean by screen shot and how to get one with another student. What are some ways to get a picture of the scripts in Scratch? Watch Miss Hangen's demonstration. Make a **PowerPoint** presentation about your best program or one that would be OK for lots of other students to look at or try. The program may be either VB or Scratch.
 * Monday - Wednesday January 3 - 5, 2011**
 * Identify yourself as the creator
 * Introduce the program by giving directions on how to operate it.
 * Give an outline of the process you went through to create it.
 * Show pictures of each script with its sprite and a comment about what it does.
 * Include credits for anything you used from another source, such as imported pictures.
 * Use an appropriate name for the file.

__Paper and Pencil__: 1. What is the filename of your program? 2. What is the filename of your powerpoint? Upload to your gaggle digital locker.

//Objective: Create a program and presentation.//
 * Wednesday & Thursday, December 22 & 23, 2010**

Finish programs. Make a Christmas card or greeting card in Microsoft Publisher. Make sure you pick the quarter fold option.

Include a detailed description in the "**about this project**" section and in the "**project notes**".
 * Create a winter or holiday "story", "game", or interactive "greeting card" in Scratch.**

Make a **PowerPoint** presentation about your best program or one that would be OK for lots of other students to look at or try. The program may be either VB or Scratch.
 * Identify yourself as the creator
 * Introduce the program by giving directions on how to operate it.
 * Give an outline of the process you went through to create it.
 * Show pictures of each script with its sprite and a comment about what it does.
 * Include credits for anything you used from another source, such as imported pictures.
 * Use an appropriate name for the file.

__Paper and Pencil__: 1. What is the filename of your program? 2. What is the filename of your powerpoint? Upload to your gaggle digital locker.

//Objective: Use the visible property.// //Objective: Use ElseIf to decide among 3 choices of action.//
 * Tuesday December 21, 2010**

Follow along with explanation of changing object properties with code. __Program__: **Visible.frm** Directions in binder. Remember, you may make the program better.

__Program__: **Couch.frm** Directions in binder. Remember, you may make the program better. Make sure to use the self-evaluation check list, before having the program graded.

If time remains continue working on: Include a detailed description in the "**about this project**" section and in the "**project notes**".
 * Create a winter or holiday "story", "game", or interactive "greeting card" in Scratch.**

Upload to your gaggle digital locker.

//Objective: Use the If Then structure in a program.//
 * Monday December 20, 2010**

//Paper and Pencil//: Look over grade sheet. Complete missing programs. Include a detailed description in the "**about this project**" section and in the "**project notes**".
 * If Then Activities with Examples** Page 1
 * Create a winter or holiday "story", "game", or interactive "greeting card" in Scratch.**

Upload to your gaggle digital locker.

//Objective: Apply what you have learned to create a seasonally appropriate project.// Finish programs. Have programs checked. Embellish an existing program in VB or Scratch. Include a detailed description in the "**about this project**" section and in the "**project notes**".
 * Wednesday - Friday December 15-17, 2010**
 * Create a winter or holiday "story", "game", or interactive "greeting card" in Scratch.**

//Objective: Use an If Then structure to make a program more user-friendly.// //Objective: Determine if data is numeric.//
 * Tuesday December 14, 2010**

Save your **Chirps.frm** program to your desktop. Save your **Freefall.frm** program to your desktop. Add code that will make the cursor move to the first command button when the user pressing enter in the textbox.

Private Sub txtChirps_KeyPress(KeyAscii As Integer) End Sub
 * If KeyAscii = 13 Then**
 * cmdCalculate.SetFocus**
 * End If**

__Program__: **Chirps.frm** Revise to check that the incoming data is numeric. Give a message if it is not. __Program__: **Freefall.frm** Revise to include a message when the data is not numeric.

Have Miss Hangen check you programs. Upload to your gaggle digital locker.

//Objective: Use an If Then structure to make a program more user-friendly.// //Objective: Determine if data is numeric.//
 * Monday December 13, 2010**

Open you MyOwn.frm program so the class can look at it.

__Program__: IsNumeric.frm __Program__: Freefall.frm Make more revisions.

Upload to your gaggle digital locker.

//Objective: Read about news in computing.// //Objective: Use an If Then structure to make a program more user-friendly.// //Objective: Create a short program of you own that uses an If Then Else structure to make a selection between 2 courses of action.// //Objective: Do a random act of kindness.// __Paper and Pencil__: 1. On the lined paper write the 2 computer definitions given for hacker at http://dictionary.com.
 * Friday December 10, 2010**

Random //Hacks// of Kindness is a play on words taken from the concept of //Random Acts of Kindness// which may have come about to bring happy moments to those in a world where there are often //random acts of violence//.

__Read__: Read the packet titled, **Random Hacks of Kindness** __Paper and Pencil__: 2. On the lined paper, write a summary of what you read in sentences. 3. Also write what you might put in a blog entry sharing your thoughts about the event. @http://www.randomactsofkindness.org/

Finish back assignments!! __Program__: **MyOwn.frm** You must use something other than temperature in the condition. Directions in your notebook

__Paper and Pencil__: 4. On the line paper, write about the mental process you used to come up with your own program for **MyOwn.frm**. 5. What will you do as a random act of kindess (or a random hack of kindness) over the next few days?

Turn in your lined paper with your name on it. Turn in the stapled packet titled. **Random Hacks of Kindness** so it can be used for other classes.

//Objective: Use an If Then structure to make a program more user-friendly.// //Objective: Use an If Then Else structure to make a selection between 2 courses of action.//
 * Wednesday & Thursday December 8 & 9, 2010**

Discuss ASCII codes and KeyPress procedure

__Program:__**Weather.frm** Directions in your notebook __Program:__**MyOwn.frm** You must use something other than temperature in the condition. Directions in your notebook

//Objective: Use an If Then structure to make a program more user-friendly.// //Objective: Use an If Then Else structure to make a selection between 2 courses of action.//
 * Tuesday December 7, 2010**

**__ Do Now: __** 1. What is an **If Then Else** structure and how does it work? 2. Do you think it is possible to have an If Then without an Else? 3. If so, how do you think it would work?
 * __On Paper:__ You may look at your If Then Notes paper in your binder.**

__**Assignment:**__ Research ASCII codes. __**On the Same Paper:**__ 4. Explain what ASCII codes are. 5. Write the Dec ASCII code for the Enter key (carriage return). @http://webopedia.com/TERM/A/ASCII.html @http://www.asciitable.com/

__Program:__**FreeFall.frm** with KeyPress Procedure Go to your Gaggle digital locker and **save** your existing **FreeFall.frm** program to the **desktop**. If you don't have it, do a new one by using the earlier directions in your notebook. Follow the directions in your notebook to add the KeyPress procedure to the program.

**__Ticket out the Door:__** __**On the Same Paper:**__ 6. Explain what change you made to the Freefall.frm program and how it makes the program more user-friendly. 7. Explain what happens when the user presses the Enter key. 8. Since you used an **If Then** without an else, use one word or a phrase to tell what happens with the KeyPress procedure when the user does**n't** press the Enter key.