Tuesday, October 30, 2012

Wednesday, October 31, 2012

Dear Class: Happy Halloween!!!

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". I want to talk about Overflow and Underflow.
Together, do code list 3-4 on page 47. We will continue from there.
I talked about pages 54 and 55 regarding mixed data types and how it affects calculations. There is a reference to "promotion" and "typecasting". Read these two pages on your own. Please run and print and hand in. At times there will be a "truncated" issue with floating-point number. Read on your own page 56 and 57. Page 57 has the same code list, more or less, as page 55. Just look at that code and see what was changed and what it would do. Together, do code list 3-3 on page 46. We will continue from there. I want you to "copy" the review questions on page 62-63, 1-10 and 1-10, answer them, save on google docs, and put in your shared folder. Do project 3-1 and Project 3-4 and run them. I will check them on screen and then grade them.

Chapter 3

I want you to do the Menu that is linked. The links are Page 1 and Page 2


Chapter 3

Sincerely,
Mr. Green-Hite

Sunday, October 28, 2012

Monday, October 29, 2012

Dear Class:

You did the quiz which was the Activity 2-1 on your own. This will count as the exit quiz for Chapter 2. This is simply taking the English language equivalent and writing it in program language! Please pull it up on your screen so that I can grade it.

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" Page 1 and page 2 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 24, 2012

Wednesday, October 24, 2012

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" Page 1 and page 2 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, October 22, 2012

Monday, October 22, 2012

Dear Class:

Grades are done... hallelujah! Please check. I need some work from some of you from the database.

The first programs are 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 need to break down your programs.

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!

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

Wednesday, October 17, 2012

Wednesday, October 16, 2012

Dear Class:
Today, we will be adding to the notes on programming in general and C++ notes in particular in a google document. Share with me that google document by placing it in your shared folder. I want you to continue to work on the "Travel" program below and make sure that we figure out any "bugs" it has.

I will have a scan of parts of the text entitled Introduction to Computer Science Using C++ 3rd edition. This may be checked out in the book room if you wish.

We will look at binary numbers (machine language) this class.

As you work on your "Travel" program, please have "Hello World" and "Your name" program up so that I can enter it in my grade book. />I want to do a more complex C++ program. Travel program we started.

I went over the following attachment last class Continuing with binary numbers. I do want to go over it regarding binary code, interpreters, and compilers. Also, look at the various programs and how they do the same thing in the above document. />
Finally, we will look at Chapter 2 in the book.

Sincerely,
Mr. Green-Hite

Sunday, October 14, 2012

Monday, October 15, 2012

Dear Class:
Today, we will be adding to the notes on programming in general and C++ notes in particular in a google document. Share with me that google document by placing it in your shared folder. I want you to continue to work on the "Travel" program below and make sure that we figure out any "bugs" it has.

I will have a scan of parts of the text entitled Introduction to Computer Science Using C++ 3rd edition. This may be checked out in the book room if you wish.

We will look at binary numbers (machine language) this class.

As you work on your "Travel" program, please have "Hello World" and "Your name" program up so that I can enter it in my grade book. />I want to do a more complex C++ program. Travel program we started.

I went over the following attachment last class Continuing with binary numbers. I do want to go over it regarding binary code, interpreters, and compilers. Also, look at the various programs and how they do the same thing in the above document. Open a google doc, title it "Binary code name" and then put in english what the below binary code is and then put your name in binary code after it. What is the following? 01010111 01101000 01100001 01110100 01101001 01110011 01111001 01101111 01110101 01100010 01101110 01100001 01100111 01100101 Then put your name down in binary code (example): 01001010 (74) 01101111 (111) 01001000 (72) 01001110 (78) 01000111 (71) and then on. />
Finally, we will look at Chapter 2 in the book.

Sincerely,
Mr. Green-Hite

Wednesday, October 10, 2012

Wednesday, October 10, 2012

Dear Class:
Today, want to look at the notes on programming in general and C++ notes in particular in a google document. Share with me that google document by placing it in your shared folder. We will get to "Hello World!" and make sure that we figure out any "bugs" it has.

I will have a scan of parts of the text entitled Introduction to Computer Science Using C++ 3rd edition. This may be checked out in the book room if you wish.

We will look at binary numbers (machine language) this class.

We will have a quiz on the vocabulary words next class!
/>I want to do a more complex C++ program. Travel program we started.

I went over the following attachment last class Continuing with binary numbers. />
Finally, we will look at Chapter 2 in the book.

Sincerely,
Mr. Green-Hite

Tuesday, October 2, 2012

Monday, October 2, 2012

Dear Class: I would like you to finish the "Automobiles" database today since you should have been done with "superheroes" on Friday. I would like to move on to C++ on Thursday. This is the first part of the class that consists of Database that is broken up into three projects: The rough data that the class supplied and that we "roughed in" using Excel. Then, we created rough reports and a query from. The second section was information you supplied through internet searching. This part was more "refined" and I had you center the Title and put in a footer. The last section is the "Access" final project. This is information that is provided by me and the final reports and queries will look the same...The grading will be very precise on this one. Again, the title will have to be centered, the title will be the same one on the project sheet as on your report/query. Finally, all of the seven parts will include a footer with your name and the period (=() will be changed to ="Last First Name--Period 7 or 8". What I want in your folders is up on the board. I am still grading these. If you get done early, and I know some of you will, you may use the following link for "educational games". I need them evaluated anyway as to how good they are. Good Luck! Sincerely, Mr. Green-Hite