Wednesday, February 29, 2012

Thursday, March 1, 2012

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

Monday, February 27, 2012

Tuesday, February 28, 2012

Dear Class:

I did find out the problem we were having

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

Finally, we will look at Chapter 2 in the book.

Sincerely,
Mr. Green-Hite

Tuesday, February 21, 2012

Wednesday, February 22, 2012

Dear Class:

Today we have that quiz on the vocabulary words today!

Finish the Reports and Queries that were assigned during the last couple of classes. I can give you the first 14-20 minutes to finish.

Otherwise, after the last part of the class, we will be opening up C++ and working on that. There will be a little bit of vocabulary involved but not too much. If you work on it at home, you can download at bloodshed.net. H

Today, we will take notes on programming in general and C++ notes in particular in a google document. We will get to "Hello World!" and make sure that we figure out any "bugs" it has.

You need to go to the book room on your own 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

Friday, February 17, 2012

Wednesday, February 20, 2012

Dear Class:

Today we will finish up the DataBase handout we almost finished last class. It is due today after the first 20 minutes of class. Please print out the final sheet as pdf files, upload them to your google account, and then move them to your shared collection or "folder". Remember, recheck your data to make sure you are accurate in what you entered.

Otherwise, after the first half of the class, we will be opening up C++ and working on that. There will be a little bit of vocabulary involved but not too much. If you work on it at home, you can download at bloodshed.net. Hopefully, we will do the first bit of a program called "Hello World".

Sincerely,
Mr. Green-Hite

Thursday, February 16, 2012

Thursday, February 16, 2012

Dear Class:

This is to be a finalization of what we have been doing. I want this as a drop dead for this project.

I want the final seven reports/queries to be saved as pdf's. Also, I want you to change the footer to "your name, Period 7" at the bottom. To do this, erase the para thesis on the =() and then put ="your name, Period 7" and then get rid of the rest of the junk at the end of the footer on the right hand side.

Last project for this part of the class or...Database. The following document will be easier just because it won't be "linked". I will also want to see a footer on this document and will talk about that.

Final Project

Sincerely,
Mr. Green-Hite

Monday, February 13, 2012

Tuesday, February 14th, 2012

Dear Class:

Last project for this part of the class or...Database. The following document will be easier just because it won't be "linked". I will also want to see a footer on this document and will talk about that.

Final Project

Sincerely,
Mr. Green-Hite

Tuesday, February 7, 2012

Wednesday, February 8, 2012

Dear Class:

Due to the "tainted" nature of the data we used before, we are going to create a new one using other preexisting data on real estate.

You will open the directions: Directions

The first Table information you will need will be created in Table 1: Homes for Sale

The second Table you will put together will be the Listing Criteria.

Use the date provided to create the two new tables.

You can go ahead and look at the queries that is the second part of the instructions but given it is a Wednesday, you will probably not get to that point.

Sincerely,
Mr. Green-Hite

Sunday, February 5, 2012

Monday, February 6, 2012

Dear Class:

Open WORD document and create a “Database Notes” file
Vocabulary: database, field, record, data types, objects, table, form, report, querie.

Sites that can help: Access 2003 tutorial

Access 2003

Open Class database in datasheet view—what can we do with it??
Basic—can’t change the header/footer, you can delete it in setup, only have one font, one size for rows
Sizing columns—double clicking between field names or sliding
Sorting—Highlight entire field and use AZ↓ or ZA↓

Highlight a field and use binocular icon to look in, match, search
Navigation bar at bottom to move between records
A "pencil" is displayed on the left when editing a record
A "triangle" is displayed on the left when selecting a record
Add or delete a record
Add a new field in design view—School
Type in David Douglas High School one time and use Control ‘ to repeat in every cell

Work on some OJBECTS:

Create a FORM using wizard
Choose all the fields
Choose a layout—columnar is good for now
Choose a style
Give it a name—click finish
Does everything fit
View/Design View to edit
Edit Field Box and Detail Box
Change font and size
Rearrange to make sure it fits
Shift click to highlight more than one box
Use the paint brush for editing
View Form View to check it out
Print Preview—use the icons to view one, two, multiple pages
Use navigation to get to new record and add the teacher

Was it easier to input data in a form or table object???


Create a Report—create a report using wizard—choose the class table
Pick four fields
Pick a grouping—group by age
Pick a sort—sort by last name
Pick a layout
Pick a style
Give it a name

Edit the report in design view
Header—contains field name
Detail—actual information
Use paint brush
Numbers right align/words left align
Select and size or edit—click to select, use hand to move
Shift Click header and detail to move both
Make sure everything fits and is centered
Same alignment icons as in WORD
Change footer
Delete the entire text box on right—page x of x
Change =now() (function for date and time) to =”your name—period x” (string)

Open Database Notes and update vocabulary if needed



ASSIGNMENT:

Create a report using what you just learned—choose at least 5 fields
SAVE, PRINT and turn in

Group by age?? By Eye color?

Thursday, February 2, 2012

Thursday, February 2, 2012

Dear Class:

Please open up your "database" we worked on last time and then open up this blog so that you know what we will be doing today.

Please open up the Database notes we did and we will be adding to them the definition of: objects, table, form, and report.

Then, open up the "Class database" file we did last time. This will reflect the following:

First Name
Last Name
Age
Favorite Food
Favorite Color
Gender
Eye Color
Birth Month
Job
Database Exp
Programming Exp
Grade
Hobbies
Siblings
Middle School
Sports

You were to type them in a shared google doc and then plug your information on the database itself.

You will be "Correcting" that raw data into the "Class Database" that we will be using. In programming, you cannot have data that is "off" or "inconsistent" or a program will not work (although there are certain internal checks).

What is a database?

Watch the tutorial for database (17 minutes)

Why use a database—information about customers, information about inventories, any type of information a business would need. You can design, manipulate, sort, and print.

Who has a database—schools, libraries, government, stores, banks, business on inventory and employees

Internet Search:
Who won the Heisman trophy 2 years in a row?? (1974 1975 Archie Griffen
Who Was David Douglas named after??
Who are some notable alumni from David Douglas??

Record?

Field?
Requirements: contain a unique name, describe the field, <= 64 characters, cannot begin with a space, can’t use . , ! [ ]

Fields have data types—text, number, currency, date/time, yes/no, OLE Object (picture), hyperlink (address), lookup wizard (giving options)

Field size—usually default works but you can assign different sizes
Who has a long name that always gets cut off???

We went to the spreadsheet that is shared an editable and entered in the following data after one of the students puts in the Record type.

Create a database
Different programs: MS ACCESS, Oracle, Dbase
We use ACCESS
Determine fields and data types
Enter your own data on the first line and SAVE it.

Open WORD document and create a “Database Notes” file
Vocabulary: database, field, record, data types

Sites that can help: Access 2003 tutorial

Access 2003

Sincerely,
Mr. Green-Hite