On This Page
Overview
The main points of this assignment are to:
- Use loops and conditional statements
- Work with Arrays
- Work with the Date object
^ top
Specifications
In this lesson, you learned a great deal about arrays, loops and conditional statements. However, the best way to learn anything is through self exploration.
- Take some time to create a single Web page, any original page but name it
index.html, and include in that page the following:
- At least three different arrays that are populated in some way
- At least one
for loop used to populate (add elements to) an array
- At least one
while loop used to output (display) the contents of one of the arrays
- At least three
if and two else statements
- If you use an external JavaScript file, you must name it
index.js.
- Once you complete this page, test your JavaScript to ensure it works without error.
Other Specifications
- Complete a README.txt file following the instructions for homework.
- Zip your files and submit the zipped archive file to WebCT as explained in the section of this document: What to Turn In.
^ top
Extra Credit
The following are worth extra credit points:
- Complete the Review Assignment for Tutorial 3 that starts on page JVS 143 of the textbook. You must follow the steps exactly and turn in all the files to make it work in your assignment zip file. (2 points)
- Complete Case Problem 1 of Tutorial 3 that starts on page JVS 146 of your textbook. Include the extra credit solution in your assignment zip file. (2 points)
Make certain that your README.txt file lists any extra credit attempted.
^ top
Grading Criteria
The instructor will evaluate your assignment using the following criteria. Each criteria represents a specific achievement of your assignment and has a scoring guide. The scoring guide explains the possible scores you can receive.
Some scoring guides have a list of indicators. These indicators are a sign of meeting, or a symptom of not meeting, the specific criterion. Note that a single indicator may not always be reliable or appropriate in a given context. However, as a group, they show the condition of meeting the criterion.
For information on grading policies, including interpretation of scores, see the course information page.
Using Arrays, Loops and Conditional Statements
- 1 point for each of the required JavaScript statements (10 possible).
- -2 points if there are any JavaScript errors on the page
- -1 point for using the wrong page name
REAME.txt File
- 2: README.txt file submitted with specified information included
- 1: README.txt submitted but some information was not included
- 0: No README.txt submitted
Extra Credit Review Assignment and Case Study
- 2: Shows complete mastery of the problem.
- 1: Shows some understanding of the problem.
- 0: Not submitted, no substantial work, or has major problems
Maximum Score: 12, plus extra credit
^ top
What to Turn In
Submit your assignment following the instructions for homework. Create a single zip file with the following:
README.txt file
- Your single web page, named
index.html, with the specified programming statements
- Any other files needed to support your single html page
- If you chose to complete the extra credit, then all the files needed for the extra credit to work correctly.
You must submit all the files needed for your assignment to work properly. Do not assume that the instructors has any files. Your assignment must work as submitted.
^ top
Home
| WebCT
| Announcements
| Schedule
| Room Policies
| Course Info
Help
| FAQ's
| HowTo's
| Links
Last Updated: October 22 2006 @13:21:06
|