Source code for:
about.php
<HTML>
<HEAD>
<TITLE> About Assignments for Q7310</TITLE>
<SCRIPT language="JavaScript"><!--
browserName = navigator.appName;
browserVer = parseInt ( navigator.appVersion );
version = "n2";
if ( browserName == "Netscape" && browserVer >= 4 ) version = "n4";
if ( browserName == "Microsoft Internet Explorer" && browserVer >=4 ) version = "e4";
if ( version == "n4" || version == "e4" )
{
eyeleft_on = new Image ( 69, 19 );
eyeleft_on.src = "images/pagemenu/eyeleft_on.gif";
eyeright_on = new Image ( 71, 19 );
eyeright_on.src = "images/pagemenu/eyeright_on.gif";
eyeleft_off = new Image ( 69, 19 );
eyeleft_off.src = "images/pagemenu/eyeleft_off.gif";
eyeright_off = new Image ( 71, 19 );
eyeright_off.src = "images/pagemenu/eyeright_off.gif";
}
function button_on ( imgName )
{
if ( version == "n4" || version == "e4" )
{
butOn = eval ( imgName + "_on.src" );
document [imgName].src = butOn;
}
}
function button_off ( imgName )
{
if ( version == "n4" || version == "e4" )
{
butOff = eval ( imgName + "_off.src" );
document [imgName].src = butOff;
}
}
// --></SCRIPT>
</HEAD>
<BODY bgcolor="000000" link="#FFFF00" vlink="#FFFF00" alink="#00FF00" background="images/bg.gif" text="#FFFFCC"#ececec">
<CENTER>
<TABLE border=0 cellpadding=0 cellspacing=0 width=98% height=98%>
<TR>
<TD valign=middle> <IMG src="images/titles/about.GIF"><BR>
</TD>
<TD valign=top align=right rowspan=2>
<TABLE border=0 cellpadding=0 cellspacing=0>
<TR>
<TD colspan=2>
<TABLE border=1 cellpadding=0 cellspacing=0>
<TR>
<TD> <A href="about.php" onMouseOut="button_off('eyeleft'); return true" onMouseOver="button_on('eyeleft'); return true">
<IMG src="images/pagemenu/about.GIF" border=0 width="46" height="15"></A></TD>
<TD> <A href="contact.php" onMouseOut="button_off('eyeright'); return true" onMouseOver="button_on('eyeright'); return true">
<IMG src="images/pagemenu/contact.GIF" border=0 width="63" height="15"></A></TD>
<TD> <A href="news.php"
onMouseOut="button_off('eyeright'); button_off('eyeleft'); return true"
onMouseOver="button_on('eyeright'); button_on('eyeleft'); return true">
<IMG src="images/pagemenu/news.GIF" border=0 width="49" height="15"></A></TD>
<TD> <A href="show.php" onMouseOut="button_off('eyeleft'); return true" onMouseOver="button_on('eyeleft'); return true">
<IMG src="images/pagemenu/show.GIF" border=0 width="45" height="15"></A></TD>
<TD> <A href="tell.php" onMouseOut="button_off('eyeright'); return true" onMouseOver="button_on('eyeright'); return true">
<IMG src="images/pagemenu/tell.GIF" border=0 width="37" height="15"></A></TD>
<TD> <A href="guests.php"
onMouseOut="button_off('eyeright'); button_off('eyeleft'); return true"
onMouseOver="button_on('eyeright'); button_on('eyeleft'); return true">
<IMG src="images/pagemenu/guests.GIF" border=0 width="66" height="15"></A></TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD><A name="top"></A> <A href="index.php" target="_self"> <IMG src="images/pagemenu/left.gif" border=0 alt="Home"></A></TD>
<TD>
<TABLE border=0 cellpadding=0 cellspacing=0>
<TR>
<TD><IMG src="images/pagemenu/eyeleft_off.gif" border=0 name="eyeleft"></TD>
<TD><IMG src="images/pagemenu/eyeright_off.gif" border=0 name="eyeright"></TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<TR>
<TD valign=top>
<TABLE border=0 cellpadding=10 cellspacing=0>
<TR>
<TD valign="top"> <FONT face="arial, helvetica, sans-serif" size=2 color="ececec">
<B> Assignments:<A name="top"></A><BR>
</B>- Programming 101:15% Due October 3rd by midnight<BR>
- Form & Data Processing: 15% Due October 17th by midnight<BR>
- Final Project Proposal:10% Due October 31st by midnight<BR>
- Database Challenge: 15% Due November 14th by midnight<BR>
- Interview with Instructor: 5% Due -- to be arranged <BR>
- Final Project: 40% Due December 10th by 5:00 p.m.
<P><B>Challenge 1: Programming 101</B></P>
<P><A href="#challenge1" target="_self">Deliverables</A>:<BR>
- 4 completed programs
<BLOCKQUOTE> -- Output 10 different variables<BR>
-- Nested Arrays<BR>
-- Associative Array Phone Book<BR>
-- Push, Pop,& Shift Array<BR>
-- Single Loop Cumulative Multipy & Addition</BLOCKQUOTE>
- Source code in HTML for 4 programs (use txt2html)<BR>
- Written report
<P><B>Challenge 2: Forms & Data Processing</B></P>
</FONT> <FONT face="arial, helvetica, sans-serif" size=2 color="ececec">Deliverables
and Requirements:<BR>
- HTML form with at least 5 different inputs</FONT>
<BLOCKQUOTE> <FONT face="arial, helvetica, sans-serif" size=2 color="ececec">
-- text input <BR>
--text areas <BR>
--multiple select lists <BR>
--checkboxes<BR>
--radio buttons </FONT><FONT face="arial, helvetica, sans-serif" size=2 color="ececec">
</FONT> </BLOCKQUOTE>
<FONT face="arial, helvetica, sans-serif" size=2 color="ececec">
- String comparison in program to generate customized feedback<BR>
- Provide a program-generated HTML feedback page for the user<BR>
- Save all form submissions to a text file along with browser
information<BR>
- Provide a link to review past submissions
<P><B>Challenge 3: Final Project Proposal</B></P>
<P>Requirements <BR>
- Title<BR>
- Description<BR>
- Feature List<BR>
- File/Directory Structure<BR>
- Deliverables: 1 to 2 page paper</P>
<P><B>Challenge 4: Database</B></P>
<P>Requirements:<BR>
- Program-generated HTML form for users to submit data<BR>
- Provide data integrity checking before submitting data to
database<BR>
- Save all form submissions to the database<BR>
- Program-generated HTML page that displays data in MySQL
tables<BR>
- Use at least 2 subroutines in the Program<BR>
- Use at least 1 external module<BR>
- Program and source code</P>
<P><B>Challenge 5: Interview with Instructor</B></P>
<P>Remember... it is your responsibility to arrange the interview
with the instructor. </P>
</FONT> </TD>
</TR>
<TR>
<TD height="1564" valign="top"> <FONT face="arial, helvetica, sans-serif" size=2 color="ececec">
Challenge 1<A name="challenge1"></A> Programming Problems:
<P><B>Problem 1: </B>Write a program that uses 10 different
variables to store data: text/numbers. Print the value of
each variable to the window. Then modify each variable, without
reinitializing, and display the variables. Use basic HTML
within the program to make the output look nice. Include comments.</P>
<P><B>Problem 2: </B>Write a program that iterates through the
contents of an array using a while loop, then a for loop with
a different array. 2 loops, 2 different arrays. Each array
must have at least 5 elements. Inside the loops, have multiple
if statements to print (echo) out statements depending on
the value of each array element. Use basic HTML within the
program to make the output look nice. Include comments.</P>
<P><B>Problem 3:</B> Write a phone book program. This program
should use an associative array to store the phone numbers
of your favorite restaurants, stores, friends, etc. Refer
to the "free2code.net"supplemental reading for information
on associative arrays. You do not have to provide real names/numbers
for your friends if you don't want. The structure of the associative
array should be: 'name' => 'phone number'; You must have
at least 20 elements in your associative array. Display the
contents of your phone book associative array. Use basic HTML
within the program to make the output look nice. Include comments.</P>
<P><B>Problem 4: </B>Write a program that sums and multiplies
all the odd numbers from 1 to 1000, inclusive. You must use
only ONE loop. Display the values of your addition and mutliplication.
Use basic HTML within the program to make the output look
nice. Include comments.</P>
<P><B>Problem 5: </B>Write a program that manipulates an array
using the various array functions. Start the program with
an empty array - no values. Use push, pop, shift, and count.
First, push 25 items onto the array - it can be numbers, text,
whatever you want. Print out the contents of the array using
a loop. Second, pop off the last 5 elements of the array.
Print the array using a different type of loop. Third, use
shift to remove the first 5 elements. Print the array. Finally,
use count to determine the final size of the array and print
it. Include comment </P>
</FONT>
<P><FONT face="arial, helvetica, sans-serif" size=2 color="ececec">[<A href="#top" target="_self">Top</A>]
</FONT></P>
<P><FONT face="arial, helvetica, sans-serif" size=2 color="ececec">Last
Updated<I>:
<!-- #BeginDate format:fcAm1m -->Friday, September 17, 2004 19:39<!-- #EndDate -->
</I></FONT><BR>
Click<A href="source_about.php" target="_blank"> here</A>
to see the source code </P>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</CENTER>
<P><FONT face="Arial, Helvetica, sans-serif" size="1">(c) 2004
Robin Y. Mabry Hubbard <A href="mailto:4ascii@marz.com">4ascii@marz.com</A></FONT></P></BODY></HTML>
|