home

=CS602 -- Computer Programming I= //__Goal__: Students will be able to use for loops effectively.// //__Goal__: Students will understand how to construct programs that solve specific problems.// Finish back work. __Paper and Pencil__: **Factorial Do Now** __Program__: **Factorial****.frm** (Directions in binder.) Continue working through the binder. Save and upload to Gaggle digital locker. Reflect on what you learned today. Fill out your progress log and self-evaluation. Upload programs to your Gaggle digital locker.
 * Friday May 25, 2012**
 * Delete from the desktop. **
 * Empty the recycle bin. **

//__Goal__: Students will be able to use for loops effectively.// //__Goal__: Students will understand how to construct programs that solve specific problems.// Finish back work. __Read__: **Counting Notes** __Program__**: CountSquares.frm** __Program__: **Prime****.frm** (Directions in binder.) __Paper and Pencil__: **Prime Number Questions** Continue working through the binder. Save and upload to Gaggle digital locker. Reflect on what you learned today. Fill out your progress log and self-evaluation. Upload programs to your Gaggle digital locker.
 * Thursday May 24, 2012**
 * Delete from the desktop. **
 * Empty the recycle bin. **

//__Goal__: Students will be able to use for loops effectively.// //__Goal__: Students will understand how to construct programs that solve specific problems.// Finish back work. __Program__: **RandomList****.frm** (Directions in binder. If you don't find them in the back look in the front of your binder.) __Paper and Pencil__: **RandomList Questions** Continue working through the binder. Save and upload to Gaggle digital locker. Reflect on what you learned today. Fill out your progress log and self-evaluation. Upload programs to your Gaggle digital locker.
 * Monday May 21, 2012**
 * Delete from the desktop. **
 * Empty the recycle bin. **

//__Goal__: Students will be able to use for loops effectively.// //__Goal__: Students will understand how to construct programs that solve specific problems.// __Read__: **Notes on Accumulating a Sum** __Program__: **Accumulate****.frm** (Directions in binder. If you don't find them in the back look in the front of your binder.) Continue working through the binder. Save and upload to Gaggle digital locker. Reflect on what you learned today. Fill out your progress log and self-evaluation. Upload programs to your Gaggle digital locker.
 * Friday May 18, 2012**
 * Delete from the desktop. **
 * Empty the recycle bin. **

//__Goal__: Students will be able to use for loops effectively.// //__Goal__: Students will understand how to construct programs that solve specific problems.// Finish back work. __Program__: **DisplayFor****.frm** (Directions in binder. If you don't find them in the back look in the front of your binder.) Continue working through the binder. Save and upload to Gaggle digital locker. Reflect on what you learned today. Fill out your progress log and self-evaluation. Upload programs to your Gaggle digital locker.
 * Thursday May 17, 2012**
 * Delete from the desktop. **
 * Empty the recycle bin. **

//__Goal__: Students will be able format output effectively.// //__Goal__: Students will understand how to construct programs that solve specific problems.// Finish back work. __Program__: **FormatMenu****.frm** (Directions in binder. If you don't find them in the back look in the front of your binder.) __Paper and Pencil__: **Format Questions** Continue working through the binder. Save and upload to Gaggle digital locker. Reflect on what you learned today. Fill out your progress log and self-evaluation. Upload programs to your Gaggle digital locker.
 * Tuesday & Wednesday May 15 & 16, 2012**
 * Delete from the desktop. **
 * Empty the recycle bin. **

//__Goal__: Students will be able to use a menu control array.// //__Goal__: Students will understand how to use the select case switching structure instead of ElseIf.//
 * Monday May 14, 2012**

__Paper and Pencil__: Get into Visual Basic and look at the menus and submenu categories. 1. Are all submenu items able to be used at any time? Yes or No 2. What do submenu items look like when they are not enabled? 3. Look at the View menu. What is to the left of some choices? 4. Under View click on Toolbar. Click on toolbar again. Explain what happens. __Program__: **License.frm** Do not type the ... Use the --> button to make the submenu items. __Paper and Pencil__: 1. Explain what you think a menu control array is**.** 2. What programming structure can be used to do **something different** for each submenu item in the menu control array? (See pages 3 and 4 of the directions for **License.frm**.) a) Select Case b) For Next loop c) MsgBox d) If Then Else 3. What programming structure that is new to us can be used to do the **same thing** with each menu control array item? (See the bottom of page 4 of the directions for **License.frm**.) a) Select Case b) For Next loop c) MsgBox d) If Then Else

Save and upload to Gaggle digital locker. Reflect on what you learned today. Fill out your progress log and self-evaluation. Upload programs to your Gaggle digital locker.
 * Delete from the desktop. **
 * Empty the recycle bin. **

//__Goal__: Students will be able to use string functions effectively.// //__Goal__: Students will understand how to construct programs that solve specific problems.// //__Goal__: Students will be able to write programs that use string variables, string literals, and string functions effectively.// Finish back work. __Finish:__ **Register.frm** and the questions. __Program__: **ModeTrans****.frm** (Directions in binder) Turn in paper and pencil assignments. __Program__: **Class****.frm** (Directions in binder. If you don't find them in the back look in the front of your binder.) __Program__: **ClassCase.frm** Save and upload to Gaggle digital locker. Reflect on what you learned today. Fill out your progress log and self-evaluation. Upload programs to your Gaggle digital locker.
 * Monday - Friday April 30 - May 11, 2012**
 * Delete from the desktop. **
 * Empty the recycle bin. **

//__Goal__: Students will be able to use string functions effectively.// //__Goal__: Students will understand how to construct programs that solve specific problems.// //__Goal__: Students will be able to write programs that use string variables, string literals, and string functions effectively.// Save your programs to the desktop so Miss Hangen can check them. Turn in paper and pencil assignments. __Paper and Pencil__: **1.** Which of these is not a synonym of concatenate? A. connect B. attach C. join D. make several into one E. eliminate
 * Thursday & Friday April 26 & 27, 2012**

**2**. What is the concatenation operator?

A. Removes leading or trailing spaces. B. Puts tinsel on the tree. C. Adds color to the textbox. D. Abbreviates words.
 * 3.** What does the Trim function do?

A. lblMessage = "Congratulations, " & Username & ", you have successfully registered at JPM.org." B. lblMessage = "Congratulations, Username, you have successfully registered at JPM.org." C. lblMessage = Congratulations, & " Username " &, you have successfully registered at JPM.org. D. lblMessage = Congratulations, Username, you have successfully registered at JPM.org.
 * 4.** Which of these will output strings literals with the value of a string variable in between them?

__Finish:__ **Register.frm** and the questions. __Program__: **ModeTrans****.frm** (Directions in binder) Save and upload to Gaggle digital locker. Reflect on what you learned today. Fill out your progress log and self-evaluation. Upload programs to your Gaggle digital locker.
 * <span style="color: #ff0000; font-family: 'Comic Sans MS',cursive;">Delete from the desktop. **
 * <span style="color: #ff0000; font-family: 'Comic Sans MS',cursive;">Empty the recycle bin. **

//__Goal__: Students will be able to use string functions effectively.// //__Goal__: Students will understand how to construct programs that solve specific problems.// //__Goal__: Students will be able to write programs that use string variables, string literals, and string functions effectively.// Get into your Gaggle digital locker. Save you program to the desktop to prepare for working on it. Follow directions on packets at each seat and directions in the back of your binder. __Scratch Program__: **Register.sb** __Read:__ **Notes on the StrComp Function** __Paper and Pencil__: **StrComp Function Questions** __Paper and Pencil__: **Questions Prior to Register** __VB Program__: **Register.frm** __Paper and Pencil__: **Questions After Register** Save and upload to Gaggle digital locker. Reflect on what you learned today. Fill out your progress log and self-evaluation. Upload programs to your Gaggle digital locker.
 * Wednesday April 25, 2012**
 * <span style="color: #ff0000; font-family: 'Comic Sans MS',cursive;">Delete from the desktop. **
 * <span style="color: #ff0000; font-family: 'Comic Sans MS',cursive;">Empty the recycle bin. **

//__Goal__: Students will be able to use string functions effectively.// //__Goal__: Students will understand how to construct programs that solve specific problems.// //__Goal__: Students will be able to write programs that use string variables, string literals, and string functions effectively.// Get into your Gaggle digital locker. Save you program to the desktop to prepare for working on it. Follow directions on packets at each seat and directions in the back of your binder. __Scratch Program__: **Egg3.sb** __Scratch Program__: **Register.sb** __Read:__ **Notes on the StrComp Function** __Paper and Pencil__: **StrComp Function Questions** __Paper and Pencil__: **Questions Prior to Register** __VB Program__: **Register.frm** __Paper and Pencil__: **Questions After Register** Save and upload to Gaggle digital locker. Reflect on what you learned today. Fill out your progress log and self-evaluation. Upload programs to your Gaggle digital locker.
 * Tuesday - Monday April 10-23, 2012**
 * <span style="color: #ff0000; font-family: 'Comic Sans MS',cursive;">Delete from the desktop. **
 * <span style="color: #ff0000; font-family: 'Comic Sans MS',cursive;">Empty the recycle bin. **

//__Goal__: Use parameters and for next loops effectively.// //__Goal__: Students will understand how to construct programs that solve specific problems.// http://scratch.mit.edu/projects/Klovira/109633/Klovira/109633
 * Monday - Thursday April 2-5, 2012**

__Scratch Program__: **Egg3.sb**

Save and upload to Gaggle digital locker. Reflect on what you learned today. Fill out your progress log and self-evaluation. Upload programs to your Gaggle digital locker.
 * <span style="color: #ff0000; font-family: 'Comic Sans MS',cursive;">Delete from the desktop. **
 * <span style="color: #ff0000; font-family: 'Comic Sans MS',cursive;">Empty the recycle bin. **


 * Friday March 30, 2012**

//__Goal__: Students will understand how to construct programs that solve specific problems.// //__Goal__: Students will be able to use strings and string functions effectively in programs.// media type="custom" key="13633690"

__Program__: **Case.frm** Finish back assignments if necessary; otherwise, move on through the binder. Upload **Case.frm** to your Gaggle digital locker. Reflect on what you learned today. Fill out your progress log and self-evaluation. Upload programs to your Gaggle digital locker.
 * <span style="color: #ff0000; font-family: 'Comic Sans MS',cursive;">Delete from the desktop. **
 * <span style="color: #ff0000; font-family: 'Comic Sans MS',cursive;">Empty the recycle bin. **

//__Goal__: Students will understand how to construct programs that solve specific problems.// //__Goal__: Students will be able to use strings and string functions effectively in programs.// Turn in your **Student Observers Activity** packet from the computer fair. Try out Scratch projects from the computer fair. The programs can be found at **My Computer** - **Thawspace (M)** - **Wednesday March 28**. and **Thursday March 29** Continue through binder. __Paper and Pencil__ : Fill in your Progress Log and self-evaluate (in folder)
 * Thursday March 29, 2012**

//__Goal__: Students will understand how to construct programs that solve specific problems.// Pick up **Student Observers Activity** packet at the entrance to the library. Check out all the exhibits at the computer fair. Pay special attention to the **Animation** and **Programming** categories. __Paper and Pencil__: **Student Observers Activity** __Turn in:__ **Student Observers Activity** to Miss Hangen
 * Wednesday March 28, 2012**


 * Monday & Tuesday March 26 & 27, 2012**

//__Goal__: Students will understand how to construct programs that solve specific problems.// //__Goal__: Students will be able to use strings and string functions effectively in programs.// __Finish__: **StringLength.frm** __Program__: **StringComp.frm** (Directions in binder.) __Paper and Pencil__: **String Comparison Part 1 Questions** (in binder) ** These questions must be done prior to revising to StringComp2; otherwise the answers will not be correct. ** __Program__: **StringComp2.frm** (additions to StringComp.frm) __Paper and Pencil__: **String Comparison Part 2 Questions** Upload **StringComp2.frm** to your Gaggle digital locker. <span style="color: #ff0000; font-family: 'Comic Sans MS',cursive;">**Delete from the desktop.** <span style="color: #ff0000; font-family: 'Comic Sans MS',cursive;">**Empty the recycle bin.** Turn in **String Comparison Part 1 Questions** Turn in **String Comparison Part 2 Questions** Reflect on what you learned today. Fill out your progress log and self-evaluation.

//__Goal__: Students will understand how to construct programs that solve specific problems.// //__Goal__: Students will be able to use strings and string functions effectively in programs.// Save unchecked programs to the desktop. __Finish__: **StringExample.frm** __Read__: **More String Notes with String Functions and ASCII Codes** (In binder) __Paper and Pencil__: **Strings Questions with Word Bank** (In binder) __Program__: **StringLength.frm** (In binder) __Paper and Pencil__: Explain what you learned about strings from doing the program. Turn in paper. Reflect on what you learned today. Fill out your progress log and self-evaluation. Upload programs to your Gaggle digital locker.
 * Friday March 23, 2012**
 * <span style="color: #ff0000; font-family: 'Comic Sans MS',cursive;">Delete from the desktop. **
 * <span style="color: #ff0000; font-family: 'Comic Sans MS',cursive;">Empty the recycle bin. **

//__Goal__: Students will understand how to construct programs that solve specific problems.// //__Goal__: Students will be able to use strings and string functions effectively in programs.// __Read:__ **More String Notes with String Functions and ASCII Codes** in your notebook or here. [|StringNotesMore.doc] __Program__: **StringExample.frm** Directions in your binder. __Paper and Pencil__: Explain what you learned about strings from doing the program. Turn in paper. Reflect on what you learned today. Fill out your progress log and self-evaluation. Upload **StringExample.frm** to your Gaggle digital locker.
 * Thursday March 22, 2012**
 * <span style="color: #ff0000; font-family: 'Comic Sans MS',cursive;">Delete from the desktop. **
 * <span style="color: #ff0000; font-family: 'Comic Sans MS',cursive;">Empty the recycle bin. **

//__Goal__: Students will understand how to construct programs that solve specific problems.// //__Objective__: Students will be able to write programs that require nested switch structures.// //__Objective__: Students will be able to write programs that catch multiple types of bad data.// //__Activity__: Calculate remainders with the use of the modulus operator.// //__Activity__:// //Create menus for programs to make them more versatile and user-friendly.// Look at pages 1-3 of the directions for **Paint.frm** and page 1 of the directions for **Fence.frm** in your notebook.
 * Friday - Wednesday March 16 - 21, 2012**

__Paper and Pencil__**:**

The formula you used for calculating the surface area to be painted in Paint.frm was SurfaceArea = 2 * Width * Height + 2 * Length * Height + Length * Width. 1. What formula will you use to calculate the perimeter of the fence in Fence.frm?

In Paint.frm you had to buy entire cans of paint. 2. In Fence.frm, what must you buy in whole units?

In Paint.frm the contents of a can of paint would cover 400 sq ft. 3. In Fence.frm, how long is a section of fence?

In Paint.frm you multiplied the cost of a gallon can of paint by the number of cans needed to find the total cost of paint. 4. In Fence.frm, what will you multiply to find the total cost for all the sections of fencing needed?

5. **True or False:** You can use the comparable concepts from Paint.frm as a guide for doing Fence.frm as long as you make the appropriate adjustments.

__Program__: **Fence.frm** Save to the desktop. Directions in the notebook. No code provided. Read the directions carefully. This code will execute the exact code from the command button so you only have to debug that. Test thoroughly yourself. Have your partner test yours and you test your partners. Improve as necessary and test again. Have Miss Hangen check your program. Turn your Do Now. Upload to your Gaggle digital locker. Fill out your progress log and self-evaluation. Reflect on what you learned today.
 * ADD THE APPROPRIATE MENU TO THE PROGRAM.**
 * <span style="color: #ff0000; font-family: 'Comic Sans MS',cursive;">Delete from the desktop. **
 * <span style="color: #ff0000; font-family: 'Comic Sans MS',cursive;">Empty the recycle bin. **

//__Goal__: Students will understand how to construct programs that solve specific problems.// //__Objective__: Students will be able to write programs that require nested switch structures.// //__Objective__: Students will be able to write programs that catch multiple types of bad data.// //__Activity__: Calculate remainders with the use of the modulus operator.// //__Activity__:// //Create menus for programs to make them more versatile and user-friendly.// __Paper and Pencil__: Get in the menu editor for the ConvertSeconds.frm program or the FreeFall.frm program. 1. Explain what you think are some ways to edit an exiting menu.
 * Thursday March 15, 2012**

__Program__: **Paint.frm** [|PaintNoMenu.frm] Look over all 7 pages of directions in the notebook before starting to create the program. This code will execute the exact code from the command button so you only have to debug that. Test thoroughly yourself. Have your partner test yours and you test your partners. Improve as necessary and test again. Have Miss Hangen check your program. Upload to your Gaggle digital locker. Fill out your progress log and self-evaluation. Reflect on what you learned today.
 * ADD THE APPROPRIATE MENU TO THE PROGRAM.**

//__Goal__: Students will understand how to construct programs that solve specific problems.// //__Objective__: Students will be able to write programs that require nested switch structures.// //__Objective__: Students will be able to write programs that catch multiple types of bad data.// //__Activity__: Calculate remainders with the use of the modulus operator.// //__Activity__:// //Create menus for programs to make them more versatile and user-friendly.// __Paper and Pencil__: **1.** What is one reason for having a menu in a program?
 * Tuesday March 13, 2012**

**2.** What are the 8 menu items at the top of Visual Basic?

**3**. What are the menu items in Microsoft Word?

__Paper and Pencil:__ Finish **Convert Seconds Questions** __Program__: **FreefallMenu.frm** Directions are in you notebook. Use your most recent version of Freefall from your Gaggle digital locker. If you don't have one, make a new form. __VB Program__: **ConvertSeconds.frm** Add menu items with the code. __Paper and Pencil__**:** On the same paper as the Do Now While you are in **FreefallMenu.frm** or **ConvertSeconds.frm**, get into the menu editor.
 * 4**. Do you think you can make adjustments to the menu after you have created it?


 * 5**. By looking at it, what do you think you can do?

Upload to your Gaggle digital locker. Fill out your progress log and self-evaluation. Reflect on what you learned today.

//__Goal__: Students will understand how to construct programs that solve specific problems.// //__Objective__: Students will be able to write programs that require nested switch structures.// //__Objective__: Students will be able to write programs that catch multiple types of bad data.// //__Activity__: Calculate remainders with the use of the modulus operator.//
 * Monday March 12, 2012**

__**Program**__**:** **ConvertSeconds.frm** Include the comments when you type the code. Directions in notebook. Have your partner test yours and you test your partners. __Paper and Pencil__: **Convert Seconds Questions**

Have your notebook open to the code for the ConvertSeconds.frm program. Refer to this code and the comments about the code while answering the questions. Also have your ConvertSeconds.frm program ready to run to answer some of the questions. Do the assignment on paper first, and then transfer your answers to the computer. Try to get the best score you can the first time. To improve your score, look over the code in the notebook, correct your answer on paper and retake the quiz on the computer. Make sure you put your first name and last name in the name box of the quiz, so you get credit for it. media type="custom" key="13042744" Upload to your Gaggle digital locker. Fill out your progress log and self-evaluation. Reflect on what you learned today.

//__Goal__: Students will understand how to construct programs that solve specific problems.// //__Objective__: Students will be able to write programs that require nested switch structures.// //__Objective__: Students will be able to write programs that catch multiple types of bad data.// //__Activity__: Calculate remainders with the use of the modulus operator.//
 * Wednesday & Thursday March 7 & 8, 2012**

__Paper and Pencil__: 1. If a DVD says that a movie is 176 minutes long, how many hours and minutes is that?

Read these webpages to study up on long division and finding a remainder. @http://www.mathsisfun.com/long_division2.html @http://en.wikipedia.org/wiki/Long_division @http://www.homeschoolmath.net/teaching/md/remainder.php @http://demonstrations.wolfram.com/LongDivision/ Do the long division to find the quotient and remainder. ** NO DECIMALS ** 2. 271 / 60 3. 34 / 7 4. 17 / 12 5. 7895 / 5280 6. 88 / 3 7. 12345 / 52 8. Give some examples of when you think you might need to use the quotient and the remainder instead of a decimal number? __Read__: Let's talk about integer division in computer science. When you are using integers and would like integer results when dividing, there are some things you need to know. Division which results in a possible decimal answer uses the slash symbol as its operator. The slash symbol, /, is found on the same key as the ? on the keyboard. When you need to divide integers and get the quotient as just the integer part of the answer, you must use the back slash, \, which is found on the key above the Enter key. Since you might also need the remainder, you will need a second division using the modulus operator, which is the keyword Mod in Visual Basic. When you use Mod as the operator, the result is the integer remainder of the division problem.

35 / 4 has a quotient of 8.75 or 8 and 3/4 35 \ 4 has an integer quotient, which is 8 35 Mod 4 has an integer remainder which is 3
 * Math Example:**

Quotient = Dividend / Divisor //'decimal answer// IntegerQuotient = Dividend \ Divisor '//integer answer, if there would be a decimal it is chopped off, number is not rounded// Remainder = Dividend Mod Divisor //'result is the integer remainder that could be calculated through long division// __Scratch Program:__ **Mod.sb** Directions in your notebook.
 * Visual Basic Example:**

__VB Program__: **Remainder.frm** Create your own remainder calculator that looks nicer than the one linked below. The user will input the dividend and the divisor. Your program will display as output, the integer quotient and the remainder. Make up your own test data and verify that your program gives the same results as the quotient and remainder calculator at @http://www.analyzemath.com/Calculators_3/quotient_remainder.html Also test these: Dividend = 35, Divisor = 4 Dividend = 927, Divisor = 0 Dividend = 0, Divisor = 16 Dividend = 7, Divisor = 49 Dividend = 64, Divisor = 12

__Make It Better:__ After you know that your program does this much correctly, make it better by including the KeyPress procedure, checks for IsNumeric, and a check of bad numeric data.

__Scratch Program__: **Mod.sb** Upload to your Gaggle digital locker. Fill out your progress log and self-evaluation. Reflect on what you learned today.

//__Goal__: Students will understand how to construct programs that solve specific problems.// //__Objective__: Students will be able to write programs that require nested switch structures.// //__Objective__: Students will be able to write programs that catch multiple types of bad data.//
 * Monday & Tuesday March 5 & 6, 2012**

Find your previous version of **Chirps.frm** in your Gaggle digital locker. Save it to the desktop with the new name, **ChirpsBD.frm**. Open it and test it. If you cannot find it use this form. [|ChirpsBD.frm] __Program__: Add code to **ChirpsBD.frm** according to the directions in your notebook.

Have a partner check your program and you check a partners program. Improve as necessary. Upload **ChirpsBD.frm** to Gaggle digital locker. Fill out your progress log and self-evaluation. Reflect on what you learned today.

//__Goal__: Students will understand how to construct programs that solve specific problems.// //__Activity__: Debug programs with multiple programming structures.// //__Math Standard__: Calculate surface area of a sphere.// __Paper and Pencil__: **Surface Area of a Sphere Test Data** Keep this paper to do your ticket out the door. __Program__: **SphereError.frm** [|SphereError.Frm] This program has already been created but contains lots of errors that you must fix. See the notebook for directions Test your partners program. Have your partner test your program. Improve your program. __Paper and Pencil__: Put this on your Do Now paper. Upload the corrected program **SphereArea.frm** to your Gaggle locker. Fill out your progress log and self-evaluation.
 * Thursday & Friday March 1 & 2, 2012**
 * Describe the process or thinking you used to debug the program.**

//__Goal__: Students will understand how to construct programs that solve specific problems.// //__Activity__: Write programs that require nested switch structures.// //__Activity__: Write programs that catch multiple types of bad data.// //__Activity__: Write programs that meet all the requirements of the problem statement.// //__Math Standard__: Calculate the surface area of cones and adjust for special circumstances.// Turn in previous paper and pencil assignments. __Paper and Pencil__: **Surface Area of a Cone Do Now** (Use vti83.exe calculator in Thawspace) __Reading__: Read the 4 pages of directions for **ConeArea.frm**. __Paper and Pencil__: **Cone Area Do Now** Discuss as necessary or desired with a student near you. Highlighters available. __Program__**: ConeArea.frm** Directions are in your binder. //If time permits, make the program better by including option buttons to allow the user to choose whether the cone is open or has a circular surface. Adjust code accordingly.// __Paper and Pencil__: Self-evaluate using page 4 and test data from the directions. __Interact__: Have another student test your program with the rubric and test data. When you are sure it is wonderful, have Miss Hangen try to crash it......I mean grade it. __Paper and Pencil__: **Homework - Surface Area of a Cone** Also measure or estimate the dimensions of a cone that you come across and bring that to class so you can use your program to find its surface area. Upload to your Gaggle digital locker. Turn in your evaluation page and any finished paper and pencil assignments. Fill out your progress log and self-evaluation.
 * Monday - Wednesday February 27-29, 2012**

**Friday February 24, 2012**
//__Goal__: Students will be able to construct programs that solve specific problems.// //__Math Standard__: Use geometry formulas.// //__Activity__:// //Create your own test data and correct results.// //__Activity__: Write programs that catch multiple types of bad data.// Finish all paper and pencil assignments. Finish all back programs. __Scratch__: Make a Scratch program that demonstrates nested if else controls and/or bad data catching. Fill out your progress log and self-evaluation sheet. Upload your programs to your Gaggle digital locker.

**Wednesday & Thursday February 22 & 23, 2012**
//__Goal__: Students will be able to construct programs that solve specific problems.// //__Math Standard__: Use geometry formulas.// //__Activity__:// //Create your own test data and correct results.// //__Activity__: Write programs that catch multiple types of bad data.// __Paper and Pencil:__ 1. Why do you think it would be good to check IsNumeric and out of range data in separate structures? 2. This picture illustrates how the If Then Else End If sets go together. Notice that they are nested. Describe what you think nested means in this case. __Program__**: IceCreamVolume.frm** Directions are in your binder. Use this form. [|IceCreamVolume.Frm] Test bad and good data. See your binder pages and the table below. __Paper and Pencil__: **Surface Area of a Cone** __Paper and Pencil__: **Surface Area of a Cone** Use the self-evaluation rubric to check your program and have Miss Hangen check it. Turn in the form. Fill out your progress log and self-evaluation.
 * Cone Radius || Scoop Radius || Cone Height || Unit of Measure || Volume with units ||
 * 1 || 2 || 4 || inches || 37.68 cubic inches ||
 * 2.5 || 4.5 || 6.5 || cm || 424.03 cubic cm ||

**Tuesday February 21, 2012**
//__Goal__: Students will be able to understand how to construct programs that solve specific problems.// //__Math Standard__: Use geometry formulas.// //__Activity__: Create your own test data and correct results.// //__Activity__: Write a program that catches data that is not numeric.// __Paper and Pencil:__ 1. Why do you think we use the Val assignment statement **AFTER** the If IsNumeric line? 2. Which of these would be the best message for the action of the else when the condition IsNumeric(txtRadius) evaluates to false in the If Then structure? a) wrong! b) Use numbers. c) Not positive. d) Good data.

__Fix and Finish Program__**: CylinderArea.frm**

Does your program give these results? Why or why not? Fix, if not. Show Miss Hangen your program.


 * **Radius** || **Height** || **Volume** ||
 * ald;f || 5 || INVALID DATA -- Use numbers. ||
 * 5 || garbage || INVALID DATA -- Use numbers. ||
 * 1.5 || 6.1 || 71.592 square units ||
 * 3 || 4 || 131.88 square units ||

__Paper and Pencil__: **Volume of Cones and Spheres** __Finish__: **Volume of Cones and Spheres** __Reflection__: Why do you think it would be good to check IsNumeric and out of range data in separate structures? Fill out your progress log and self-evaluation sheet. Upload your programs to your Gaggle digital locker.

**Thursday & Friday February 16 & 17, 2012**
//Activity: Use geometry formulas.// //Activity: Create your own test data and correct results.// //Activity: Write a program that catches data that is not numeric.// __Paper and Pencil:__ Create Your Own Test Data for These Geometry Formulas: **Surface Area of a Right Circular Cylinder** __Program__**: CylinderArea.frm** **Directions:** Use the directions in your binder. Test with good data and bad data. You will be using **IsNumeric** to check for data that are not in the form of numbers. Use the PrismArea.frm directions as a guide. Does your program give these results? Why or why not? Fix, if not. Show Miss Hangen your program. Fill out your progress log and self-evaluation.
 * //__Goal__: Students will understand how to construct programs that solve specific problems.//**
 * **Radius** || **Height** || **Volume** ||
 * ald;f || 5 || INVALID DATA -- Use numbers. ||
 * 5 || garbage || INVALID DATA -- Use numbers. ||
 * 1.5 || 6.1 || 71.592 square units ||
 * 3 || 4 || 131.88 square units ||

//__Goal:__ Develop algorithmic thinking.// //__Goal__: Understand how to construct programs that solve specific problems.// //Objective: Use geometry formulas.// //Objective: Create your own test data and correct results.// //Objective: Write a program that catches data that is not numeric.// __Paper and Pencil:__ Create Your Own Test Data for These Geometry Formulas: **Surface Area** of a Right Rectangular **Prism** [|PrismAreaTestData.doc] __Program:__ **PrismArea.frm** (form provided) [|PrismArea.Frm] **Directions:** Download **PrismArea.frm**, save to your desktop, then open it. Use the directions in your notebook to complete the code and test the data. On your paper: 1. Tell whether your program and your paper and pencil answers match. 2. Explain why or why not, and fix the paper and the program accordingly. 3. What is different about the placement of the Val statements.
 * Wednesday February 15, 2011**

Fill out your progress log and self-evaluation.

Have me check your program and give you a teacher evaluation.

//__Goal__: Be able to write a program that catches data that is out of a logical numeric range.// //__Objective__: Calculate the volume of a right circular cylinder.// //__Objective__: Create test data for the cylinder volume program.// Which of these is the correct declaration for the constant pi? Write the correct one on your paper. Dim PI = 3.14 As Single Const PI As Single Const PI = 3.14 Declare PI As 3.14
 * Tuesday February 14, 2012**

Find the formula for the volume of a right circular cylinder either online on your GeoFormulas.doc. **Paper and Pencil:** Create Your Own Test Data for These Geometry Formulas: **Volume** of a Right Circular Cylinder __Program__**: CylinderVolume.frm** **Directions:** Use the directions in your notebook. Test with good data and bad data. Does your program give these results? Fill out your progress log and self-evaluation. Have me check your program and give you a teacher evaluation.
 * **Radius** || **Height** || **Volume** ||
 * 5 || 32 || 2512 cubic units ||
 * -10 || 5 || Invalid Data -- Use positives. ||
 * 60.5 || 0 || Invalid Data -- Use positives. ||
 * 7.7 || 1.1 || 204.79 cubic units ||
 * 3.5 || 13 || 500.045 cubic units ||

//__Goal__: Calculate the volume of prisms.// //__Goal__: Write programs with 2-way switch structures.// //__Goal__: Write programs that catch bad data.// //__Objective for Today:__ Create your own test data for the VolBox program.//
 * Monday February 13, 2012**



GeoFormulas.doc <span style="background-color: #ffffff; color: #000000; font-family: Arial,Helvetica,sans-serif;">Download the Geometry Formula file, save it to your desktop, and open it. Drag the names of the geometric figures next to the correct figure on the Geometry Formula Sheet. Save it to your desktop and upload it to your Gaggle digital locker. Print it. <span style="background-color: #ffffff; color: #000000; font-family: Arial,Helvetica,sans-serif;"> __Paper and Pencil:__ Create Your Own Test Data for These Geometry Formulas: Volume of a Right Rectangular Prism __VB Program__**: VolBox** (form provided) <span style="color: #800000; font-family: 'Comic Sans MS',cursive;"> [|VolBox.Frm] **Directions:** Download VolBox.frm, save to your desktop, and open it. Use the directions in your notebook to complete the code and test the data.

__Self-Evaluate your program__. On your paper, tell whether your program and your paper and pencil answers match. Explain why or why not, and fix the paper and the program accordingly. Fill out your progress log and self-evaluation.

//__Goal__ : Develop algorithmic thinking.// //__Goal__: Catch bad data.// //__Goal__: Write and debug programs using 2-way switch structures effectively.// Look at the TriangleByAngles.sb Scratch program. __VB Filename__: **TriangleByAngles.frm** (directions in binder) __Scratch Filename__: **TriangleByAngles.sb** Turn in papers and have programs checked. Fill out your **progress log** and **self-evaluation** in your binder. (Get a new sheet when yours is full.)
 * Tuesday & Thursday February 7 - 9, 2012**

//__Goal__ : Develop algorithmic thinking.// //__Goal__: Catch bad data.// //__Goal__: Write and debug programs using 2-way switch structures effectively.// Put the puzzle together. @http://www.brl.ntt.co.jp/people/hara/fly.swf Go over Friday Do Now and homework. __VB Filename__: **TriangleByAngles.frm.** __Scratch Filename__: **TriangleByAngles.sb** Turn in papers and have programs checked. Fill out your **progress log** and **self-evaluation** in your binder. (Get a new sheet when yours is full.)
 * Monday February 6, 2012**

//__Goal__ : Develop algorithmic thinking.// //__Goal__: Catch bad data.// //__Goal__: Write and debug programs using 2-way switch structures effectively.// __Paper and Pencil__: 1. What is an acute angle? 2. What is a right angle? 3. What is an obtuse angle? 4. How many acute angles can be in a triangle? 5. How many right angles can be in a triangle? 6. How many obtuse angles can be in a triangle? 7. If you have the angle measures for 3 angles, how do you know if they can be the angles of 1 triangle? 8. You can have negative angle measures indicating direction of rotation, but can you have negative angle measures in a triangle? 9. What range of numbers would you use for acceptable data for an angle of a triangle? 10. What kinds of data would be inappropriate for angle measures for angles in a triangle? Test a finished VB program called **TriangleByAngles.frm.** Create a Scratch program, **TriangleByAngles.sb** to determine whether angle data given can form a triangle, and determine whether it is acute, right, or obtuse. __Paper and Pencil__: **Or/And before TriangleByAngles** Turn in papers and have programs checked. Fill out your **progress log** and **self-evaluation** in your binder. (Get a new sheet when yours is full.)
 * Friday February 3, 2012**

//__Goal__ : Develop algorithmic thinking.// //__Goal__: Trace the execution of program code with multiple sets of data.// Determine which programs have not been checked. Finish back work. Have Miss Hangen check your programs. Make corrections to your paper and pencil assignments. __Scratch Filename__: **TriangleBySides.sb** If you are finished with everything, make a Scratch program to determine whether the lengths given by the user form a scalene, isosceles, or equilateral triangle, or not a triangle at all. __Paper and Pencil__: On the back of the trace sheets, describe 2 purposes for tracing code. Turn in papers. Fill out your **progress log** and **self-evaluation** in your binder. (Get a new sheet when yours is full.)
 * Thursday February 2, 2012**

//__Goal__ : Develop algorithmic thinking.// //__Goal__: Trace the execution of program code with multiple sets of data.// Open your binder to the code for **cmdType** of **TriangleBySides.frm** Follow the example with Miss Hangen __Paper and Pencil__: **Trace Code for cmdType of TriangleBySides.frm** for the given data on the handouts. After you do one trace on your own, compare with a neighbor and have Miss Hangen check it to make sure you have the right idea before you do the rest of them. __Paper and Pencil__: On the back of the trace sheets, describe 2 purposes for tracing code. Turn in papers. Fill out your **progress log** and **self-evaluation** in your binder. (Get a new sheet when yours is full.)
 * Wednesday February 1, 2012**

//__Goal__ : Develop algorithmic thinking.// //__Goal__ : Use switch structures effectively.// //__Objective for Today__: Evaluate compound conditions that contain and and or.// __Paper and Pencil__: **And before Triangle by Sides** __Read__: **Compound Conditions in If Then Else Structures** __Paper and Pencil__: **Compound Condition Questions** Finish back programs. Turn in papers. Make sure you have turned in everything and had me check everything. Fill out your **progress log** and **self-evaluation** in your binder. (Get a new sheet when yours is full.)
 * Tuesday January 31, 2012**

//__Goal__ : Develop algorithmic thinking.// //__Goal__ : Use switch structures effectively.// //__Objective for Today__: Use nested If Then Else structures and ElseIf.//
 * Monday January 30, 2012**

__Finish:__ Back programs.

__Paper and Pencil__: **Ch. 4 Questions** Make sure you have turned in everything and had me check everything. Fill out your **progress log** and **self-evaluation** in your binder. (Get a new sheet when yours is full.)

//__Goal__ : Develop algorithmic thinking.// //__Goal__ : Use switch structures effectively.// //__Objective for Today__: Use nested If Then Else structures and ElseIf.//
 * Thursday January 26, 2012**

__Paper and Pencil:__ **Comment.frm (Vote)** You may test the code in this form file, but be sure to write it on the paper and turn it in. [|Comment.frm]

__VB Filename__: **MovieTheater.frm** Notice for full credit, **make it better** according the statement at the bottom of page 2 of the directions. Make sure you have turned in everything and had me check everything. Fill out your **progress log** and **self-evaluation** in your binder. (Get a new sheet when yours is full.)

//__Goal__ : Develop algorithmic thinking.// //__Goal__ : Use switch structures effectively.// //__Goal__ :// //Use compound conditions to code for data constraints.// //__Objective__: Use nested If Then Else structures and ElseIf.//
 * Wednesday January 25, 2012**

__Paper and Pencil:__ **IsNumeric and MsgBox Do Now** Rewrite code to check if the data entered in the textbox is a number. Give a corrective error message if it is not. __Filename__: **FuelEconomy.frm** Notice for full credit, **make it better** according the statement at the bottom of page 3 of the directions. Make sure you have turned in everything and had me check everything. Fill out your **progress log** and **self-evaluation** in your binder. (Get a new sheet when yours is full.)

//__Goal__ : Develop algorithmic thinking.// //__Goal__ : Use switch structures effectively.// //__Goal__ :// //Use compound conditions to code for data constraints.//
 * Tuesday January 24, 2012**

Check your progress log to start where you left off. Get into your Gaggle digital locker. Finish __VB Program__: **TriangleBySides.frm** This is the first of two parts.(You must read the comments.) If you haven't already, now is the time to turn in: __VB Program:__ Using the same file from yesterday, add more to the **TriangleBySides.frm** program by following the directions called Additions to TriangleBySides. (in your binder) __Paper and Pencil__: **Questions on Additions to TriangleBySides.frm** Fill out your **progress log** and **self-evaluation** in your binder. (Get a new sheet when yours is full.) Upload to your gaggle digital locker. Turn in:
 * **If Then Activities with Examples**
 * **If Then and String Notes Questions**
 * **TriangleBySides.frm Questions**
 * **If Then Activities with Examples**
 * **If Then and String Notes Questions**
 * **TriangleBySides.frm Questions**
 * **Questions on Additions to TriangleBySides.frm**

//__Goal__ : Develop algorithmic thinking.// //__Goal__ : Use switch structures effectively.// //__Goal__ : Use strings effectively.// //__Goal__ :// //Use compound conditions to code for data constraints.//
 * Monday January 23, 2012**

Check your progress log to start where you left off. Get into your Gaggle digital locker. Finish __VB Program__: **TriangleBySides.frm** This is the first of two parts.(You must read the comments.) __Paper and Pencil__: **TriangleBySides.frm Questions** Fill out your **progress log** and **self-evaluation** in your binder. (Get a new sheet when yours is full.) Upload to your gaggle digital locker. Turn in:
 * **If Then Activities with Examples**
 * **If Then and String Notes Questions**
 * **TriangleBySides.frm Questions**

//__Goal__ : Develop algorithmic thinking.// //__Goal__ : Use switch structures effectively.// //__Goal__ : Use strings effectively.// //__Goal__ :// //Use compound conditions to code for data constraints.//
 * Friday January 20, 2012**

__Paper and Pencil__ : **If Then Activities with Examples** __Read__ : **If Then Notes** (located before Slope.frm in your binder) __Read__ : **String Notes** __Paper and Pencil__ : **If Then and String Notes Questions** __VB Program__ : **TriangleBySides.frm** This is the first of two parts.(You must type the comments.)

Fill out your **progress log** and **self-evaluation** in your binder. (Get a new sheet when yours is full.) Upload to your gaggle digital locker. Turn in:
 * **If Then Activities with Examples**
 * **If Then and String Notes Questions**