Applied Systems Programming |
![]() |
Course
Index Return to Dr. Margush's page |
Note: Assignments to be emailed MUST use one of the following subject lines (with n set to the assignment number):
Due Monday, Dec 6 - HW#11 - Review questions, pp554+: 1, 3, 5, 6, 9, 13, 24, 25
Due Monday, Dec 6 - HW#10 - Review questions, pp504+: 1, 2, 5, 6, 7, 12, 14, 17, 26, 33.
Due Monday, Nov 22: Program 6: Consumer Electronics Survey - FIX the authors survey script (Pages 395-406) to do file locking correctly. Combine conelec1.pl and conelec2.pl into a single file (conelec.pl). When the script is called with the parameter "report" the report section should be used to generate the report. Otherwise the survey form should be displayed. Add links to the "Thank You" page to allow the survey to be taken again, or to view the results. Carefully document the changes you make to the file locking parts of the program. Also give credit to the original program code in your documentation. Submit a printed copy of your program (not the html file). Provide a link to the survey form on your web page and email a link to your site when you are done.
HW#9: Pg 414, Review Questions
10.9: 1, 2, 4, 6, 7, 8, 11, 12, 19.
Due Wednesday, November 10 - Please type your answers and submit them in class.
Due Monday, Nov 8: Program 5: Home page generator: Create a form and a Perl script to process the form data. The script will return a web page, generated from user supplied data. Generate the web page by merging the form data with a template file. You need to supply 2 different templates (html files) and allow the user to select which template is to be used. The form should accept the following: the template to be used (drop down list), desired background and text color, person's name, email address, picture, unordered list of favorite links, and a line of text (that will be continuously scrolled across the resulting web page like a marquee). Your templates should be html files located in your public_html folder that will load and display in a browser with default data showing. The script should merge the template with the form data to create a customized html document as output. Devise some means to make the substitution (strip out default material, insert custom material) easy to accomplish in your script and document it!
Additional details: You should implement the scrolling line of text in your templates as a div tag with supporting javascript (do not use the IE marquee tag). The form must allow any number of links to be entered. You may use a text area to accept these. The links and the email address should be clickable when displayed in the resulting page.
Send me an email with your name and a link to your home page when the project is completed. Use the subject line "Applied Systems Program Assignment 5". Add links to your home page to display template 1, template 2, and the home page generator form. Turn in a printed copy of one template and your Perl script.
HW#8: Pg 373, Review Questions
9.13: 1,2,4,5,11,13,14,15,16,18,19,24.
Due Wednesday, Nov 3 - Please type your answers and submit them in class.
HW#7: Pg 330, Review Questions
8.11: 3, 4, 6, 11, 13, 14, 25, 26, 37, 40, 41.
Due Monday, Oct 25 - Please type your answers and submit them in class.
Due Monday,
Oct 18: Program 4:
Create a JavaScript DHTML page to play hangman. The javascript for the game
"play" must be in an external javascript file. You may include minimal
scripting elements in the body of the html document as required. The game play
will work like this: A button to start the game will cause a word to be randomly
selected from a list of secret words. (The button should remain unselectable
until the game is over or the page refreshed). This will create a series of
blanks in the answer area representing the letters of the words. The available
letters will be displayed somewhere on the screen. There is a graphical alphabet
in http://www.cs.uakron.edu/~margush/letters that must be used in your game.
Here is a sample
mage.
The letters are named a.gif, b.gif, etc. Please read the copyright
notice for these images and comply with it in your game. You should
programmatically generate code to create a clickable alphabet from these images
to play the game (Do NOT enter all the code manually). Clicking a letter will
either move it to the garbage can (where it may disappear), or move it to it's
proper blank (or blanks) in the secret word. By move, I mean the image will
slide to its correct position, then come to a stop. This requires animation. The
image should move in a straight line to its destination. If the letter is needed
in more than one location, then each copy of that letter should move
simultaneously to its final location. Clicking while a letter is moving is
allowed (causing additional letters to be set in motion). The player has only 7
guesses after which they lose. You can use your creative skills to display the
status (number of wrong guesses) any way you wish. Use some type of animated
message to congratulate a winning player. You can try out someone else's version
of the game and read rules here: http://www.viva.lib.va.us/hangman/hangman.html
Email me with a link to your completed game and print your well-documented source files and turn them in at the first opportunity after the due date.
HW#6: Pg 248, Review Questions
6.13: 4, 6-8, 12, 13.
Due Monday, Oct 11 - Please type your answers and submit them in class.
Due Friday, Oct 8: Program 3: Create a JavaScript application to play the number guessing game. This application must not use any popup dialogs such as prompt or alert. All IO is through form widgets. When the application page is loaded, the script 'thinks' of a secret number between 1 and 100. The user tries to guess the number. Before a guess can be made, the user's name and email address must be entered (guessing is not allowed until this is done). A checkbox should also be available to allow the user to select Advanced Play Mode (causing a new secret number between 1 and 1000 to be chosen). Deselecting the advanced play box will cause another secret number in the original range to be chosen. After the name and email are entered, the user may begin guessing. Guessing requires entering a number and clicking a button. After the first guess, the advanced play, player name, and email fields must be locked so they cannot be changed again. After each guess, the script carries out an action. If the guess is too high, the message "too high" is displayed. If the guess is too low, the message "too low" is displayed. These messages (and others) should be displayed in a text area or text box that cannot be edited by the user. The game continues until the guess is correct. At that time, the form is submitted to Response-O-Matic. The form submission should include the required Response-O-Matic stuff along with the secret number, the number of guesses used, the actual sequence of guesses entered, and the user's name. Don't allow other stuff to be sent! You must make Response-O-Matic send the results to the user who played the game (to the email entered on the form). The page returned by Response-O-Matic should have a link to play again. Send an email with link (subject Applied Systems Program 3) and submit a documented printed copy of the program in class.
HW#5: Pg 207, Review Questions 5.8: 1, 3, 4, 7, 8, 15, 18, 26, 27.
Due Monday, Oct 4 - Please type your answers and submit them in class.
HW#4: Pg 170, Review Questions 4.16: 4-6, 9-10, 12, 25, 31, 34-35, 39,
43-45, 52.
Due Monday, Sept 27 - Please type your answers and submit them in class.
Due Wednesday, Sept 22: Program 2: Enhance your current website by adding a stylesheet link (external style sheet) to all of your pages. In the stylesheet, define a new default style for the body tag that will standardize your documents. In particular:
Turn in a printed copy of your documented (yes - please include some minimal documentation!!!) style sheet. Email a link to your index page when you have completed the assignment. The subject must be Applied Systems Program Assignment 2.
HW#3: Pg 113, Review Questions 3.9: 3, 7, 9-13, 16-17, 19-22, 24,
26-27.
Due Monday, Sept 20 - Please type your answers and submit them in class.
Due Wednesday, Sept 15: Program ? 1: Design an index page for your unix account public_html folder. This page should be a frameset that has a menu on the left and displays pages on the right. The initial page should contain information about yourself. Include a picture (or cartoon likeness) that is an appropriate sized jpg, gif, or png format image. Be sure to utilize the alt attribute. Include a mailto link. Utilize paragraph tags, headings, and other basic formatting elements as appropriate. Do not try to do anything with colors and fonts. A second page that can be loaded into the same space should be accessed via the menu and should list the classes you are taking this semester. Include links to the course pages or textbook site. Use a list structure to organize this information. Include a third page that uses a table to display classes you have taken in previous semesters. Link to it from the menu on the left. Build a fourth page that would gather information for a guestbook. This will be a form that submits a person's name, email address, class rank (use radio buttons), and a comment. The form data should be processed by the Response-o-matic site (www.response-o-matic.com). A submission should send the posted data to your unix id. Your individual pages should meet the strict xhtml validations. Include the validation logo and link if you are successful in doing this. When you are finished, send an email to me that has the appropriate subject line and contains a link to your web site.
HW#2: Pg 85 Chapter 2 Review Questions 2.1, 2, 7-14, 23, 25, 29, 31
Due Monday, Sept 13 - Please type your answers and submit them in class.
HW#1: Pg 23 Chapter 1 Review Questions 1.2, 4, 5, 7, 9, 12, 13, 14, 16, 20, 22, 24, 26, 27,
33
Due Monday, Sept 6 - Please type your answers and submit them in class.