home

=CS702 -- Computer Programming II=

//__Goal__: Students will be able to use loops to iterate over sequences effectively.// //__Goal__: Students will be able to use objects, which combine data and functions, effectively.// //__Goal__: Students will be able to use objects and their member functions to work with sequences of characters, effectively.// //__Goal__: Students will be able to use arrays to store access, and manipulate sequences of any type, effectively.// //__Goal__: Students will be able to use multidimensional arrays to better represent certain groups of information, effectively.// __Program__: **CharacterCountB.cpp** __Paper and Pencil:__ **Chapter 3 Review (Dawson)** 5 page packet Upload to Gaggle. Fill out your progress log and self-evalution.
 * Tuesday May 15, 2012**

[] //__Goal__: Students will be able to use cout.setf code to format output effectively.// //__Goal__: Students will be able to use for loops to iterate over sequences effectively.// //__Goal__: Students will understand how to use programming features to solve problems.// __Program:__ **CoutSetF.cpp** Directions on paper in binder. __Program:__ **Columns.cpp** __Program__: **Possible.cpp** Upload to Gaggle. Reflect on what you learned today. Fill out your progress log and self-evalution. Use the for loop scale to track your progress.
 * Friday - Monday, May 4 - 14, 2012**

//__Goal__: Students will be able to use for loops to iterate over sequences effectively.// //__Goal__: Students will understand how to use programming features to solve problems.// __Paper and Pencil__: cout << "A1B1B2B3A2B1B2B3\n";
 * Friday - Thursday April 27 - May 3, 2012**
 * 1.** Without creating a program, write what the output of this line of code will be.

a. for (n = 5; n <= 20; n+=5) b. for (n = 5; n <= -20; n-=5)
 * 2.** Which of these statements has the correct control expression?


 * 3.** Rewrite the statement that has an incorrect control expression in problem number 2, with the correct control expression.

__Program Checking__: **WasteChalk.cpp** (For those whose programs I haven't yet checked.) __Program__: **AB123.cpp** Write a program that has nested loops and uses the fewest number of lines of code to produce the following output. A1B1B2B3A2B1B2B3 Do **NOT** use the line of code in the **Do Now**. __Paper and Pencil__: **Ch 8 Loops: Summary and Questions** page 1 and the top of page 2.

Upload to Gaggle. Reflect on what you learned today. Fill out your progress log and self-evalution. Use the for loop scale to track your progress.

//__Goal__: Students will be able to use for loops to iterate over sequences effectively.// //__Goal__: Students will understand how to use programming features to solve problems.// @http://www.addletters.com/bart-simpson-generator.htm __Program__: **WasteChalk.cpp** Create the WasteChalk.cpp program based on the output and partial code provided. Do a part and test it. Do another part and test it, and so on. Upload to Gaggle. Fill out your progress log and self-evalution. Track your progress on the for loop goal with the scale provided. Delete files off the desktop and empty the recycle bin.
 * Thursday - Thursday April 19 - 26, 2012**

//__Goal__: Students will be able to use loops to iterate over sequences effectively.// __Program__: **MyForLoop.cpp** Create your personal for loop program that was assigned at the end of the period yesterday. Take turns demonstrating and explaining your personal for loop programs. Upload to Gaggle. Fill out your progress log and self-evalution.
 * Wednesday April 18, 2012**

//__Goal__: Students will be able to use loops to iterate over sequences effectively.// //__Goal__: Students will be able to use objects, which combine data and functions, effectively.// //__Goal__: Students will be able to use objects and their member functions to work with sequences of characters, effectively.// //__Goal__: Students will be able to use arrays to store access, and manipulate sequences of any type, effectively.// //__Goal__: Students will be able to use multidimensional arrays to better represent certain groups of information, effectively.// Use a for loop and 2 ASCII codes to write a program to output the uppercase letters of the alphabet. No input necessary. Start with the Blank.cpp template. [|AlphabetBlanks.cpp] To use this file, do a right click, save to desktop, then open. __Read in Dawson book__: P. 71-97 **Chapter 3 For Loops, Strings, and Arrays: Word Jumble** __Paper and Pencil:__ **Chapter 3 Review (Dawson)** 5 page packet Upload to Gaggle. Fill out your progress log and self-evalution.
 * Tuesday April 17, 2012**

//__Goal__: Students will be able to use loops to iterate over sequences effectively.// //__Goal__: Students will be able to use objects, which combine data and functions, effectively.// //__Goal__: Students will be able to use objects and their member functions to work with sequences of characters, effectively.// //__Goal__: Students will be able to use arrays to store access, and manipulate sequences of any type, effectively.// //__Goal__: Students will be able to use multidimensional arrays to better represent certain groups of information, effectively.// __Read in Dawson book__: P. 94-96 **Chapter 3 Summary and Questions and Answers** __Read in Dawson book__: P. 71-97 **Chapter 3 For Loops, Strings, and Arrays: Word Jumble** __Discussion__: Students who were assigned specific programs to explain will explain them to the rest of the class. __Monday - Friday__: __Word File__: P. 97 **Discussion Questions & Exercises** __Program__: **JumbleImproved.cpp Exercise 1 on page 97.** __Extra Credit__**: Create another program of your choice that demonstrates your understanding of the topics in Chapter 3.** Follow the standard procedure for putting this in a Word document and testing it. **Include in your Word documents, explanations of what you learned from this program.** //**If you finish page 97 including the program, move on to Chapter 4.**// Upload to Gaggle. Fill out your progress log and self-evalution.
 * Tuesday April 3 - Monday April 16, 2012 (Review Chapter 3 of Dawson text)**
 * Monday - **StringTester.cpp**
 * Tuesday - **Hero's Inventory.cpp**
 * Wednesday - **Tic Tac Toe Board.cpp**
 * Thursday - **Word Jumble.cpp**

//__Goal__: Students will be able to write effective computer programs.// //__Goal__: Students will understand how to use algorithms to write programs to solve problems.// //__Objective__: Create programs in Scratch that can be an animation, a story, a simulation, or a game.// @http://www.pacomputerfair.org/ Tri-fold board requirements. __Movie File__: Use screen video capture software to make a movie of you running your program. Work on project. Keep notes for your storyboard/flowchart.... Work on chapter 4. __Reflection__: Progress log and self-evaluation.
 * Monday - Monday, March 12 - April 2, 2012**
 * Title
 * Pictures of Scripts
 * Narrative
 * Directions
 * Picture of yourself
 * Flowchart/Storyboard

//__Goal__: Students will be able to write effective computer programs.// //__Goal__: Students will understand how to use algorithms to write programs to solve problems.// //__Objective__: Create programs in Scratch that can be an animation, a story, a simulation, or a game.// @http://www.pacomputerfair.org/ __Paper and Pencil__: **Computer Fair Application** __Stapled Packet__: Go over **Summary/Narrative** requirements. Work on project. Keep notes for your storyboard/flowchart.... Work on chapter 3. __Reflection__: Progress log and self-evaluation.
 * Monday - Thursday, March 5-8, 2012**
 * Rough draft of narrative due on Wednesday March 7, 2012.**

//__Goal__: Students will be able to write effective computer programs.// //__Goal__: Students will understand how to use algorithms to write programs to solve problems.// //__Objective__: Create programs in Scratch that can be an animation, a story, a simulation, or a game.// @http://www.pacomputerfair.org/ Work on project. Keep notes for your storyboard/flowchart.... Work on chapter 3. __Reflection__: Progress log and self-evaluation.
 * Friday - Friday, February 17 - March 2, 2012**
 * Rough draft of narrative due on Wednesday March 7, 2012.**

//__Goal__: Write effective computer programs.// //__Goal__: Develop algorithmic thinking.// //__Objective__: Create programs in Scratch that can be an animation, a story, a simulation, or a game.// @http://www.pacomputerfair.org/ __Analyze__: Seats.sb __Demonstrate and Discuss__: Lists Progress log and self-evaluation
 * Thursday February 16, 2012**

//__Goal__: Write effective computer programs.// //__Goal__: Develop algorithmic thinking.// //__Objective__: Create programs in Scratch that can be an animation, a story, a simulation, or a game.// @http://www.pacomputerfair.org/ __Analyze__: Sample Scratch programs Start storyboard, notes, and flowchart for computer fair project. Read copy of scales in your binder. Progress log and self-evaluation
 * Wednesday February 15, 2012**

//__Goal__: Write effective computer programs.// //__Goal__: Develop algorithmic thinking.// //__Goal__: Create programs in Scratch that can be an animation, a story, a simulation, or a game.// //__Goal__: Use while and do loops to repeat sections of code.// //__Goal__: Generate random numbers.// @http://www.pacomputerfair.org/ __Discussion__: Compare C++ with Scratch Read copy of scales in your binder. //__Goal__: Write effective computer programs.// //__Goal__: Develop algorithmic thinking.// //__Goal__: Create a program in Scratch that can be an animation, a story, a simulation, or a game.// //__Goal__: Use while and do loops to repeat sections of code.// //__Goal__: Generate random numbers.// @http://www.pacomputerfair.org/programming.html __Discuss__: Programming rules for computer fair. Read copy of scales in your binder. //__Goal__: Write effective computer programs.// //__Goal__: Develop algorithmic thinking.// //__Goal__: Create a program in Scratch that can be an animation, a story, a simulation, or a game.// //__Goal__: Use while and do loops to repeat sections of code.// //__Goal__: Generate random numbers.// @http://www.pacomputerfair.org/animation.html __Discuss__: Animation rules for computer fair. Put paper copy of scales in your binder.
 * Tuesday February 14, 2012**
 * Monday February 13, 2012**
 * Wednesday February 8, 2012**

//__Goal__: Understand truth as C++ defines it.// //__Goal__: Use if statements to branch to sections of code.// //__Goal__: Use switch statements to select a section of code to execute.// //__Goal__: Use while and do loops to repeat sections of code.// //__Goal__: Generate random numbers.// @http://www.brl.ntt.co.jp/people/hara/fly.swf __Read in Dawson book__: P. 66-69 **Summary, Questions and Answers, Discussion Questions, Exercises** __Paper and Pencil__: **Chapter 2 Review** 5 page packet __Program__: **MenuChooserEnum.cpp** __Extra Credit Program__: **ComputerGuessMyNumber.cpp** Follow the standard procedure for putting these in Word documents and testing them. **Include in your Word documents, explanations of what you learned from these programs.** Print. Upload to Gaggle. Print source code and output in the proper format. Fill out your progress log and self-evalution.
 * Tuesday January 31 - Tuesday February 7, 2012 (Review Chapter 2 of Dawson text)**

//__Goal__: Develop algorithmic thinking.// //__Goal__: Generate random numbers in C++.// //__Goal__: Write programs that use random numbers.// __Read in Dawson book__: P. 58-63 Generating Random Numbers __Program__: **DieRoller.cpp** P. 59 __Read__: P. 63 - 65 __Program__: **GuessMyNumber.cpp** Follow the standard procedure for putting these in Word documents and testing them. **Include in your Word documents, explanations of what you learned from these programs and these pages of reading.** Print. Upload to Gaggle. Print source code and output in the proper format. Fill out your progress log and self-evalution.
 * Monday January 30, 2012**

//__Goal__ : Develop algorithmic thinking.// //__Objective for Today__: Write a program that demonstrates the modulus operator.// What data type is necessary for using the modulus operator, %? __C++ Program__: **ConvertSeconds.cpp** Create a program in C++ in which the user inputs a number of seconds and the program outputs the number of hours, minutes, and seconds that it is equivalent to. Use the modulus operator, %, to calculate the remaining minutes and seconds. Print source code and output in the proper format. Fill out your progress log and self-evalution.
 * Thursday January 26, 2012**
 * **Input Seconds** || **Output**
 * Hours** || **Output Minutes** || **Output**
 * Seconds** ||
 * -1234 ||  ||   ||   ||
 * -1 ||  ||   ||   ||
 * 16888 || 4 || 41 || 28 ||
 * 7000 || 1 || 56 || 40 ||

//__Goal__ : Develop algorithmic thinking.// //__Objective for Today__: Write a program that demonstrates the modulus operator.// 1. What is the remainder of 10 divided by 3? 2. R = 12 % 7; What is stored in R? 3. Is 50 divisible by 15? __C++ Program:__**Divis.cpp** __Paper and Pencil:__ **Questions on Divis.cpp** Print source code and output in the proper format. Fill out your progress log and self-evalution.
 * Tuesday & Wednesday January 24 & 25, 2012**

//**Monday January 23, 2012**// __Goal__ : Develop algorithmic thinking. __Objective for Today__: Write a program that demonstrates the modulus operator. //Discuss what you remember about the modulus operator from Visual Basic with another student.// //Share with the class.// //__C++ Program:__**Mod.cpp** with bad data while loops and a continue while loop// //Directions in white binder.// //Print source code and output in the proper format.// //Fill out your progress log and self-evalution.//

//**Friday January 20, 2012**// __Goal__ : Develop algorithmic thinking. __Objective for Today__: Debug an existing program. //__Paper and Pencil__:// //1. Explain when and why you need to test more than one set of data when checking a program.// //__Program__: **SphError.cpp** // // This is a program to calculate the volume of a sphere. //

// I intentionally included quite a few errors in the program. Most of the errors are syntax errors that will result in error messages when you compile the program. There is at least one run-time error, which causes mistakes during the execution of the program. You must fix all of the errors. After you have fixed the errors and gotten the output results pictured on the direction paper in your notebook, save the final version of the program as **Sphere.cpp**. // // When you create the Word document with the source code and output, use ALL THE TEST DATA that I have provided. // Right click and save to the desktop. // [|SPHERROR.CPP]//

// Read page 2 of the directions for **SphError.cpp** - Sphere.cpp in the notebook. // // Discuss the integer, float, and division situation presented and discuss with another student what you need to do in future program to insure correct results. // // __Paper and Pencil__: // // 2. Write your explanation on paper. // //Share your conclusions with the class.// //Fill in your Progress Log and self-evaluate (in binder).....//

//**Tuesday - Thursday January 17 - 19, 2012**// __Goal__ : Develop algorithmic thinking. __Objective for Today__ : Assessment //Get binder and both books.// //Get into Gaggle.// //Sign petition at Google.com if interested.// //If you don't want the internet effectively censored you may sign the petition.// //Tuesday - __Open Book Test__: **Mid Term Exam Multiple Choice** (C++)// //Wednesday - __Open Book Test__: **Mid Term Exam Multiple Choice** (Word and Scratch)// //__Paper and Pencil__ :// //Fill in your Progress Log and self-evaluate (in binder).....//

//**Friday January 13, 2012**// __Goal__ : Develop algorithmic thinking. __Goal__ : Use 1-way and 2-way switch structures effectively. __Goal__ : Make programs user-friendly. __Objective for Today__ : Use appropriate structures for coding option buttons. __Objective for Today__ : Use show, hide, and if else. //Add to the Option Buttons sprite.// //Finish **NFL.sb** and check it thoroughly.// //__Scratch Filename__ : **NFL.sb** (Make sure to use the same x and y coordinates that I have shown in the scripts.)// //__Word Filename__: **NFL Your Name.docx**// //Make a Word document with our standard header and footer and pictures of your Scratch program. Follow the directions in the stapled packets. For more detailed instructions look in the red binder.// //When finished, have me check your Scratch program and give you permission to print your Word document.// //__Paper and Pencil__ :// //Fill in your Progress Log and self-evaluate (in binder).....// //Upload **NFL.sb** & **NFL Your Name.docx** to your Gaggle digital locker.//

//**Thursday January 12, 2012**// __Goal__ : Develop algorithmic thinking. __Goal__ : Use 1-way and 2-way switch structures effectively. __Objective for Today__ : Use appropriate structures for coding option buttons. __Objective for Today__ : Use show, hide, and if else. //Right click to save these to your desktop.// //[|Option Buttons.sprite]// //[|Title.sprite]// //[|Directions.sprite]// //[|AFC.sprite]// //[|NFC.sprite]// //[|Button.sprite]// //[|NFC List.sprite]// //[|AFC List.sprite]// //__Scratch Filename__ : **NFL.sb**// //**Improve the program by making 1 sprite for the lists that has 2 costumes: an AFC List costume and an NFC List costume. Adjust the scripts accordingly.**// //__Paper and Pencil__ :// //Fill in your Progress Log and self-evaluate (in binder).....// //Upload **NFL.sb** to your Gaggle digital locker.// //**Wednesday January 11, 2012**// __Goal__: Develop algorithmic thinking. Objective: Write programs that catch bad data. Objective: Use while loops to repeat sections of code. Objective: Use while loops to allow repeated testing of a program without rerunning it. Objective: Explain stated main ideas and relevant supporting details from text. (R11A2.4.1) //__Paper and Pencil__:// //Explain what is occurring in the While1.cpp program.//

//Finish back assignments.// //__Scratch Program__: **While1.sb**// //Create a Scratch program that works basically the same as the While1.cpp program.//

//Finish the **Questions on TrapArea.cpp** pages 1 to 4.//

//Fill out your progress log and self-evalution.//

//**Tuesday January 10, 2012**// __Goal__: Develop algorithmic thinking. Objective: Write programs that catch bad data. Objective: Use while loops to repeat sections of code. Objective: Use while loops to allow repeated testing of a program without rerunning it. Objective: Explain stated main ideas and relevant supporting details from text. (R11A2.4.1) //__Paper and Pencil__:// //1. In general, when would you use a while loop?// //2. What is a continue while loop?// //3. Write the bad data while loop that might follow these statements:// //cout << "What grade are you in? ";// //cin >> Grade;//

//__Program__: **While1.cpp**// //Directions in your binder// //You must type all the comments.//

//Finish the **Questions on TrapArea.cpp** pages 1 to 4.//

//__Paper and Pencil__:// //4. Explain what is occurring in the While1.cpp program.// //Print source code and output in the proper format for **While1.cpp**.// //Fill out your progress log and self-evalution.//

//**Thursday - Monday January 5 - 9, 2012**// __Goal__: Develop algorithmic thinking. Objective: Write programs that catch bad data. Objective: Use while loops to repeat sections of code. Objective: Use while loops to allow repeated testing of a program without rerunning it. //Open your binder to the directions for **TrapArea.cpp**//

//__Read__: **Explanations on New Topics Presented in TrapArea.cpp** at this link or in your binder.// //@http://www.scribd.com/full/45221279?access_key=key-1oca8mlimz2midyfy304//

//__Paper and Pencil__: **Questions on TrapArea.cpp** pages 1 to 4.//

//Finish the **Questions on TrapArea.cpp** pages 1 to 4.// //Fill out your progress log and self-evalution.//

//**Tuesday & Wednesday January 3 & 4, 2012**// __Goal__: Write a program that uses counters. __Goal__: Write programs with strings and logical operators. //__Read:__ Pages 49 through 52.// //__C++ Program__: **FinickyCounter.cpp**// //Follow the standard procedure for putting it in a Word document and testing it.// //** Include in your Word document, an explanation of what you learned from this program and these pages of reading. **// //Print.// //__Read:__ Pages 52 through 58.// //__C++ Program__: **DesignersNetwork.cpp**// //Follow the standard procedure for putting it in a Word document and testing it.// // **Include in your Word document, an explanation of what you learned from this program and these pages of reading.** // //Print.// //Upload to Gaggle.// //Fill out your progress log and self-evalution.//

//**Friday December 23, 2011**// __Goal__: Use if switch statements to select a section of code to execute. __Goal__: Us while and do loops to repeat sections of code. //Google doc form questions.// //Finish previous assignments.// //__Scratch Programs__: MerryChristmas.sb, Presents.sb, XmasTreeLights.sb, Snowball.sb or your own.// //Make them better than the one in the directions.// //__Optional:__ Make a **greeting card** in MicroSoft **Publisher**// //Print source code and output in the proper format.// //Upload to your gaggle digital locker.// //Log your progress and rate yourself on the scale in your binder.// //Put your white binder and textbook away.// //**Wednesday & Thursday December 21 & 22, 2011**// __Goal__: Use if switch statements to select a section of code to execute. __Goal__: Us while and do loops to repeat sections of code. //Read in black paper back textbook:// //Chapter 2 Truth, Branching, and the Game Loop: Guess My Number// //P. 43 - 46//

//__C++ Program:__ **MenuChooser.cpp**// //Read: P. 46 - 48// //__C++ Program:__ **PlayAgain.cpp**// //Read: P. 48 - 50// //__C++ Program:__ **PlayAgain2.cpp**// //Print source code and output in the proper format.// //Upload to your gaggle digital locker.// //Log your progress and rate yourself on the scale in your binder.// //Put your white binder and textbook away.//

//**Tuesday December 20, 2011**// __Goal__: Use if statements to branch to sections of code. //__Read__ in black paper back textbook:// //Chapter 2 Truth, Branching, and the Game Loop: Guess My Number// //P. 35 - 41//

//__C++ Program:__ **ScoreRater.cpp**// //Read: P. 41 - 43// //__C++ Program:__ **ScoreRater2.cpp**// //Print source code and output in the proper format.// //Put your white binder and textbook away.// //Upload to your gaggle digital locker.// //Log your progress and rate yourself on the scale in your binder.//

//**Tuesday December 20, 2011**// __Goal__: Develop algorithmic thinking. __Goal__: Document programs. __Goal__: Use loops to repeat sections of code. //__Paper and Pencil__: Describe what you have accomplished so far on your binder journal pages.// //Make sure it is dated.// //SHOW AND TELL!!!!// //**Include comments and program notes in your Scratch program.**// //__Scratch Program:__ **TicTacToe.sb** or **your own idea**// //Create a simple version of these games in Scratch that other students could use.// //Upload to your gaggle digital locker.// //Log your progress and rate yourself on the scale in your binder.// //**Monday - Monday December 12 - 19, 2011**// __Goal__: Develop algorithmic thinking. __Goal__: Document programs. __Goal__: Use loops to repeat sections of code. //__Paper and Pencil__: Describe what you have accomplished so far on your binder journal pages.// //Make sure it is dated.// //SHOW AND TELL!!!!// //**Include comments and program notes in your Scratch program.**// //__Scratch Program:__ **TicTacToe.sb** or **your own idea**// //Create a simple version of these games in Scratch that other students could use.// //Upload to your gaggle digital locker.// //Log your progress and rate yourself on the scale in your binder.// //**Friday December 9, 2011**// __Goal__: Develop algorithmic thinking. __Goal__: Document programs. __Goal__: Use loops to repeat sections of code. //__Paper and Pencil__: Describe what you have accomplished so far on your binder journal pages.// //Make sure it is dated.// //Document your program with comments with scripts and project notes.// //Upload to your gaggle digital locker.// //Log your progress and rate yourself on the scale in your binder.// //**Thursday December 8, 2011**// __Goal__: Develop algorithmic thinking. __Goal__: Document programs. __Goal__: Use loops to repeat sections of code. //__Paper and Pencil__: Describe what you have accomplished so far on your binder journal pages.// //Make sure it is dated.// //SHOW AND TELL!!!!// //**Include comments and program notes in your Scratch program.**// //__Scratch Program:__ **TicTacToe.sb** or **your own idea**// //Create a simple version of these games in Scratch that other students could use.// //Upload to your gaggle digital locker.// //Log your progress and rate yourself on the scale in your binder.// //**Monday - Wednesday December 5 - 7, 2011**// __Goal__: Develop algorithmic thinking. __Goal__: Document programs. __Goal__: Use loops to repeat sections of code. //__Paper and Pencil__: Describe what you have accomplished so far on your binder journal pages.// //Make sure it is dated.// //**Include comments and program notes in your Scratch program.**// //__Scratch Program:__ **TicTacToe.sb** or **your own idea**// //Create a simple version of these games in Scratch that other students could use.// //Upload to your gaggle digital locker.// //Log your progress and rate yourself on the scale in your binder.//

//**Tuesday - Friday November 29 - December 2, 2011**// __Goal__: Develop algorithmic thinking. __Goal__: Use loops to repeat sections of code. //__Paper and Pencil__: Describe what you have accomplished so far on your binder journal pages.// //Make sure it is dated.// //Discuss possible ways to make these games in Scratch.// //__Scratch Program:__ **TicTacToe.sb** or **Dots.sb** or **your own idea**// //Create a simple version of these games in Scratch that other students could use.// //Upload to your gaggle digital locker.// //Log your progress and rate yourself on the scale in your binder.//

//**Tuesday & Wednesday November 22 & 23, 2011**// __Goal__: Develop algorithmic thinking. //Play tic tac toe.// //Play connect the dots.// //Discuss possible ways to make these games in Scratch.// //__Scratch Program:__ **TicTacToe.sb** or **Dots.sb** or **your own idea**// //Create a simple version of these games in Scratch that other students could use.// //Upload to your gaggle digital locker.//

//**Monday November 21, 2011**// __Goal__: Repeat sections of code. __Goal__: Allow programs to rerun with the use of a continue while loop. __Goal__: Use an incrementing counter. //Discuss reinitializing a counter.// //__C++ Program:__ **TrapArea.cpp**// //Add additional bad data counters so that the program counts bad data for each variable separately and so that it has a subtotal for each separate trapezoid and a total for all trapezoids.// //Test it and have Miss Hangen test it.// //Do NOT make a Word document.// //Upload TrapArea.cpp to your gaggle digital locker.// //Put your binder and textbook on table at side of room.// //**Thursday & Friday November 17 & 18, 2011**// __Goal__: Repeat sections of code. __Goal__: Allow programs to rerun with the use of a continue while loop. __Goal__: Use an incrementing counter. //__Finish__: **TrapArea.cpp**// //__C++ Program:__ **TrapArea.cpp**// //Add a variable for counting how many times the using enters bad data.// //Use the incrementing operator with the variable.// //Output the final number of bad data attempts when the user is done running the program.// //Test it and have Miss Hangen test it.// //Do NOT make a Word document.// //Upload TrapArea.cpp to your gaggle digital locker.// //Put your binder and textbook on table at side of room.// //**Wednesday November 16, 2011**// __Goal__: Repeat sections of code. __Goal__: Allow programs to rerun with the use of a continue while loop. //Save your **Blank.cpp** to your desktop with the name **TrapArea.cpp**// //Change the occurrences of Blank to TrapArea.// //Update the date and other documentation.// //__C++ Program:__ **TrapArea.cpp**// //Directions in binder.// //Test all of the data provided.// //__Word Filename__: **TrapArea.cpp**// //Print TrapArea.docx// //Upload TrapArea.docx and TrapArea.cpp to your gaggle digital locker.// //Put your binder and textbook on table at side of room.// //**Thursday - Tuesday November 10-15, 2011**// __Goal__: Increment and decrement variables. __Goal__: Write and debug a simple program. //Pick a partner to work with for today only.// //Save your Word document template to the desktop with the filename: **Ch1.docx**// //Only 1 file per pair needed, so make sure both of your names are on the document and both of you contribute.// //Change the title to **Chapter 1 Discussion Questions and Exercises**.// //__Word Filename:__ **Ch1.docx**// //**P. 32 Discussion Questions 1-5**// //In the Word document, type the answers to the Discussion Questions on page 32, by starting with a restatement of each question as part of your answers.// //**P. 33 Exercises 2-3**// //Include pictures of your source code and your output for # 3, and explain how you know your output is correct.// //Print Ch1.docx// //Upload Ch1.docx and your program to your gaggle digital locker.// //Put your binder and textbook on table at side of room.//

//**Friday November 4, 2011**// __Goal__: Declare variables and define constants with appropriate data types and correct syntax. __Goal__: Increment and decrement variables. __Goal__: Declare enumerated types. //Read pages 25 - 26 in the black textbook.// //__Program__: **GameStats3.cpp** P. 26// //__Word File__: **GameStat3.docx**// //__Read__: P. 27 - 30.// //__Program__: **LostFortune.cpp** P. 28- 30.// //__Word File__: **LostFortune.docx**// //Print source code and output in the proper format.// //Put your binder and textbook on table at side of room.// //**Wednesday & Thursday November 2 & 3, 2011**// __Goal__: Declare variables and define constants with appropriate data types and correct syntax. //Read pages 21 - 24 in the black textbook.// //__Program__: **GameStats2.cpp** P. 21 - 22.// //__Word Files__: **GameStat2.docx**// //Print.// //Continue through Chapter 1.// //Put your binder and textbook on table at side of room.//

//**Monday October 31 and Tuesday November 1, 2011**// __Objectives__: Display output in console window. Perform arithmetic computations. Use variables to store, manipulate, and retrieve data. Get user input.// Watch Google video. __Read in Black Book__: pages 1 - 21 __Program__: **GameStat.cpp** P. 14 - 15. __Word Files__: **GameStat.docx** Print. Continue through Chapter 1. Put your binder and textbook on table at side of room.

//__Objective__: Declare variables and define constants with appropriate data types and correct syntax.// What is the difference between the **int** data type and the **char** data type? __Paper and Pencil__: **Ch. 4 Variables and Constants Questions pages** 1-7 __Programs__: **Complete.cpp** and **Analyze.cpp** from pages 4 and 6 of the questions pages. __Word Files__: **Complete.docx** and **Analyze.docx** Print. Put your black binder and textbook away.
 * Tuesday - Thursday, October 18 - 27, 2011**
 * char** should be used only for what?

//__Objective__: Declare variables and constants with the correct data types.//
 * Friday & Monday October 14 & 17, 2011**

__Paper and Pencil:__ **Chapter 4 Summary Questions** This is in your notebook. Refer to page 66 in the green and gold textbook. __Filename__: **DataType.cpp** (directions in black binder) Print source code and output in the proper format, after you get permission.

Trade places with another student to check each others program using the picture on page 3 of the directions. Discuss with each other what needs to be fixed, and make the corrections. Upload to your Gaggle digital locker. Turn in papers.

//__Objective__: Write programs that catch bad data.// //__Objective__: Use while loops to repeat sections of code.// Save your **Blank.cpp** program from Gaggle to your desktop with the filename, **Divide.cpp**
 * Thursday October 13, 2011**

__C++ Program:__ **Divide.cpp** Read and follow all directions on the 3 pages **Divide.cpp Formal Paired Assessment**. __Word Filename__: **Divide.docx** Print source code and output in the proper format, after you get permission. Upload to your Gaggle digital locker.

//__Objective__: Write programs that catch bad data.// //__Objective__: Use while loops to repeat sections of code.// Save your **Travel.cpp** program from Gaggle to your desktop.
 * Friday October 7, 2011**

__C++ Program:__ **Travel.cpp** with bad data while loops Read and follow all directions on the 4 pages **Travel.cpp Inserting a Bad Data While Loop**. Print source code and output in the proper format, after you get permission. Upload to your Gaggle digital locker.

Thursday October 6, 2011
//__Objective__: Write a program to calculate the area of a rectangle, when the user provides the length and width.//

Watch Steve Jobs videos.

Open Blank.cpp from Gaggle and save it to the desktop, but change the name to RectArea.cpp __C++ Filename__: **RectArea.cpp** Change the parts of the program from Blank to RectArea. Code a program that will accept a floating point number for the length of a rectangle and a floating point number for the width of a rectangle, and output the results. Test the program. __Word Filename__: **RectArea.docx** Save a Word document to the desktop with the name **RectArea.docx**. Put a screen shot of your program and a screen shot of the test data output on the RectArea.docx file. Upload **RectArea.cpp** and **RectArea.docx** to your Gaggle digital locker. Delete files from desktop. Empty the recycle bin. Print your program with Miss Hangen's permission.

Tuesday October 4, 2011
__Objectives__: Analyze, modify, and debug programs. __Goals for today__: Enter YourAge.cpp into C++ from the adjustments you made on the assignment sheet.

Type the program, **YourAge.cpp** as you corrected on page 2 of the packet.
 * Do Now: **

__C++ Filename__: **YourAge.cpp** __Word Filename__: **YourAge.docx** Put a picture of your source code in the Word document. Use **Alt Print Screen** to take a picture of just the output window. Paste it into **Paint** Choose **Image** - **Invert Colors** Copy the output region and paste it into your Word document. Get permission to print.
 * 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.

Monday October 3, 2011
__Objectives__: Understand the basics of entering, compiling, and running a simple C++ program. __Goals for today__: Read and answer questions on Ch. 3

Read Ch 3 in the green and gold textbook.
 * Do Now: **

__Handout__: **Ch. 3 Entering, Compiling, and Running a Program, Questions**
 * Assignment: **

Turn in your papers.
 * Ticket out Door: **

Friday September 30, 2011
__Objectives__: Understand input, output, and assignment statements. Use headers, footers, and multiple software programs to make a final product. __Goals for today__: Create a C++ program that demonstrates input and output. Create a Word document with headers, footers, and pictures of your source code and output for Input.cpp.

Go to Gaggle.net and get to your digital locker.
 * Do Now: **
 * Save** Blank.cpp and Blank.docx to the desktop. After the downloads are complete, open them.

Debug and test YourAge.cpp thoroughly. __C++ Filename__: **Travel.cpp** __Word Filename__: **Travel.docx** Compile and run Blank.cpp Use **Alt Print Screen** to take a picture of just the output window. Paste it into **Paint** Choose **Image** - **Invert Colors** Copy the output region and paste it into your Word document. Get permission to print.
 * 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 29, 2011
__Objectives__: Understand input and output. Use headers, footers, and multiple software programs to make a final product. __Goals for today__: Create a C++ program that demonstrates input and output. Create a Word document with headers, footers, and pictures of your source code and output for Input.cpp.

Go to Gaggle.net and get to your digital locker.
 * Do Now: **
 * Save** Blank.cpp and Blank.docx to the desktop. After the downloads are complete, open them.

Follow the directions as Miss Hangen demonstrates. __C++ Filename__: **Blank.cpp** __Word Filename__: **Blank.docx** Compile and run Blank.cpp Use **Alt Print Screen** to take a picture of just the output window. Paste it into **Paint** Choose **Image** - **Invert Colors** Copy the output region and paste it into your Word document. Get permission to print.
 * Activity: **

**Assignment:** Finish **Input.cpp** according to directions in the black binder. Create **Input.docx** in the same fashion as Blank. Get permission to print.

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.

Wednesday September 28, 2011
__Objectives__: Use headers, footers, and multiple software programs to make a final product. __Goals for today__: Create a Word document with headers, footers, and pictures of your source code and output for Blank.cpp.

Go to Gaggle.net and get to your digital locker.
 * Do Now: **
 * Save** Blank.cpp it to the desktop. After the download is complete, open it.

Follow the directions as Miss Hangen demonstrates. __C++ Filename__: **Blank.cpp** Add extra lines. __Word Filename__: **Blank.docx** Create our standard header and footer, using the directions, **Header and Footer** in the red binder. Take a screen shot, with **Print Screen**, of your C++ page and paste it into **Paint**. Select the rectangular region with the source code. Copy it, and paste it into your Word document.
 * 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 September 27, 2011
__Objectives__: Understand input and output. __Goals for today__: Create a C++ program that demonstrates input and output.

Go to Gaggle.net and get to your digital locker.
 * Do Now: **
 * Save** Blank.cpp it to the desktop with the name **Input.cpp**. After the download is complete, open it.

Follow the directions as Miss Hangen demonstrates. __C++ Filename__: **Input.cpp** 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__: Code your first C++ program. __Goals for today__: Make a blank template for C++ source code files.

Look through the menu items of Dev-C++
 * Do Now: **

Follow the directions as Miss Hangen demonstrates. __C++ Filename__: **Blank.cpp**
 * 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.

September 22, 2011
Do Now: Seating Chart Demonstrations of you Alice projects.

**September 2011**
Alice Tutorials Do your own experimentation in Alice.

September 1, 2011
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. Tell your homeroom teacher you are present, then leave JP so you will arrive promptly.

Have a great day of learning! :-)