Sunday, October 31, 2010

Monday, November 1, 2010

Dear Class:

We left off, I believe, on page 47, with code list 3-4 which had to do with the dividend, divisor, quotient, and remainder. Remember, by using the modulus operator, any fractional part of the remainder will be provided whereas with the integer that fractional part may be lost.

I do want to look at the basic parts of the C++ program so that you are clear as to what each part does so that if you had a quiz, you would do well.

Page 48 does the same program but instead of 4 variables and nine program statements, it does two variables and seven statements. We will briefly look at that. We will answer checkpoint section together on page 49. We continue to 50 with the counting by one and the order of operations. Write the program on page 51 code list 3-6.

That should bring us up to the end. If not, we will continue on lesson 3.

Sincerely,
Mr. Green-Hite

Wednesday, October 27, 2010

Wednesday, October 27, 2010

Dear Class:

We will continue with Chapter 3. These are more of a review of math with a few new twists to the standard operations of addition, subtraction, multiplication, and division. There will be the modulus which will include the leftover. We will just continue in Chapter 3 from there. Page 44 we will look at the code list 3-2 but we will not do it. We will look closely, however, at page 45, because of the "statements" and "results". Together, do code list 3-3 on page 46. We will continue from there.

Sincerely,
Mr. Green-Hite

Sunday, October 24, 2010

Monday, October 25, 2010

Dear Class:

We move into Math Operations for Chapter 3. These are more of a review of math with a few new twists to the standard operations of addition, subtraction, multiplication, and division. There will be the modulus which will include the leftover. I want to look particularly a page 45 and the using of arithmetic operators. I want to do the "Bus Trip" program. It is more advanced but I think it important that you see what a simple operator can do. We will just continue in Chapter 3 from there.

Sincerely,
Mr. Green-Hite

Wednesday, October 20, 2010

Wednesday, October 20, 2010

Dear Class:

Please enter, compile, and run Project 2-2 on page 40. We will do this one together. This Project combines the constant and variable declarations and initialization.

As a quiz, I want you to do Activity 2-1 on your own. This will count as the exit quiz for Chapter 2.

We move into Math Operations for Chapter 3. These are more of a review of math with a few new twists to the standard operations of addition, subtraction, multiplication, and division. There will be the modulus which will include the leftover. I want to look particularly a page 45 and the using of arithmetic operators. I want to do the "Bus Trip" program. It is more advanced but I think it important that you see what a simple operator can do. We will just continue in Chapter 3 from there.

Sincerely,
Mr. Green-Hite

Sunday, October 17, 2010

Monday, October 18, 2010

Dear Class:

Good day to you! We will begin with looking and naming variables. To initialize a variable you simply assign it a value. You must declare a variable before you can use it. On page 29-30, there are examples of keywords and improper C++ variable identifiers. Check out the character and equivalent decimal value located on page 30.

Do 2-1 in book on page 27 and then do the step by step 2-2. Do step 2-3 on page 29 and check if there is a difference? We need to look at Floating Point Variables, Boolean Variables (I talked of last time), and Constants. Do code list 2-3 on Page 34. Do code list 2-4 on page 36.

Finally, please enter, compile, and run Project 2-2 on page 40. This will probably bring us to the end of the class.

Sincerely,
Mr. Green-Hite

Thursday, October 14, 2010

Dear Class:

We will work on the Gas per Mileage program. This program should, if you complete it, tell you what your gas mileage is and how much it is per mile for gas. We will look at some of the vocabulary and make sure you reinforce it because we will have a test on it later!

When you finish the above assignment, please change the background and font of the finished run set and then take a snapshot of the screen. Copy and paste into a word document and print it out. Make sure it includes your name, class, and period.

Sincerely,
Mr. Green-Hite

Sunday, October 10, 2010

October 11, 2010

Dear Class:

We will be looking in the book to Chapter 2. We will be starting the class by doing the "I can count" program. It is simple but you need to practice these programs to get them to work properly. Make sure you understand the five parts of the basic structure of a C++ program: 1) Compiler directive #include, 2) Main Function, 3) Braces to mark the beginning and end 4) Statement followed by a ; last statement is return 0; and 5) can also have comments which are ignored by the compiler but necessary to the programmer.

I want to do the "Finding Binary Numbers for Letters" program.

We will be talking about the five basic data types: int, Float, Double, char, and void. Assignment statements. These will be important in the developing an algorithm and coding the problem. This will take us into the first half of Chapter 2. We will look at this together!

Sincerely,
Mr. Green-Hite

Wednesday, October 6, 2010

Dear Class:

We go to the book room at the beginning of class and pick up books. We are more or less done with the first chapter in the book and did "Hello World".

Continuing with Binary numbers. You will be finishing the table with the powers of 2 from 0 to 7. With that, we will determine a series of numbers and their equivalent values are according to binary.

I will then give you a a list of binary codes that you will be translating the following "My name is ....". When you finish this, please put it below the above table, put your name on the top, print it out, and then hand it in.

Sincerely,
Mr. Green-Hite

Monday, October 4, 2010

Monday, October 4, 2010

Dear Class:

Today, we will take a few more note on your C++ notes document. We will finish the "Hello World!" and make sure that we figure out any "bugs" it has.

I hope to go to the book room today and get the text entitled Introduction to Computer Science Using C++ 3rd edition.

We will look at binary numbers (machine language) as well but toward the last part of class.

Sincerely,
Mr. Green-Hite