Sunday, March 30, 2014

Monday, March 31, 2014

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

Tuesday, March 18, 2014

Wednesday, March 19, 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, March 17, 2014

Monday, March 17, 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

Sunday, March 9, 2014

Monday, March 10, 2014

Dear Class:

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 number-name" and then put in english what the below binary code is and then put your name in binary code after it.

Convert and put in the numbers in binary: 225, 156, 88, 53, 29, 18, 16, 7, 3, and 66. What is the following?

01010111
01101000
01100001
01110100

01101001
01110011
01111001
01101111
01110101
01100010

01101110
01100001
01100111
01100101

Then convert your name into 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

Thursday, March 6, 2014

Thursday, March 6, 2014

Dear Class:

We are "formally" done with the "Automobiles" database. This was the first part of the Database/Programming class that consists of Database that was 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 was information that was 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.

Please read the following article on creating apps, create a document called "Apps". What is this article about? Why is it important in terms of creating your own app? Legally why is it important?

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 number-name" and then put in english what the below binary code is and then put your name in binary code after it.

Convert and put in the numbers in binary: 225, 156, 88, 53, 29, 18, 16, 7, 3, and 66. What is the following?

01010111
01101000
01100001
01110100

01101001
01110011
01111001
01101111
01110101
01100010

01101110
01100001
01100111
01100101

Then convert your name into 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

Monday, March 3, 2014

Tuesday, March 4, 2014

Dear Class:

I will give you the first half of the class to complete 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