![]() |
|
![]() |
HOMEWORK ASSIGNMENTS for CS Students
This is where CS students check for new homework assignments. When you are done, send your CS homework by email to the CS instructor and TA Saleh Alshomrani (salshomr@cs.kent.edu). Send your VCD homework assignment to the VCD instructor not the TA. Please use subject line WDP-2: CS HW1 for cs or WDP-2: VCD HW1 for cs. It is important to get the subject line right. If your homework involves html coding, please note that you need to get around the PHP enabled Web server by replacing the first line of your XHTML file with
<? print('<?xml version="1.0" encoding="UTF-8"?>'); ?>
TA: Saleh Alshomrani CS HW1, Due 1/31
VCD HW1, Due 2/11 VCD Homework 1 is located in Sanda's notes section. Please download all three files to see how to do the homework:
CS HW2, Due 2/15 Take the Cray Pizza Shop hands-on example and add different prices to each item and keep track of the total of the order. When the customer clicks the Done button, it leads to a 2nd page that lists in a shopping cart form, each item with pricing and the total. A Confirm Order button on this page ends the session and leads back to a new order page. CS HW3, due 2/28 Part One: Follow the hands-on experiment ``MySQL access from PHP'' and write a PHP function
Note that you can use the
Make your Hint: See this file. Part two: Take the course questionnaire and modifiy it to enter the collected info into a database table.
And write a CS HW4 for CS students, due 4/14 Take the Visit Detroit example (with all the images and scripts there), and improve on it. Make the panning control work with two buttons (left and right arrows). The action keeps going as long as the button is pressed and stops when it is released. Then add double-arrow buttons for faster panning. Make the Flash using Flash CS3 and ActionScript 3.0. CS HW5 (for CS students), due 4/23 The purpose of this homework is to get each CS student to install his/her own Apache web server with PHP under Unix. Please go to b1.cs.kent.edu or
cgi.cs.kent.edu and install the Apache server
in your own home directory under a directory such as
Start your server to do experiments. Stop it when you logout. Don't leave the server running to avoiding overloading our sysstem. When you start the server make sure it uses your own httpd.conf file instead of the system default (usually located in /etc/httpd/conf). This is done by going to your own apache_2.0/apache/bin directory and issue one of these commands: ./apachectl start $HOME/apache_2.0/apache/bin/apachectl start After testing, remember to stop your server so it frees port 8080 for others to experiment. ./apachectl stop $HOME/apache_2.0/apache/bin/apachectl stop Keep this server around for use in this course. When you are done with the course, you should delete the whole Apache directory. If you know how, you can also put Apache on your home computer so you can experiment with it at the standard port (80). When you are done, you should send the following to the instructors and the TA:
1) host:port of your server,
2) how the TA can start/stop it,
3) location of your own document root
4) the special configuration lines you have placed in the
httpd.conf file (not the whole file, just the conf
lines you have added/edited),
5) the URLs of files you have used in your document root to test
your apache server
Make sure the TA and the instructors can access and execute your Apache commands without permission problems. Note the following chmod a+r apache chmod a+x apache cd apache/bin chmod a+r * chmod a+x * cd ../logs chmod a+r * chmod a+w * If you wish to add PHP and perhaps MySQL to your server installation (do it on your own PC) see this page for more info. For extra credit and your own satisfaction, add PHP support to your Apache Web server. Download the current php verstion for Unix/Linux: (http://www.php.net/downloads.php) and refer to these instructions. |
|
![]() |