QT2

=Period 8 Computer Programming II in C++ -- 2nd Marking Period=

**Assessment:** Type your name in the block. Enter the answers from your paper into this quiz to find out your score. When you are finished check the correct answers. media type="custom" key="5211361"  Read P. 63 - 65 GuessMyNumber.cpp
 * Friday 1/22/10**
 * MidTerm Exam: Multiple Choice**
 * Program:**

** MidTerm Exam: Multiple Choice
 * Thursday 1/21/10**
 * Assessment:


 * Wednesday 1/20/10**
 * Read in Dawson book:** P. 58-63 Generating Random Numbers
 * Program:** DieRoller.cpp p. 59

**Friday & Tuesday 1/15, 19/10 Do Now: **  Columns.cpp TaxTotal.cpp Have me check this when you are ready.
 * Assignment:**

Do Now: ** Review your **coutsetf.cpp** program and your **Percent.cpp** programs specifically looking for formatting of so the output displays 2 decimal places for money. Change setting in computer to make DevC++ the default. You will need to do this at the beginning of the period, everyday.
 * Tuesday - Thursday 1/12 - 14/10

** TaxTotal.cpp Directions in your notebook.
 * Program:
 * Ticket out Door: **

Do Now: ** Discuss notes ** Evaluating Control Expressions with Relational and Logical Operators
 * Monday 1/11/10
 * Assignment:

Paper and Pencil: Which Tutorials have you completed? What are the file names you have them saved as in your Gaggle digital locker? Continue with the Alice.exe Tutorials. **Discussion:** Future classes
 * Friday 1/8/10**
 * Do Now: **
 * Assignment: **

**Assignment:** Alice.exe Tutorials Make sure you have done the 4 provided in Alice, then continue with the tutorials in the black notebook.
 * Monday - Thursday 1/4-7/09**

**

Tuesday & Wednesday 12/22,23/09 Assignment: ** Alice.exe Tutorials


 * Friday & Monday 12/18, 21/09**


 * 1) <span style="color: #000000; font-family: Arial,Helvetica,sans-serif;">Save this file to your desktop. [[file:AssignCPPSyntaxMoneyPercentBlocks.doc]]
 * 2) Put your name in the header.
 * 3) Type the formula in C++ syntax in the box. Use the variables as they appear in the declarations provided.
 * 4) Save and upload to your Gaggle digital locker.
 * 5) While you still have the document on your desktop and are finished, have Miss Hangen come to your computer to check it.

Be prepared for me to check your other programs during the period.
 * Thursday 12/17/09**
 * Continue to work on your TempConvert.cpp program.

Wednesday 12/16/09**


 * <span style="color: #000000; font-family: 'Comic Sans MS',cursive;">Do Now: **


 * 1. What does 9/5 evaluate to in C++? ||
 * 2. What does 9.0/5.0 evaluate to in C++? ||
 * 3. Solve the formula F = 9/5 C + 32 for C. ||
 * 4. What data type is used for a single character such as Y, N, C, F, c or f? ||
 * 5. What structure is good for catching bad data? ||
 * 6. What branching structure is useful for deciding between 2 courses of action? ||

Make the **TempConvert.cpp** program **better** by having it ask the user whether the conversion is from Celius to Fahrenheit or vice versa and then do the correct conversion.
 * <span style="color: #000000; font-family: 'Comic Sans MS',cursive;">Assignment: **

**Do Now:**
 * Monday and Tuesday 12/14,15/09**


 * 1) <span style="color: #000000; font-family: Arial,Helvetica,sans-serif;">Save this file to your desktop. [[file:AssignCPPSyntaxASMDParenBlocks.doc]]
 * 2) <span style="color: #000000; font-family: Arial,Helvetica,sans-serif;">Put your name in the header.
 * 3) Type the formula in C++ syntax in the box. Use the variables as they appear in the declarations provided.
 * 4) Save and upload to your Gaggle digital locker.
 * 5) While you still have the document on your desktop and are finished, have Miss Hangen come to your computer to check it.

Program: **TempConvert.cpp** Write a program to accept a temperature in degrees Celsius from the user and calculate and output the equivalent temperature in degrees Fahrenheit.
 * <span style="color: #000000; font-family: 'Comic Sans MS',cursive;">Assignment: **


 * Start with Continue.cpp
 * Use appropriate variable and constant names
 * Use appropriate indenting
 * Test data:
 * Celsius || Fahrenheit ||
 * -40 || -40 ||
 * 0 || 32 ||
 * 100 || 212 ||
 * 37 || 98.6 ||
 * 25 || 77 ||
 * 2 || 35.6 ||
 * -4 || 24.8 ||
 * 5 || 41 ||
 * <span style="font-family: 'Comic Sans MS',cursive;">Ticket out Door: **
 * //Plan//** how you could make this program better.

<span style="color: #000000; font-family: 'Comic Sans MS',cursive;">Assignment: ** Program: **CoutSetF.cpp** Program**: PerCent.cpp** Directions in your notebook.
 * Thursday and Friday 12/10,11/09

<span style="color: #000000; font-family: 'Comic Sans MS',cursive;"> @http://computingcareers.acm.org/ Why choose computer science as a career?
 * Tuesday & Wednesday 12/8, 9/09**
 * <span style="color: #0000ff; font-family: 'Lucida Console',Monaco,monospace;">Computer Science Education Week -- The first one ever!!!! **

<span style="color: #000000; font-family: Arial,Helvetica,sans-serif;">Paper and Pencil: Finish **Questions on Section 5.1**
 * Do Now:**

Program: **VolBox.cpp** Directions in your notebook and the green and gold textbook.
 * <span style="color: #000000; font-family: 'Comic Sans MS',cursive;">Assignment: **

<span style="color: #000000; font-family: Arial,Helvetica,sans-serif;">**<span style="color: #000000; font-family: 'Comic Sans MS',cursive;">Do Now: ** <span style="color: #000000; font-family: Arial,Helvetica,sans-serif;">Paper and Pencil: Finish **Questions on Divis.cpp**
 * Monday 12/7/09**

<span style="color: #000000; font-family: Arial,Helvetica,sans-serif;">**<span style="color: #000000; font-family: 'Comic Sans MS',cursive;">Assignment: ** Read pages 70 - 76 in the green and gold textbook. Paper and Pencil: **Questions on Section 5.1**

<span style="color: #000000; font-family: Arial,Helvetica,sans-serif;">**<span style="color: #000000; font-family: 'Comic Sans MS',cursive;">Assignment: ** <span style="color: #000000; font-family: Arial,Helvetica,sans-serif;">Program: **Divis.cpp** 4 pages of directions are in your notebook. Paper and Pencil: **Questions on Divis.cpp** pages 1-5
 * Thursday & Friday 12/3,4/09**

Paper and Pencil: **Evaluation Control Expressions with Relational and Logical Operators** pages 1 to 9
 * Wednesday 12/2/09 (save for another time)**

<span style="color: #000000; font-family: Arial,Helvetica,sans-serif;">**<span style="color: #000000; font-family: 'Comic Sans MS',cursive;">Assignment: ** <span style="color: #000000; font-family: Arial,Helvetica,sans-serif;">Paper and Pencil: **If Else Activities with Examples** pages 1-6
 * Tuesday and Wednesday 12/1,2/09**

<span style="color: #000000; font-family: Arial,Helvetica,sans-serif;">**<span style="color: #000000; font-family: 'Comic Sans MS',cursive;">Assignment: ** <span style="color: #000000; font-family: Arial,Helvetica,sans-serif;">Program: **Travel.cpp** Add a Continue while loop to your program which should already have bad data while loops. Program: **Circle2.cpp** Add a Continue while loop to your program which should already have bad data while loops. Read: **Math Operations and Operator Notes** Program: **Mod.cpp**
 * Wednesday 11/25/09[[image:Turkey.PNG width="192" height="172" align="right" caption="Creative Commons"]]**
 * Make it better by adding the appropriate bad data while loop**.

<span style="color: #000000; font-family: Arial,Helvetica,sans-serif;"><span style="color: #000000; font-family: 'Comic Sans MS',cursive;">**Assignment:** <span style="color: #000000; font-family: Arial,Helvetica,sans-serif;">Program: **Subtract.cpp** Start with Continue.cpp to do a program for subtraction Program: **RectArea.cpp** Add a Continue while loop to your program which should already have bad data while loops.
 * Tuesday 11/24/09**

<span style="color: #000000; font-family: Arial,Helvetica,sans-serif;"><span style="color: #000000; font-family: 'Comic Sans MS',cursive;">**<span style="color: #000000; font-family: 'Comic Sans MS',cursive;">Do Now: <span style="color: #000000; font-family: Arial,Helvetica,sans-serif;"> ** Program: **Continue.cpp** Use this as a template when you start a program that needs to be tested with lots of different data.
 * Friday and Monday 11/20,23/09**

<span style="color: #000000; font-family: Arial,Helvetica,sans-serif;">Program: **SphError.cpp** This is a program to calculate the volume of a sphere.
 * Assignment:**

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**.

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. Share your conclusions with the class.
 * <span style="color: #000000; font-family: 'Comic Sans MS',cursive;">Ticket out Door: **

<span style="color: #000000; font-family: 'Comic Sans MS',cursive;">Assignment: ** Read pages 52 through 58.
 * Thursday 11/19/09
 * Program:** DesignersNetwork.cpp P. 54

<span style="color: #000000; font-family: Arial,Helvetica,sans-serif;">**<span style="color: #000000; font-family: 'Comic Sans MS',cursive;">Assignment: ** Read pages 49 through 52.
 * Wednesday 11/18/09**
 * Program:** FinickyCounter.cpp

<span style="color: #000000; font-family: Arial,Helvetica,sans-serif;"><span style="color: #000000; font-family: 'Comic Sans MS',cursive;">**Assignment:** <span style="color: #000000; font-family: Arial,Helvetica,sans-serif;"><span style="font-family: Verdana,Geneva,sans-serif;">Objective: Demonstrate a simple while loop and a simple do while loop. Program: **While1.cpp** Program: **DoWhile.cpp** <span style="color: #000000; font-family: 'Comic Sans MS',cursive;">**<span style="color: #000000; font-family: 'Comic Sans MS',cursive;">Ticket out Door: ** Explain the difference between a while loop and a do while loop. Type this in a Word document called PR2.doc and save it in your digital locker.
 * Monday and Tuesday 11/16,17/09**
 * Directions are in your white notebook.**

<span style="color: #000000; font-family: Arial,Helvetica,sans-serif;"><span style="color: #000000; font-family: 'Comic Sans MS',cursive;">**<span style="color: #000000; font-family: 'Comic Sans MS',cursive;">Do Now: ** <span style="color: #000000; font-family: Arial,Helvetica,sans-serif;"> Turn in all paper and pencil assignments that you have in your notebook or in your possession. <span style="color: #000000; font-family: Arial,Helvetica,sans-serif;"><span style="font-family: Verdana,Geneva,sans-serif;">Objective: Create programs that allow a repeat of the process without having to rerun the program by using a continue while loop. Program: **TriArea.cpp** with Continue while loop
 * Friday 11/13/09**
 * Assignment:**
 * Directions are in your white notebook.**

<span style="color: #000000; font-family: Arial,Helvetica,sans-serif;">**<span style="color: #000000; font-family: 'Comic Sans MS',cursive;">Assignment: ** <span style="color: #000000; font-family: Arial,Helvetica,sans-serif;"><span style="font-family: Verdana,Geneva,sans-serif;">Objective: Create programs that allow a repeat of the process without having to rerun the program by using a continue while loop. Program: **TrapArea.cpp** Read: **Explanations on New Topics Presented in TrapArea.cpp** Paper and Pencil Assignment: **Questions on TrapArea.cpp** pages 1 through 4.
 * Wednesday & Thursday 11/11, 12/09**
 * Directions are in your white notebook.**

<span style="color: #000000; font-family: 'Comic Sans MS',cursive;">Do Now: ** <span style="color: #000000; font-family: Arial,Helvetica,sans-serif;">Finish work from yesterday. <span style="color: #000000; font-family: Arial,Helvetica,sans-serif;"><span style="font-family: Verdana,Geneva,sans-serif;">Objective: Create programs that allow a repeat of the process without having to rerun the program by using a continue while loop. Program: **TrapArea.cpp** Read: **Explanations on New Topics Presented in TrapArea.cpp**
 * Tuesday 11/10/09
 * <span style="color: #000000; font-family: 'Comic Sans MS',cursive;">Assignment: **
 * Directions are in your white notebook.**

<span style="color: #000000; font-family: 'Comic Sans MS',cursive;">Do Now: ** <span style="color: #000000; font-family: Arial,Helvetica,sans-serif;">Finish work from yesterday. <span style="color: #000000; font-family: Arial,Helvetica,sans-serif;"><span style="font-family: Verdana,Geneva,sans-serif;">Objective: Insert bad data while loops in existing programs. Program: **Travel.cpp** Program: **Circle2.cpp** Program: **TriArea.cpp** Program: **RectArea.cpp**
 * Friday & Monday 11/6,9/09
 * <span style="color: #000000; font-family: 'Comic Sans MS',cursive;">Assignment: **
 * Directions are in your white notebook.**

Previous dates can be found on the QT1 page.