Tuesday, October 29, 2013

Wednesday, October 29, 2013

Dear Class: Happy Day Before 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 27, 2013

Monday, October 28, 2013

Dear Class:

As a quiz, we did Activity 2-1 on your own. This will count as the exit quiz for Chapter 2. Dilbert

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

Tuesday, October 22, 2013

Wednesday, October 23, 2013

Dear Class:

We did code list 2-3 on Page 34 and code list 2-4 on page 36. I should see them as a snapshot with the run part on the right hand side of the code itself on the left!

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

Monday, October 21, 2013

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

Tuesday, October 15, 2013

Wednesday, October 16, 2013

Dear Class:

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

Saturday, October 12, 2013

Monday, October 14, 2013

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 uninstalled Bloodshed and reinstalled it again with a compiler. It should work fine now...I tested it. Also, I have the magnifier on my computer that has been "pinned" to my menu.

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

Sunday, October 6, 2013

Monday, October 7, 2013

Dear Class:

I will give you the first fifteen (15) minutes of the class to complete the binary code below...

Finally, we will start programming...beginning with machine language. We will talk about the progression of programming language. Hopefully, at the end of the period, we will create 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 and naming it "Programming--C++ Notes".

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.

The following attachment contains information on binary numbers and precursor computer language 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 2, 2013

Thursday, October 3, 2013

Dear Class:

We will finish the "Automobiles" database today. This is the first part of the Database/Programming 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 exported data from Excel to work on. The second section was information from MyTunes that had been exported in and we created a report and a query, going over what each entailed. The last section is the "Access" final project. This is information that is provided by me. The final reports and queries will all look the same after you run them...The grading will be very precise on this one! This means that if you were not precise in entering data, the queries and reports you run will not be the same as your neighbors.

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. We may have a pop quiz on Database today! You can do this until the majority of the class is complete in the two reports and 5 queries that are required.

Finally, we will start programming...beginning with machine language. We will talk about the progression of programming language. Hopefully, at the end of the period, we will create 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 and naming it "Programming--C++ Notes".

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.

The following attachment contains information on binary numbers and precursor computer language 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

Tuesday, October 1, 2013

Tuesday, October 1, 2013

Dear Class:

We will be doing queries. Examples for query criteria at this link.

I have a handout for you as the exit project and then we are done with Database. Page 1
Page 2 Page 3 Page 4 last page
.

You will all import the data and I will go over what queries and reports are and the differences. You will then run a few reports and then save them to the desktop. In the end, you will upload these reports into your google docs in your shared folder.

MyTunes Worksheet MyTunes Excel Spreadsheet href="http://www.gcflearnfree.org/access2003">Access 2003

Sincerely, Mr. Green-Hite