Wednesday, March 30, 2011

Wednesday, March 30, 2011

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.

Chapter 3

Sincerely,
Mr. Green-Hite

Sunday, March 27, 2011

Monday, March 28, 2011

Dear Class:

We will start and 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.

Chapter 3

Sincerely,
Mr. Green-Hite

Thursday, March 17, 2011

Thursday, March 17, 2011

Dear Class:

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

Monday, March 14, 2011

Tuesday, March 15, 2011

Dear Class:

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

Wednesday, March 9, 2011

Thursday, March 10, 2011

Dear Class:

Chapter 2
Binary Code


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

Monday, March 7, 2011

Tuesday, March 8, 2011

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.

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

Thursday, March 3, 2011

Friday, March 4, 2011

Dear Class:

We will be finishing the Travel program we started.

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