Thursday, February 26, 2009

Working from Yesterday...

Using the form we made yesterday (named reg_form.php), make the form action point to an external page (reg_confirm.php) using the POST method. reg_confirm.php should retrieve to the POST data and display all the user's registration information. The page should have a "Revise" and a "Confirm" button.

Format your pages so they look good.


.

Wednesday, February 25, 2009

PHP Quiz


Answer the following in a text document and upload:
  • What is an XAMP server?
  • How does PHP code begin?
  • What is the PHP equivelant to cout?
  • PHP is very similar to what other language?
  • What symbol begins each variable?
  • How do variables in PHP differ from variables in C++?
  • What does the concatenation operator do?
  • Whrite the code needed to make an array named "kabooki" which contains the values "lemon-fresh", "Peanuts", "507", and "pickLLLLLes".
  • Write a foreach loop which displays the contents of "kabooki".
  • When declaring a function, what word must preceed the name of the function?
  • What are the 4 methods (SuperGlobals) for sending form information.
  • How do $_GET and $_POST differ?
  • Why do cookies pile up on your computer?


  • . 

Monday, February 23, 2009

PHP


Today we start PHP...


.

Monday, February 16, 2009

Hall Pass Wrap-Up

Your Hall Pass programs are due at the end of class Wednesday.


.

Monday, February 9, 2009

Allegro Hall Pass

We're working in pairs on the Hall Pass program...

Friday, February 6, 2009

Wednesday, February 4, 2009

Hall Pass

Your assignment:
Create a Photoshop image that will/ could serve as a GUI or menu to be used with a hall pass program which would replace the pen & paper sign-in & sign-out hall pass system for the classroom.

The image should contain the following:
  • "Dummy" fields for name, destination, time out, & time in. These will just be solid colored rectangles where text can be displayed.
  • A "clear" all fields button.
  • A "Submit" info button.
  • A list of the last 5 students to leave on a hall pass.
  • Fun {appropriate} graphics.

Oh yeah... be prepared to turn in and present your language research tomorrow...

 
.

Friday, January 30, 2009

Friday

Your assignment for the next three days in class involves preparing a 5-minute PowerPoint presentation on a programming language.

Here are the programming language assignments:
  • Savannah - Java (not Javascript)
  • Mike - Ruby {on Rails}
  • Castiel - VB [Visual Basic]
  • Nick - Pascal
  • Sarah - PHP
  • Taylor - Python
  • Jake - Perl
  • Lee - C# [pronounced: see sharp]
  • Josh - COBOL
  • Jeromé - Ajax
What your PowerPoint should include: INCLUDE SOURCES (must use 4)!
  • Background - who/ what/ where/ when/ how was the language developed
  • Popularity - how popular is it? check a few sites.
  • Strengths - what's so great? who mostly uses it? why was it developed?
  • Weaknesses - what can't it do? who's it bad for? what are some alternatives?
  • Variables - how are they declared? is it object-oriented? examples?
  • Control Structures - how are they declared? examples?
  • Loops - how are they declared? examples?
  • Compilers - are they free? where can i get them? examples?
  • "Hello World" - include a complete example of the infamous first program.
  • Sources - cite your sources at the end of the PowerPoint. must use at least 4.
  • Include some *fun* graphics.
  • !!! 5 minutes !!!
  • PowerPoint will be turned in at the end of class on Tuesday.

.

Thursday, January 29, 2009

Welcome Back


Today we're going to begin writing Breakout. We're going to keep it simple, at first.

Pseudocode!!!


Here's the BPA XHTML Image to be used...



.

Tuesday, January 27, 2009

Midterm Rewrite

Your assignment for today is to rewrite the midterm code:
  • Instead of using individual variables for x, y, dx, & dy, create a struct called "ball" which contains x, y, dx, dy.
  • Instead of just one circle, create an array of 10 circles using your struct.
  • Use for-loops to handle all you array elements cleanly.
  • Keyboard controls should effect all circles simultaneously.
  • The bitmap image should remain as it was originally.
  • Upload your code when you're finished.
If you finish the assignment, begin working on the Networking assignment.


.

Monday, January 26, 2009

Data Structures

Read THIS WEBPAGE about data structures.

Then revisit the Space_Flight code.

Study it...


.

Tuesday, January 13, 2009

MIDTERM

Your Midterm exam is scheduled for Thursday @ 7:49a - 9:10a for Canton South students; for Perry students, it is scheduled for Thursday whenever you all get here.

It will cover Allegro programming as we discussed. You will be permitted to use your Allegro notes that we made earlier this 9wks.


.

Monday, January 12, 2009

Review

Today, we're reviewing for the Midterm exam.

The midterm will cover simple Allegro programming.


.

Friday, January 9, 2009

Console App

Today is going to be a review day...

Your goal is write a console application that computes the perimeter length and area of regular polygons. Here's the pseudocode:
  • iostream, cmath, namespace std
  • Declare variables
  • Start loop
  • Prompt user for how many sides for the polygon
  • Prompt user for length per side
  • Calculate perimeter
  • Calculate area using equation (on chalkboard)
  • Output perimeter & area
  • Prompt user to do more polygons
Make sure that your program can properly handle ALL possible user inputs, including negative lengths, non-numeric entries, nonsensical values... And correct the entries.

Upload your main.cpp file when you're done...


.

Wednesday, January 7, 2009

Wednesday

Sorry I'm still not back.

Today you guys can work on BPA.

Nick & Castiel, work on the Network reading in Chapter 8.

I'll be back tomorrow.


.