QT1

=Computer Programming II (C++) CS702 Period 8=

Marking Period 1
//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.
 * Wednesday - Monday November 3-8, 2010**
 * char** should be used only for what?

Put your white binder and textbook away.

//Objective: In Scratch, make multiple versions of a sprite efficiently.// What is your understanding of symmetry? Scratch Program: **SpinningGuy.sb** (directions in white notebook)
 * Thursday October 28, 2010**

Upload to your Gaggle digital locker.

//Objective: Declare variables and constants with the correct data types.// //Initializes and assign values to variables.//
 * Wednesday October 27, 2010**


 * Vote for McCaskey vs Manheim Township for Football Frenzy**
 * [|http://Fox43.com]**

Program: **Proj4Two.cpp** (directions in white notebook)

Turn in the Word document with **Proj4Two.cpp** source code and output.

//Objective: Declare variables and constants with the correct data types.// //Initializes and assign values to variables.//
 * Monday & Tuesday October 25,26, 2010**


 * Paper and Pencil:** Give 2 reasons for declaring variables with the appropriate data type.
 * Vote**: www.hsfootballfrenzy.com

Program: **AssignCV.cpp** (directions in white notebook)

Turn in the Word document with **AssignCV.cpp** source code and output.

//Objective: Declare variables and constants with the correct data types.//
 * Friday October 22, 2010**

This is in your notebook. Refer to page 66 in the green and gold textbook. DataType.cpp (directions in white notebook)
 * Paper and Pencil:** Chapter 4 Summary Questions

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. Turn in papers.


 * Wednesday & Thursday October 20, 21 2010**

//Objectives: Using a template.//

Go over using your templates for **IDeclare.cpp**. Go over using your templates for **Circle.cpp**.
 * Paper and Pencil:** Define template. Define efficient.

Turn in papers.


 * Tuesday October 19, 2010**

//Objectives: Understand data types. Declare and use variables and constants of the appropriate data types.// //Determine the correct data type for the situation. Use proper syntax when declaring.//

Refer to pages 60-64 in the green and gold text book. Problems 1 - 5 on page 1. Handout: Questions on Using Variable and Constants Problems 1- 5 on page 2. Go over using your templates for IDeclare.cpp.
 * Handout:** Questions on Using Variable and Constants
 * Read pages 64 to 66 in the green and gold text book.**

Turn in papers.


 * Monday October 18, 2010**

//Objectives: Understand data types. Declare and use variables and constants of the appropriate data types.// //Determine the correct data type for the situation.//


 * Read in the green and gold book:** P. 55 - 64

Directions in notebook.
 * Program**: IDeclare.cpp

Make a Word document with your program and output, following your template. Turn it in. Upload IDeclare.cpp to your digital locker.


 * Friday - Friday October 8 - 15 2010**

//Objective: Understand entering, compiling, and running a program through reading and debugging.//

Make a **Word** document called **YourAge.docx** with screen shots of source code and output. Include the header and footer from the **Template.docx**.
 * Program:** YourAge.cpp from page 2 of yesterday's assignment.


 * Program**: Travel.cpp

Directions in notebook. Make a **Word** document called **Travel.docx** with screen shots of source code and output. Include the header and footer from the **Template.docx**.

Turn in 3-page packet. Turn in YourAge and Travel.

//Objective: Understand entering, compiling, and running a program through reading and debugging.// Read Chapter 3 in green and gold textbook. P. 43 - 53
 * Thursday October 7, 2010**
 * Reading:**


 * Paper and Pencil:** Ch. 3 Entering, Compiling, and Running a Program Questions

Turn in your 3 pages.


 * Tuesday & Wednesday October 5,6, 2010**

//Objective: Write a C++ program to calculate the area of a rectangle, when the user provides the length and width.// //Objective: Write a Scratch program to calculate the area of a rectangle, when the user provides the length and width.//

Make sure that you have Input.cpp finished and printed. Make sure you have Template.docx finished and printed.



Program: **RectArea.cpp** Follow the Template.docx and put in the source code and output for RectArea.cpp and save with the filename, RectArea.docx. Program: **RectArea.sb** Create a the **RectArea.sb** program in Scratch, according to the directions in the white notebook. Take a screen shot of the script and the final view of the program and paste them into the your RectArea.docx file, so that it contains both RectArea.cpp and RectArea.sb.

Get permission to print **RectArea.docx.** Upload all your files to you Gaggle digital locker.


 * Monday October 4, 2010**

//Objective: Create a template to use when starting C++ programs.// //Objective: Write a program to calculate the area of a rectangle, when the user provides the length and width.//

Open Input.cpp and change it into a template called, Blank.cpp Upload Blank.cpp to your Gaggle digital locker.

Open Blank.cpp from Gaggle and save it to the desktop, but change the name to RectArea.cpp Program: **RectArea.cpp** Change the parts of the program from Blank to RectArea. Write the program. Test the program.

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. //Objectives: Analyze your first C++ program.// Get into Gaggle. Save Input.cpp to your desktop. Save Input.docx to your desktop.
 * Thursday September 30 & Friday October 1, 2010**

Program: **Input.cpp** Word File: **Input.docx** Use PrintScreen to get a screen shot of your source code. Paste it into Word. Crop to just the code. Save the file as Input.docx Run the program and enter the test data. Use Alt PrintScreen to get a picture of the output window. Paste it into Paint and use Image - Invert colors. Select and copy the output and paste it into your Word document. Include our standard header and footer. Get permission to print it from Miss Hangen.

Save to the desktop, upload Input.cpp to your Gaggle digital locker. Delete files from desktop. Empty the recycle bin. Print your program with Miss Hangen's permission.
 * Paper and Pencil:** On your printout, identify parts of the program and necessary C++ syntax.

//Objectives: Create your first C++ program.// Remind yourself of the the concepts of Input-Process-Output, variables, and variable declarations in Visual Basic and Scratch.
 * Tuesday & Wednesday September 28, 29 2010**

Program: **Input.cpp** Save to the desktop. Documentation through comments starting with 2 slashes//.// compiler directive syntax cout, cin

Save to the desktop, upload Input.cpp to your Gaggle digital locker. Delete files from desktop. Empty the recycle bin.

//Objectives: Create a Scratch program that demonstrates the use of string variables, input, concatenation, and output.//
 * Monday September 27, 2010**

Look up the definition of concatenate online and write it on the back of you paper.
 * Paper and Pencil:**

Program: **Concatenation.sb** Save to the desktop Variable Declaration Input Process - Concatenation of strings Output Upload to Gaggle



Label the 2nd through 6th pictures of the stage as input or output. Identity where you can see what is in computer memory in the variables.
 * Paper and Pencil:** Identify where input occurs and where output occurs in this program's script, on your paper.

//Objective: Make a program based on a problem description.//
 * Friday September 24, 2010**

Scratch Program: **Input.sb**

//Objective: Use meaningful identifiers (variable names, sprite names).// Write 3 lines in 3 minutes about the significance of appropriate sprite names.
 * Thursday September 23, 2010**
 * Paper and Pencil:**

Update your program to include meaningful sprite names. Decide what other improvements you want to make to your program.

List your new and improved sprite names. If you made a game that has user input, how can you score the game?
 * Paper and Pencil:**

//Objective: Demonstrate programming concepts learned last year, by producing a Scratch program.// In the future, who would you feel you could work with the best on a pair or group project? Why?
 * Thursday - Wednesday September 16-22, 2010**
 * Paper and Pencil:**

Groups present Analyses of programs

What concepts from computer programming do you remember better now that you saw other students' presentations?
 * Paper and Pencil:**

How did you decide what to do for your programming concept demonstration?
 * Tuesday & Wednesday September 14, 15 2010**
 * Do Now:**

Finish your Scratch program.
 * Assignment:**

Prepare an explanation of the programming concept that you will read to the class. Type it in MS Word and save it with the filename ProgrammingConcept.docx

Upload ProgrammingConcept.sb and ProgrammingConcept.docx to your Gaggle digital locker.

Describe your thinking process for doing today's assignment.


 * Monday September 13, 2010**

1. Your Name 2. Partner's Name 3. What concept are you assigned to demonstrate with a Scratch program?
 * Do Now:**

Work with your partner on the Scratch demonstration of your programming concept. Save to the desktop, upload to your Gaggle digital locker. Delete off desktop and empty the recycle bin.
 * Assignment:**

Explain what you have done & how it demonstrate your assigned concept.
 * Ticket out Door:**