Thursday, March 29, 2007

If anyone wants to try video game programming with C++ over the break, click here.

You'll be surpassing me...I've never done C++ video game programming! Let me know how it goes.
http://sqlcourse.com/select.html

SQL Course

SQL Course

Wednesday, March 28, 2007

Code for area

$iloveshapes = $_POST['shape'];
echo $iloveshapes;
if($iloveshapes=="circle")
{
//formula for area of square
echo (($_POST['length']*$_POST['length'])*3.1416);

}
else
{
//we need the radius of the circle
echo "Does this work?";
echo $_POST['length']* $_POST['length'];
//pi*r to the second power

Assignment

http://www.davidcfreer.com/~David/shapes.htm

Find the perimeter or circumference of square or circle.

When finished post a link to your blog.

Tuesday, March 27, 2007

$name = $_GET["name"];
$pass = $_GET["pass"];

if($name == "AOIT")
if($pass == "ilovecomputers")
{
echo "What took you so long?";
echo "
";
echo "
HREF='http://www.google.com'>google.com";
}
else
echo "Who do you think you are?";

Today's assignment

Students are to create a PHP ordering page. On the first page students will offer a drop down box with three items: iPods, Treos, and Laptops. Students will have the quantity entered next to the selection. A PHP page entitled "process.php" will receive the information and repeat it to the customer. Also there will be a picture of the item selected.

http://www.davidcfreer.com/~David/Order.htm

Sign up for this message board.

http://www.davidcfreer.com/~David/

Monday, March 26, 2007

First PHP Program

Ask a user to enter their name and password. The welcome screen will be titled Welcome.html. It must include a picture of a flower. The PHP page receiving the username and password must be saved as usernameandpassword.php. If the username or password is wrong, the user will get the message "Who do you think you are??? We are too smart for you." If the username is "AOIT" and the password is "ilovecomputers" (without the quotes) the message will be, "What took you so long?" and a link to google.com.

Friday, March 23, 2007

PHP Programming

Your program will ask a user for a percentage they received on a recent grade. Then you will calculate what their letter grade is and return it to them.

Input: Percentage as an integer 0-100.
Output: Either A, B, C, D, F.

Your processing will consist of an if statement and following else if statements.

Thursday, March 22, 2007

Today's assignment

You are to create a PHP page with your name as a variable and your age as the value. Output the PHP variable using echo. Put this on your web host and your URL on your blog of the file.
  • First create a PHP variable (use $).
  • Next give the variable a value (use =).
  • Next you use echo $variable name.
Post online and put URL on blog.

Wednesday, March 21, 2007

No more Internet at night for you!

http://news.bbc.co.uk/2/hi/south_asia/6459295.stm

You must have a hosting plan with PHP by tomorrow..

Tomorrow is a grade for having a PHP hosting plan.

Looking ahead

  1. Of all the things we've done this year, which are the most useful and important up to this point?
  2. What do you want to learn about computers?

Monday, March 19, 2007

Thursday, March 15, 2007

Last assignment of the third nine weeks...

  1. A picture of a future job using Paint. See my example below. Yours will look much better.
  2. A Flash movie of the last movie you saw.

There is a time constraint to this assignment. Work quickly but do your best work!

Wednesday, March 14, 2007

Monday, March 12, 2007

Good site for Game Programming

Found it through SU.

Cool site.

Funny stumble

The way to write a review...

20 must have extensions for Firefox.

Terms to define with Google Documents

Web 2.0, hosting, Adsense, Adwords, FTP, templates, Internet backbone, Wifi, VOIP, blog, RSS.

  • You may not copy and paste.
  • Include URLs of where you found the information.
  • Put the definitions in your own words!!
  • Minimum of three sentences for each term.

Friday, March 09, 2007

Amazing what Google can come up with!

You won't believe it!

Sign up for hosting

Even if you have an email address, you need to sign up for hosting.

Here are five possible free companies with everything we will need:

http://www.ifastnet.com/

http://www.hostultra.com/

http://prophp.org/

http://www.0moola.com/

http://www.orgfree.com


Pick one or pick all five, it doesn't matter which one. But it is IMPERATIVE you get signed up with a hosting plan. Some people like to complain about free hosting? Ask your parents to sponsor you and go to http://1and1.com. That's who I use for my hosting needs!

Pigs

Only pigs would piggyback?

Most likely they don't know HOW to secure their network...it's still mooching to piggyback.

FireFTP is awesome!

Click here for FireFTP.

Thursday, March 08, 2007

OSWD

First get a hosting account.

Second get a web template.

Third, make a personal class web page. Post all your Flash files, javascript, Word, Excel, Access online.

Sunday, March 04, 2007

Friday, March 02, 2007

2nd period has an extension

Because of all the people helping set up computers and the size limitations on 50megs.com. I will collect the PowerPoint presentations through the NETWORK in class. We can view all the PowerPoints and Flash assignments in class on Monday.

Thursday, March 01, 2007

Perhaps search will be limited...

What a fascinating article!

3d printers for google earth

Neato.

Do you have a facebook?


Kinda spooky.

Due Dates

Deadlines really do focus attention. So the questions are due before midnight on Friday (using Google Documents and adding me as a collaborator).

The PowerPoint or Flash is to be put online before midnight also. Send me a link to david.freer@gmail.com.

Photoshop online

Look at this article.

Good site on CPU design

Read some of the considerations.

Assignment due Friday

New Assignment Due Tomorrow:

You are going to make a Flash animation or a PowerPoint presentation to explain to a 4th grader what a CPU is and how it interacts with RAM and a hard drive.

Minimum 12 slides or 40 seconds of Flash animation.

After you finish you will place your Flash online at http://50megs.com

You will upload it with your web browser and place a link to your .swf file on your blog.

DF