Instructor: Marko Puljic
Office Room: GOH 107D
Office Phone: (901) 435 1399
Office Hours: MWF 11:30 a.m. to 1 p.m., & 1:50 p.m. to 4 p.m.
Email Address: marko_puljic@loc.edu
Credit Hours: 3
Prerequisites: ITEC120, ITEC240
Text:
Weaving a Website: Programming in HTML, Java Script, Perl and Java, Susan Anderson-Freed
Course Description:
This course covers planning, creating, and maintaining web pages using HTML, XHTML, Cascading Style Sheets, and web page authoring software. Students will gain hands-on experience in creating static web pages include text, images, tables, forms, frames, sound, video, animation and basic JavaScript. Three hours of lecture per week. Prerequisites: ITEC 120. Fall or Spring.
Evaluation:
homeworks (8) every other Wednesday; 20% all
4 or more programing assignments; 40% total
2 tests (midterm on 03/12/2009 and final); 20% each (final: April 28th from 1pm to 2:50pm)
90-100->A, 80-90->B, 70-80->C, 60-70->D, else F
Provide a link for each homework/assignment and send it to marko_puljic@loc.edu before a lecture starts on the specified date.
Homework 1 due 02/03/2009; create a web site with table (10 cells min), map (4 areas min), and form (4 elements min).
Homework 2 due 02/12/2009; add to you web site php function that, based on the time of the day, greets the visitor (or function of your choice that takes argument(s)).
Homework 3 due 02/24/2009; demonstrate a use of cookies with any example (example of your choice).
Assignment 1 due 02/26/2009; create an on-line quiz 2 web-sites long and 5 multiple choice questions of your choice on each web site. Questions should be about class material we have cover so far. On the second page, the submit button needs to produce a score. Web quiz cannot last longer then 30min (need to use cookies for this).
Homework 4 due 03/10/2009; Using javascript, create a page that asks the user two true/false questions. Print out a message that indicates whether an expression formed from the two statements is true or false.
Homework 5 due 03/12/2009; Using javascript, crate a page that asks the user to enter a value for n. Write an error loop to make sure that n is numeric. Generate the Fibonacci number for n. fib(0)=1, fig(1)=1, n>1 -> fib(n)=fib(n-1)+fib(n-2).
Assignment 2 due 03/26/2009; Figure 14.50 on page 333 contains a picnic questionnaire. (1) Create a java script that reproduces this page. (2) Revise the questionnaire so that it contains a set of radio buttons of entry choices (e.g., hamburgers,pizza,tacos). Also, add a set of checkboxes that asks for the favorite soft drink.
Homework 6 due 04/02/2009; Do assignment 2 in javascript and print the questionnaire answers to a new website which sumarize the answers (with javascript). On the new page have a final buttons for submission or cancelation. If the submission button is pressed append the results to a file which collects the questionnaire results (file in your public_html). If the cancelation button is pressed the questionnaire page needs to load again with all the fields having the originaly typed values.
Assignment 3 due 04/07/2009; Create a database named after your user name using mysql. Database should have 2 tables with at least 40 records each. Choose your own 'topic' for the database. After that, create a web site with a button which calls a php script that prints all the entries of both tables on a new web site.
Assignment 4 and Homeworks 7 and 8 due 04/23/2009 (15% of total grade);
1st part - mySQL part: Create a table (with mysql) of questions about web programming; 10 questions about php, 10 about java script, 10 about mySQL, and 10 about cgi (40 total). Each question needs 5 choices for possible correct answer. Also, each question needs a description that explains the topic it covers, and the difficulty level (make the difficulties between 1 and 5 and equal number of questions at each level of difficulty).
2nd part - java script part: Design an on-line test 4 pages long and 2 questions per page. At the intro page make sure a test taker puts his/her name and selects which topic he/she is tested on; php, java script, mySQL, or cgi. For each test page (1-4) generate 2 random questions within the selected topic (do not repeat the questions in the test). At any page of the test, give options to return to any of the 4 test pages for possible corrections on the questions alrady taken. At the last page of the test, create the options that submits the test results or cancels the test. This part has to be done in java script, except the submit and cancel button functions.
3rd part - php or cgi part: On a click of a cancel button, append to a file on a server the test taker name, time it took for the test, and the questions taken. On a click of a submit button on the last page of the test, append the test answers and questions to a file on a server, so you can read the answers. Make sure that your script calculates the grade and the time it took to take the exam. Append the grade and the time to the file as well. Also, when the submit button is clicked you want to show the score and time taken for the test to the test taker on the web site. This part can be done with any tool you've learned in this course.
Resources
program to connect from windows machine to sodas.cs.memphis.edu: ssh
author's site
some class codes
some class codes 2
mySQL