Sept-Dec

=CS602 -- Computer Programming I=

Wednesday December 21, 2011
//__Goal__: Develop algorithmic thinking.// //__Goal__: Use 2-way switch structures effectively.// //__Goal__: Use random numbers effectively.// 7. Write an assignment statementin VB for a random number from 11 to 20? 8. Write an assignment statementin VB for a random number from x to y?
 * Dim Number As Integer ** is the declaration.

__New VB Program:__ **FlipCoin.frm** __New Scratch Program__: **FlipCoin.sb**  Upload programs to your Gaggle digital locker. Fill in your Progress Log and self-evaluate (in binder).....

Tuesday December 20, 2011
//__Goal__: Develop algorithmic thinking.// //__Goal__: Use 2-way switch structures effectively.// //__Goal__: Use random numbers effectively.// //__Objective for Today__:// //Write programs that use the random number generator effectively.// The assignment statement in VB for getting a random number from 0 to 44 is __Paper and Pencil:__ Work with a partner if desired. 1. How many integers are there from 0 to 10 including 0 and 10? 2. How many integers are there from 0 to 1? 3. How many integers are there from 0 to 2? 4. Write an assignment statement in VB for a random number from 0 to 10? 5. Write an assignment statementin VB for a random number from 0 to n? 6. Write an assignment statementin VB for a random number from 10 to 20? 7. Write an assignment statementin VB for a random number from 11 to 20? 8. Write an assignment statementin VB for a random number from x to y?
 * Dim Number As Integer ** is the declaration.
 * Number = 44 * Rnd **

__Finish__ __Program:__ **MyRandom.frm** //If there is still time left in the period, embellish the program by including something like, Trim, If Then, If Then Else, or having the user pick the first number in the range also.// Do a self-evaluation with the quality check off sheet. Have Miss Hangen check it. __New VB Program:__ **FlipCoin.frm** __New Scratch Program__: **FlipCoin.sb**  Upload programs to your Gaggle digital locker. Fill in your Progress Log and self-evaluate (in binder).....

Friday & Monday December 16 & 19, 2011
//__Goal__: Develop algorithmic thinking.// //__Goal__: Use 2-way switch structures effectively.// //__Goal__: Use random numbers effectively.// //__Objective for Today__:// //Write programs that use the random number generator effectively.//



Get into your Gaggle digital locker and save your RandomNumber.frm program to your desktop.

Write the answers on paper and keep it for later in the period when you write your own program.

1. When you run your RandomNumber.frm program, do you get the same exact results as the example shown on the direction sheet?

2. Why or why not? 3. What line in the code makes cmdOne produce a **decimal**?

4. What line in the code makes cmdTen produce a **decimal**?

5. What line in the code makes cmdFive produce an **integer**? 6. What line in the code makes cmd100 produce an **integer**?

7. What line of code guarantees that the results will be truly random?

8. What is the keyword in Visual Basic that produces a random number between 0 and 1?

9. What type of numbers exist between 0 and 1?

10. When you multiply a number between 0 and 1 by 10, how many digits are to the left of the decimal point?


 * Study the code and the output from several tries before answer these questions.**

11. Describe the number that will be stored in memory in **LessTen** because of this line of code in **cmdTen**. **LessTen = 10 * Rnd ** 12. Describe the number that will be stored in the variable, **UpTo5**, because of this line of code in **cmdFive**. **UpTo5 = 5 * Rnd **

13. What must **Rnd** be multiplied by to produce a number from 1 to 33?

14. Write the line of code that will put a random number from 1 to 33 in the variable, **UpTo33**.

15. True or False: To have a program user pick the highest number, use a textbox to get the number and multiply **Rnd** by the numerical variable where that number is stored.

16. Write the assignment statement for putting the random integer from 0 to the top number the user provided, into a variable in memory, if these declarations are given? Dim Top As Integer Dim UpToTop As Integer

Study the RandomNumber.frm **code** and its **output** first. Use your answers that you put on paper from the Do Now. Make sure to type your **name** in the name box on the left before you start the quiz. After you are finished, read the corrections and the explanations that go with them. Even if you got all the answers correct, please read the explanations that are provided below the problem. If you did not get 100%, take it again. Follow this link.

media type="custom" key="11885588" __Program__: **MyRandom.frm** Refer to the questions in the Do Now, your answers on paper, and the quiz explanations to help you with the program.
 * Correct your answers on your lined paper so you have that to refer to when you do your own program.!!**

 Turn in your paper with your name, period and 16 corrected answers on it. Fill in your Progress Log and self-evaluate (in binder).....

//__Goal__: Develop algorithmic thinking.// //__Goal__: Use 2-way switch structures effectively.// //__Goal__: Use random numbers effectively.// //__Objective for Today__: Write a program that uses the random number generator to produces random numbers within a certain range.//
 * Wednesday & Thursday December 14 & 15, 2011**

__Paper and Pencil:__ 1. Use a random number generator online @http://www.random.org/integers/ or @http://www.psychicscience.org/random.aspx to pick the number of the ticket that you are hypothetically being given from the range pictured to the right (410005 to 410514). Write down your ticket number. 2. Use a random number generator online to pick the 5 door prize winners' numbers picked from the tickets distributed which had a range of numbers from 410005 to 410514. Write down the ticket numbers. 3. Did you win a door prize? 4. Ticket numbers 410005 through 410514 were distributed. How many tickets were distributed? 5. Write the chance of winning a door prize as a fraction. 6. Write the chance of winning as a percentage.

__VB Program__: **RandomNumber.frm** Directions can be found in your binder. __Scratch Program__: **RandomFun.sb** Create a program in Scratch that uses the random number generator to do something randomly.  __Paper and Pencil/Fill-in-the-Blank:__ 7. In Visual Basic, a random decimal number between 0 and 1 is generated with the use of the keyword, Rnd **.** Fill in your Progress Log and self-evaluate (in binder).....

//__Goal__: Develop algorithmic thinking.// //__Goal__: Use 2-way switch structures effectively.// //__Objective for Today__:// //Discover why a program to calculate slope needs an If Then Else structure.// //__Objective__ (Eligible Content M11C3): Relate slope to parallelism.//
 * Tuesday December 13, 2011**



Draw an x y coordinate system on a piece of graph paper. Plot these pairs of points and draw a line through each pair. (3, 6) (-2, 6) (5, -3) (2, 8) (10, -5) (10, 3) (-5, -9) (5, 9) Calculate the slope of each line and write it next to the line. Write the word horizontal by the horizontal line. Write the word vertical by the vertical line. Draw a line that is parallel to one of the lines and use two points on the line to determine its slope. What can you conclude about parallel lines and slope?

Study the SlopeLine.frm directions and explanation in your notebook. Discuss with the student next to you as necessary.

SlopeLine.frm Questions » online testing software

Make sure to type your **name** in the name box on the left before you start the quiz. After you are finished, read the corrections on the quiz and reread the explanations in the notebook to clear up any misunderstandings. If you did not get 100%, click on **Try Again** at the bottom.

 Make sure your SlopeLine.frm program is correct and uploaded to your digital locker. Have Miss Hangen check it. Fill in your Progress Log and self-evaluate (in binder).....

//__Goal__: Develop algorithmic thinking.// //__Goal__: Use 2-way switch structures effectively.// //__Objective for Today__:// //Discover why a program to calculate slope needs an If Then Else structure.//
 * Monday December 12, 2011**

__Paper and Pencil:__ 1. When typing a fraction into VB, what must surround the numerator of a fraction that has more than one thing in it? 2. When typing a fraction into VB, what must surround the denominator of a fraction that has more than one thing in it? 3. The slope of a line can be calculated by using the coordinates of two points on the line. The slope is the difference in the y direction divided by the difference in the x direction. Write the assignment statement for the formula for slope of the line that contains the points, (xone, yone) and (xtwo, ytwo).

Save this file to your desktop. [|SlopeLine.Frm] Read ALL of the directions on pages 1-13 in your black binder for SlopeLine.frm __Program:__ **SlopeLine.frm** Test the **SlopeLine.frm** program with ALL the test data on page 13. Use your quality check off sheet to self-evaluate your program. Upload to your Gaggle digital locker, delete from the desktop and empty the recycle bin.

 __Paper and Pencil:__ 1. Do mathematical formulas work for all data? 2. Explain your answer. Fill in your Progress Log and self-evaluate (in binder).....

//__Goal__: Develop algorithmic thinking.// //__Goal__: Use 2-way switch structures effectively.// //__Objective for Today__: Apply the If Then Else structure to 3 different example uses.//
 * Friday December 9, 2011**

__Paper and Pencil:__ Answer these questions about the divide programs in VB. 1. When the code had no **If Then** structure, what happened when the denominator was zero? 2. When the code had an **If Then** structure, what happened when the denominator was zero? 3. When the code had an **If Then Else** structure, what happened when the denominator was zero? 4. Write one line of code to display a message box that looks like this.

__Read:__ **If Then Notes** (in binder) __Program:__ **IfThenNotes.frm** Make a form and use the code on the notes pages to complete the program. Save to the desktop.

 Test the **IfThenNotes.frm** program with the test data on the notes pages. Upload to your Gaggle digital locker, delete from the desktop and empty the recycle bin. Study the notes for meaning. __Paper and Pencil:__ Summarize what you learned today in a few sentences. Fill in your Progress Log and self-evaluate (in binder).....

//__Goal__: Use an If structure to prevent a program from crashing due to bad data.// //__Goal:__ Develop algorithmic thinking.// //__Goal__: Declare variables and constants.// //__Goal__: Write and debug programs using correct assignment statement syntax for algebraic operations.//
 * Thursday December 8, 2011**

Try some other numbers when you run **QuadraticFormula.frm.** 1. What are 2 sets of data that cause the program to crash? 2. Why does it crash with that data? __Scratch Program__: **Divide.sb** __VB Program__: **Divide.frm** Compare the two programs. Make both programs better by following Miss Hangen's instructions.

__Celebrate Success__: Look at **Assignment Statement Quiz** grades Fill out your **Progress Log with Self-Evaluation Scale** Upload to your Gaggle digital locker.

Wednesday December 7, 2011
//__Goal:__ Develop algorithmic thinking.// //__Goal__: Declare variables and constants.// //__Goal__: Write and debug programs using correct assignment statement syntax for algebraic operations.// __Study:__ Read over the notes and examples in your binder on assignment statement syntax. __Quiz__: **Assignment Statement Syntax Quiz** (100 points) __Discussion__: Go over number 2 of yesterday's Do Now and discuss yesterday's ticket out the door. See below. Fill out your progress log sheet and do the self-evaluation. //__Goal:__ Develop algorithmic thinking.// //__Goal__: Declare variables and constants.// //__Goal__: Write and debug programs using square root.// __Paper and Pencil:__
 * Tuesday December 6, 2011**

1. Choose the correct declaration statements that would be necessary when the code contains this assignment statement: **PeriodT = 2 * PI * Sqr(Length/32)**


 * [[image:hangenvb/DeclarationPendulum.PNG]] ||
 * DeclarationPendulum.PNG ||

2. Write the correct declaration statements that would be necessary when the code contains this assignment statement: __Program__: **QuadraticFormula.frm** Self-evaluate with your Quality Check Off Sheet in your notebook. Have Miss Hangen check it. Study for the Assignment Statement Quiz we will be having tomorrow. Try some other numbers when you run QuadraticFormula.frm. 1. What are 2 sets of data that cause the program to crash? 2. Why does it crash with that data? We will look at a way to fix that in the near future. Upload to your Gaggle digital locker.
 * HypC = Sqr(LegA ^ 2 + LegB ^ 2) **

//__Goal__: Develop alogorithmic thinking.// //__Goal__: Write assignment statements with absolute value and square root correctly.// //__Goal__: Write and debug programs using square root.// __Paper and Pencil:__ 1. Define absolute value. 2. Define magnitude. 3. Is there a radical (square root symbol) on the keyboard? 4. Write the function used for taking the square root in Visual Basic. 5. Write the function used for taking the absolute value in Visual Basic. 6. What does the announcement say is coming up soon?
 * Monday December 5, 2011**

Program: **QuadraticFormula.frm** Fill out your Progress Log with Self-Evaluation Scale Have Miss Hangen check your program. **Announcement:** **Quiz and writing assignment statements coming up soon.** Upload to your Gaggle digital locker.

//__Goal__: Write assignment statements with absolute value and square root correctly.// //__Goal__: Write and debug programs using square root.// //__Goal__: Develop algorithmic thinking.//
 * Wednesday - Friday November 30 - December 2, 2011**

Simplify the following in your head: 1. |-3| //<span style="color: #000080; font-family: 'Times New Roman',Times,serif;">(Read as the absolute value of negative 3.) // 2. |17| 3. //<span style="color: #000080; font-family: 'Times New Roman',Times,serif;">(Read as the square root of 81.) // 4. Estimate the value of by using perfect squares surrounding 6 and their square roots.

Find out what the computer TI83 notation is for absolute value and square root by checking your answers. To find absolute value, choose Math --> to NUM. __Read:__ **Assignment Statement Syntax Notes** __Paper and Pencil:__ **Assignment Statement Syntax: Part III** [|AssignVBSyntaxIII.doc] Compare your answers with another student, and make sure you both have everything correct before handing it in. __Program__: **QuadFormula.frm** __Wednesday__: Save QuadFormula.gif to desktop and use the picture object in VB to insert it into your program. __Thursday__: Go over some of homework. __Friday__: Finish **QuadFormula.frm** Self-evaluate with your Quality Check Off Sheet in your notebook. Have Miss Hangen check it. Upload to your Gaggle digital locker.

Tuesday November 29, 2011
//__Goal__: Develop algorithmic thinking.// __Paper and Pencil__: 1. In what category can you find random numbers in Scratch? 2. Describe where you can put the pick a random number piece in regards to the other blocks. 3. Do you think that there is a way to get random numbers in Visual Basic? __Think-Pair-Share__: 4. Explain this quote -- <span style="color: #2a2a2a; font-family: 'Tahoma','sans-serif'; font-size: 13px;">On two occasions I have been asked, "Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?" I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question. -Charles Babbage, mathematician and computer scientist (1791-1871) __VB File__: **ThanksgivingGame.frm** Save to the desktop and upload it to your Gaggle digital locker.

Wednesday November 23, 2011
//__Goal__: Develop algorithmic thinking.// __Paper and Pencil__: 1. In what category can you find random numbers in Scratch? 2. Describe where you can put the pick a random number piece in regards to the other blocks. 3. Do you think that there is a way to get random numbers in Visual Basic? __VB File__: **ThanksgivingGame.frm** __Extra Credit__: Make a Scratch simulation of the Google doodle. __Scratch File__: **GoogleTurkey.sb**

Save to the desktop and upload it to your Gaggle digital locker.

Tuesday November 22, 2011
//__Goal__: Develop algorithmic thinking.// Test you program and decide how much more you need to do to it. Students come to board try out improvements to **Thanksgiving.sb** and demonstrate **Effects.sb** __Scratch File__: **WalkingBoy.sb** __Scratch File__: **Thanksgiving.sb** Make your own improvements and embellishments. Save to the desktop and upload it to your Gaggle digital locker.

Monday November 21, 2011
//__Goal__: Develop algorithmic thinking.// __Finish:__ Freefall.frm __Scratch Program__: **WalkingBoy.sb** __Scratch Program__: **Thanksgiving.sb** Upload to Gaggle.

Friday November 18, 2011
//__Goal__: Develop algorithmic thinking.// //__Goal__: Write assignment statements fractions correctly.// //__Goal__: Write and debug programs using fractions.// //__Objective for Today__: Chirps.frm// __Paper and Pencil__: **Val Questions** Refer to the directions for **Chirps.frm** in your VB binder.

// Crickets chirp more slowly as the temperature gets colder. For a certain kind of cricket, you can predict the temperature by counting how many chiprs they make in 1 hour, and then plugging that into this formula where **T** stands for **temperature** which is measured in degrees Fahrenheit and **C** stands for the number of **chirps** made in an hour. //

In Visual Basic we need to use the variables and constants as they appear in the declaration, besides using the proper operation symbols in the assignment statement used to calculate the temperature.

Given these declarations, what would be the assignment statement to calculate the temperature? Remember to use the proper syntax for Visual Basic. In VB, an assignment statement must be written (typed) on one line straight from the keyboard. No special formatting is used.

<span style="font-family: 'Courier New',Courier,monospace;">Dim Chirps As Integer <span style="font-family: 'Courier New',Courier,monospace;">Dim Temperature As Single <span style="font-family: 'Courier New',Courier,monospace;">Chirps = Val(txtChirps)

__Program__: **Chirps.frm** Self-Evaluate. __Paper and Pencil__: Put your answers on the back of you Do Now paper. 1. Why is -50 not a realistic number for input in this program? 2. What ideas do you have about what we could do about it?

Thursday November 17, 2011
//__Goal__: Develop algorithmic thinking.// //__Goal__: Write assignment statements with constants, fractions, and exponenets, correctly.// //__Goal__: Write and debug programs using constants, fractions, exponents.// //__Objective for Today__: Finish Freefall.frm// __Watch and Discuss__: **Isaac Newton.sb** __Program__: **Freefall.frm** Have Miss Hangen check your Freefall.frm program. Upload to Gaggle.

Tuesday & Wednesday November 15 & 16, 2011
//__Goal__: Develop algorithmic thinking.// //__Goal__: Write assignment statements with constants, fractions, and exponenets, correctly.// //__Goal__: Write and debug programs using constants, fractions, exponents.// //__Objective for Today__: New pages in binder// __Read:__ **Assignment Statements Syntax: Part II Examples** Fractions, Constant Declaration, Exponents __Paper and Pencil__: **Assignment Statements Syntax: Constants, Fractions, Exponents** Page 1 __Program__: **Freefall.frm** **Homework:** __Paper and Pencil__: **Assignment Statements Syntax: Constants, Fractions, Exponents** Page 2 Turn in finished papers Have Miss Hangen check your Freefall.frm program. Upload to Gaggle.

Thursday & Friday November 10 & 11, 2011
//__Goal__: Students will enter a provided program, make it look professional, and test it.// //__Objective for Today__: Formal Individual Assessment - Hello.frm and Grand Tour Matching Quiz// **OPEN BOOK TEST:** __VB Program__: **Hello.frm** to be done silently and individually. Follow the directions on the papers. You may use your notebook. Email **Hello.frm** as an attachment to jchangen@lancaster.gaggle.net Turn in direction packet. __Paper and Pencil__: **Grand Tour Matching Quiz** To be done silently and individually You may use your binder, look at your Visual Basic programs, and try things in Visual Basic. __VB Program__: **GoodBye.frm** to be done silently and individually. Use of your binder is permitted, but no use of other programs is allowed.

__Self-Evaluate__: Does the form look good? Do the objects have the appropriate names? Do you have appropriate code in all the command buttons? Does the cursor start in the first textbox? Is the tab order correct? Does the test data produce correct results? Does the clear button empty the textboxes and the results label and move the cursor to the first textbox? Does the exit button work? Email GoodBye.frm as an attachment to jchangen@lancaster.gaggle.net

Turn in finished papers and direction sheets.

Wednesday November 9, 2011
//__Goal__: Students will understand the overall layout of Visual Basic.// //__Objective for Today__: Paper and pencil matching// __Paper and Pencil__: **Grand Tour Picture Matching** Finish back work Experiment Turn in finished papers

Friday November 4, 2011
//__Goal__: Using assignment statements to calculate. Understand input, process, output.// //__Objective for Today__: Paper and pencil questions on TriangleArea.frm RectArea.sb and Visual Basic in general// __Paper and Pencil__: **Triangle Area and Rectangle Area Questions** __Paper and Pencil with Partner__: **Visual Basic and Scratch Comparison** **Homework:** Finish paper and pencil assignments. Turn in finished papers.
 * Grand Tour Questions**

Thursday November 3, 2011
//__Goal__: Using assignment statements to calculate.// //__Objective for Today__: RectArea.sb & RectangleArea.frm// __Finish__: **RectArea.sb** __VB Program__: **RectangleArea.frm** Turn in finished papers. Save to the desktop. Upload to your Gaggle digital locker. Delete your files off the desktop. Empty the recycle bin.

Wednesday November 2, 2011
//__Goal__: Using assignment statements to calculate.// //__Objective for Today__: TriangleArea.frm & RectArea.sb// __Finish__: **TriangleArea.frm** __Scratch Program__: **RectArea.sb** Turn in finished papers. Save to the desktop. Upload to your Gaggle digital locker. Delete your files off the desktop. Empty the recycle bin.

Tuesday November 1, 2011
//__Objectives__: Using assignment statements effectively.// //__Goal for Today__: TriangleArea.frm// __Paper and Pencil__: **Assignment Statement Syntax: Part I** (for those who haven't turned it in yet) __VB Program__: **TriangleArea.frm** Turn in finished papers. Save to the desktop. Upload to your Gaggle digital locker. Delete your files off the desktop. Empty the recycle bin.

Monday October 31, 2011
//__Objectives__: Convert algebraic notation into Visual Basic notation. Select multiple objects at one time.// //__Goal for Today__: Assignment Statement Syntax: Part I and PlayBall.frm// Watch Google doodle video. What did the producer of the video do to make this movie clip? __Paper and Pencil__: **Assignment Statement Syntax: Part I** __VB Program__: **Playball.frm** Turn in finished papers. Save to the desktop. Upload to your Gaggle digital locker. Delete your files off the desktop. Empty the recycle bin.

Thursday October 27, 2011
//__Objectives__: Declare variables with a Dim statement. Convert algebraic notation into Visual Basic notation.// //__Goal for Today__: Do the 2 paper and pencil assignments.// __Read__: **Declaring Variables with a Dim Statement** and highlight. __Finish VB Program__: **Prom.frm** or **CellPhone.frm** __Paper and Pencil__: **Questions on Declaring Variables with a Dim Statement** **Homework:** __Paper and Pencil__: **Assignment Statement Syntax: Part I** Turn in finished papers. Save to the desktop. Upload to your Gaggle digital locker. Delete your files off the desktop. Empty the recycle bin.

Wednesday October 26, 2011
//__Objectives__: Declare variables with a Dim statement. Convert input into numeric values with Val.// //Use the variables to get input, process data, and output results.// //__Goal for Today__: Read and interpret notes. Use an example program (Pet.frm) to write your own program in a similar manner (Prom.frm or CellPhone.frm). Answer questions on notes.// __Read__: **Declaring Variables with a Dim Statement** and highlight. __VB Program__: **Prom.frm** or **CellPhone.frm** __Paper and Pencil__: **Questions on Declaring Variables with a Dim Statement** Save to the desktop. Upload to your Gaggle digital locker. Delete your files off the desktop. Empty the recycle bin.

Tuesday October 25, 2011
//__Objectives__: Declare variables. Use the variables to get input, process data, and output results.// //__Goal for Today__: Compare Pet.frm to similar program in Scratch.// Open Pet.frm Compare Pet.frm to CellPhone.sb in Scratch. Finish programs. Print **Sum.docx** Upload to your Gaggle digital locker. Delete your files off the desktop. Empty the recycle bin

Monday October 24, 2011
//__Objectives__: Declare variables. Use the variables to get input, process data, and output results.// //__Goal for Today__: Write a Scratch program to add.// What is the answer to an addition problem called? __Scratch Program__: **Sum.sb** You may use a different sprite. You may embellish the program if you have time. __Word File__: **Sum.docx** Print Sum.docx __Handout__: **Ticket out Door October 24, 2011** Upload Sum.sb and Sum.docx to your Gaggle digital locker. Delete your files off the desktop. Empty the recycle bin.

Friday October 21, 2011
//__Objectives__: Demonstrate proper saving procedures. Demonstrate use of header and footer. Demonstrate use of input, variables, and output. Demonstrate independent use of your Gaggle digital locker.// //__Goal for Today__: Scratch Quiz and Performance Assessment// Clear desk area and get out a pen or pencil. __Paper and Pencil__: **Scratch Quiz 1** This must be done silently and individually. You may use the pages in the binder, the stapled packets, and any Scratch programs. __Performance Assessment__: **Scratch Assessment** __Scratch Filename__: **TalkingSprites.sb** __Word Filename__: **TalkingSprites.docx**

Delete your files off the desktop. Empty the recycle bin. Turn in **Scratch Quiz 1** paper with your name, period and date on it.

Tuesday & Wednesday October 18 & 19, 2011
//__Objectives__: Declare variables. Write code to handle input, processing, and output.// Questions sent from SynchronEyes __Scratch Program__: **MazeYourName.sb** Use the stapled packet. When you are done, embellish by doing 1 or more of the following: - Make levels of mazes - easy, medium, hard - Count how many times the user gets sent back to the beginning. - Other embellishments __Word Filename__: **MazePrintout.docx** Follow the Maze Printout Direction sheet.

Save to the desktop. Upload to your Gaggle digital locker. Delete off the desktop. Empty the recycle bin.

Monday October 17, 2011
//__Objectives__: Declare variables. Write code to handle input, processing, and output.// Make sure that you have the form and objects for **Pet.frm** done correctly by following the directions in your notebook, Code for Pet.frm numbers 2 - 19. __Visual Basic Program Filename__: **Pet.frm** Complete directions in the notebook, titled Code for Pet.frm numbers 20 - 32. __Scratch Program__: **MazeYourName.sb**

Save to the desktop. Upload to your Gaggle digital locker. Delete off the desktop. Empty the recycle bin.

Friday October 14, 2011
//__Objectives__: Design a user-friendly form with input and output.// __Handout__: **Name Property Matching** Go over Concatenation.sb paper and discuss input, process, output. __Visual Basic Program Filename__: **Pet.frm** Complete directions in the notebook. If finished do **Maze.sb**

__Handout__: **Name Property Matching** Explain the differences and 1 similarity between a textbox and a label used for outputting results.

Thursday October 13, 2011
//__Objectives__: Declare variables. Identify input, processing, and output. Use labels for output.// Change your Hello.sb program according to the directions in the binder for **Concatenation.sb**, and save it as **Concatenation.sb**. Upload to Gaggle. __Paper and Pencil__: Label each picture on the bottom of the page as primarily either **input** or **output**.

Compare **Concatenation.sb** in Scratch to **Concatenation.frm** in Visual Basic Discuss variable declaration, input, Trim function, UCase function, concatenation of strings, concatenation operator, and labels for output.

__Paper and Pencil__: Explain the differences and 1 similarity between a textbox and a label used for outputting results.

Tuesday October 11, 2011
//__Objectives__: Create a Visual Basic program that demonstrates the use of string variables, input, concatenation, and output.// //Create a label for output, in which its borderstyle property is changed and its name property uses the lbl prefix.// __Program__: **Concatenation.frm** Detailed directions are in the blue binder. Read them carefully. Test the program carefully. Have Miss Hangen check your finished program. Save to the desktop, upload to Gaggle digital locker, delete from desktop, empty recycle bin. Close programs, get desktop back to normal. Clean area, push in chair, put trash in can.

Friday October 7, 2011
__Objective__: Use standard Visual Basic object naming. Employ user-friendly tab order. __Goal for today__: Add a clear button to your Computer News program. **Do Now:** Save **ComputerNews.frm** to your desktop. **Activity:** Discuss input, textboxes, object naming, tab order, user-friendlyness, saving the .frm Check that your ComputerNews.frm works correctly. **Ticket out Door:** Upload to your gaggle digital locker.

Thursday October 6, 2011
__Objective__: Use standard Visual Basic object naming. Employ user-friendly tab order. __Goal for today__: Add a clear button to your Computer News program. **Do Now:** **What videos on Steve Jobs** **Activity:** Add a clear button to your Computer News program. __VB Filename__: **ComputerNews.sb** Directions in blue binder. **Ticket out Door:** Upload to your gaggle digital locker.

Tuesday October 4, 2011
__Objective__: Use standard Visual Basic object naming. __Goal for today__: Create your first Visual Basic program. **Do Now:** Finish **Hello.sb** **Activity:** Discuss input, output, variables, variable declaration. __VB Filename__: **ComputerNews.sb** Directions in blue binder. **Ticket out Door:** Upload to your gaggle digital locker.

Monday October 3, 2011
__Objective__: Use input and output tools effectively. __Goal for today__: Create variables and use them for input and output in Scratch. **Do Now:** 1. What do you think input is? 2. What do you think output is? 3. What are vairables? How are they used? **Activity:** Discuss input, output, variables, variable declaration. __Scratch Filename__: **Hello.sb** Create a program that declares variables, FirstName, LastName, and asks the user for his or her first name and last name. Then output a message with Hello followed by the first name and last name. Make sure that there are spaces between the words. **Ticket out Door:** Upload to your gaggle digital locker.

Wednesday September 28, 2011
__Objectives__: Use multiple software programs to create a display of your work. __Goals for today__: Put pictures of all the parts of your Scratch program into your Word document.

Go to Gaggle.net and click on **Customer Login**. Type the first 3 letters of your first name, the first 3 letters of your last name, the last 3 digits of your student number. If @lancaster.gaggle.net already appears, press Enter; otherwise type @lancaster.gaggle.net and then press Enter. On the left under Applications, click on **Digital Locker**. Double click on your most recently modified document for this class. Save your **ScratchCartoon.docx** Word document to the desktop.
 * Do Now: **
 * Save** it to the desktop. After the download is complete, open it.

Follow the directions titled **Scratch Cartoon Summary Directions**, that are in your binder, as Miss Hangen demonstrates using the screen for the directions and the Smartboard for the demonstration. __Scratch Filename__: **CartoonComments.docx** __Word Filename__: **ScratchCartoon.docx** __Title__: **My First Scratch Project** Make sure that your files are saved to the desktop. Log out of Gaggle, and close the browser. Get the computer back to normal. Clean up your area. Stay in your seat until the bell rings.
 * Activity: **
 * Ticket out Door: **
 * Upload** each of them to your **Gaggle digital locker** with **Add File**.
 * Delete your files from the desktop**.
 * Empty the recycle bin** by using a right click on the recycle bin and choosing empty recycle bin.

Monday September 26, 2011
__Objectives__: Document programs. Explain the thinking behind the code. __Goals for today__: Add documenting comments to your Scratch cartoon file.

Go to Gaggle.net and click on **Customer Login**. Type the first 3 letters of your first name, the first 3 letters of your last name, the last 3 digits of your student number. If @lancaster.gaggle.net already appears, press Enter; otherwise type @lancaster.gaggle.net and then press Enter. On the left under Applications, click on **Digital Locker**. Double click on your most recently modified document for this class.
 * Do Now: **
 * Save** it to the desktop. After the download is complete, open it.

Follow the directions titled **Scratch Cartoon Summary Directions**, that are in your binder, as Miss Hangen demonstrates using the screen for the directions and the Smartboard for the demonstration. __Scratch Filename__: **CartoonComments.docx**
 * Activity: **

Make sure that your files are saved to the desktop. Log out of Gaggle, and close the browser. Get the computer back to normal. Clean up your area. Stay in your seat until the bell rings.
 * Ticket out Door: **
 * Upload** each of them to your **Gaggle digital locker** with **Add File**.
 * Delete your files from the desktop**.
 * Empty the recycle bin** by using a right click on the recycle bin and choosing empty recycle bin.

Thursday September 22, 2011
__Objective__: Use headers and footers effectively. __Goals for today__: Create a file with the standard header and footer that will be used in this class.

Go to Gaggle.net and click on **Customer Login**. Type the first 3 letters of your first name, the first 3 letters of your last name, the last 3 digits of your student number. If @lancaster.gaggle.net already appears, press Enter; otherwise type @lancaster.gaggle.net and then press Enter. On the left under Applications, click on **Digital Locker**. Double click on your most recently modified document for this class.
 * Do Now: **
 * Save** it to the desktop. After the download is complete, open it.

Follow the directions titled **Header and Footer in Word**, that are in your binder, as Miss Hangen demonstrates using the screen for the directions and the Smartboard for the demonstration. __Word Filename__: **ScratchCartoon.docx** __Word Filename__: **HeaderFooter.docx** __Title__: **My First Scratch Project** The HeaderFooter.docx will be the same as the ScratchCartoon.docx, except you will use that as a template to start any other documents that need to be in Word.
 * Activity: **

Make sure that your files are saved to the desktop. Log out of Gaggle, and close the browser. Get the computer back to normal. Clean up your area. Stay in your seat until the bell rings.
 * Ticket out Door: **
 * Upload** each of them to your **Gaggle digital locker** with **Add File**.
 * Delete your files from the desktop**.
 * Empty the recycle bin** by using a right click on the recycle bin and choosing empty recycle bin.

Tuesday & Wednesday September 20 & 21, 2011
__Objective__: Understand making incremental changes. __Goals for today__: Add scripts to the directions to make them fade. Use the ghost effect. CartoonDirections.sb

Get into Gaggle. Save you CartoonDirections.sb file to the desktop.
 * Do Now: **

Participate in discussion of the ghost effect. Follow along with demonstration of the ghost effect. Use the direction paper in the binder to add the scripts for making the directions fade. Thoroughly test your program. Have Miss Hangen check your program. Save the program as CartoonDirections and upload it to your Gaggle digital locker.
 * Activity: **

Make sure that your files are saved to the desktop. Upload each of them to your Gaggle digital locker with Add File. Log out of Gaggle, and close the browser. Delete your files from the desktop. Empty the recycle bin by using a right click on the recycle bin and choosing empty recycle bin. Get the computer back to normal. Clean up your area. Stay in your seat until the bell rings.
 * Ticket out Door: **

Monday September 19, 2011
__Objective__: Understand and use perspective and symmetry in software. __Goals__: Document a Scratch file. Display a Scratch file in Word.

**Do Now:** Save **WalkDirectionsForever.sb** to your desktop. Make sure that you have a sprite with directions in each of you 4 files, SpinningCartoon, WalkLeftRight, ForwardBackward, and WalkDirectionsForever.

**Activity:** Do these activities while it is being demonstrated. Clean up scripts. Add comments. Create a Word document and save it with the filename WalkDirectionsForever.docx. Save a picture of your scripts in WalkDirectionsForever to the desktop, as ScriptsWalkForever.gif Insert - Picture - from file - ScriptsWalkForever.gif Insert the specific header and footer presented.

**Ticket out Door:** Save WalkDirectionsForever.docx to your desktop. Upload it to your Gaggle digital locker. Upload WalkDirectionsForever.docx to your digital locker. Delete files off the desktop. Empty the recylcing bin.

Friday September 16, 2011
Assemby at JP auditorium.

Thursday September 15, 2011
Present programs.

Tuesday & Wednesday September 13 & 14, 2011
Uniform on and ID visible. Get into Gaggle. gaggle.net First 3 letters of your first name, first 3 letters of your last name, last 3 digits of your student number, followed by @lancaster.gaggle.net Get into your Gaggle digital locker. Double click on your Scratch file. Save it to the desktop. **Do Now:** 1. Which of these cartoons looks like it is the farthest away?

2. Why? 3. Which looks like it is the closest to you? 4. Why?

**Activity:** Use your finished cartoon character in Scratch to make these additional Scratch files. All of the directions are in the red binder. You will start with your file that has the 4 versions of your cartoon as costumes of a sprite. Save it to the desktop as **SpinningCartoon.sb** and include the code on the direction sheet in the red binder. Save it again as **WalkLeftRight.sb** and use the new scripts on the next page in the binder titled WalkLeftRight.sb. Save it again as **ForwardBackward.sb** and use the scripts from that page of directions in the binder. Save it again as **WalkDirectionsForever.sb** and use the scripts from the corresponding page in the red binder. You will have 4 files to upload to your Gaggle digital locker:
 * SpinningCartoon.sb**
 * WalkLeftRight.sb**
 * ForwardBackward.sb**
 * WalkDirectionsForever.sb**

**Ticket out Door:** Make sure that the 4 files are saved to the desktop: Log out of Gaggle, and close the browser. Delete your file from the desktop. Empty the recycle bin by using a right click.... Get the computer back to normal. Clean up your area. Stay in your seat until the bell rings.
 * SpinningCartoon.sb**
 * WalkLeftRight.sb**
 * ForwardBackward.sb**
 * WalkDirectionsForever.sb**
 * Upload** each of them to your **Gaggle digital locker** with **Add File**.

September 1, 2011
Uniforms and ID's on!!!!!! Be in assigned seats for accurate attendance. Put your name on your handbook and use the passes page when necessary. Use the lavatory, water fountain, and your locker, in between class periods.

Have a great day of learning! :-)

September 2, 2011 Gaggle accounts Try out Scratch

September 5, 2011 SpinningGuy.sb