Reference no: EM13310491
• Concepts
• Your Task
• Submission
• Your Marks
• Two Reviews
• Criteria
Concepts
Before starting this assignment you should have completed Workshop 1-7.
In addition to previously covered material, this assignment will test your skill in the following areas.
• Selection
• Iteration
• Expressions
• Writing Functions
• Validation
• Booleans
• String Handling
Top
Validation in Forms
When you are joining a website, making a purchase, enrolling in subjects, etc you will have to interact with HTML forms. These forms generally operate by using javascript. It is typical for the javascript present in the web page to check most of the elements of the form in order to see if the entries are plausible, before submitting the data to a server for further checking and processing. Examples include:-
• Checking to see if your phone number resembles a phone number.
• Checking to see if your zip code or post code resembles a valid zip code or post code.
• Checking to see if your email address resembles a valid email address.
In this assignment you will write a program that will check the information for valid credit card.
Your Task
Refer to Assignment Technical Specification for the tasks you need to complete in the assignment.
Documentation and formatting
• Your functions should have a definition comment.
• Loops and selection statements should have their bodies indented and enclosed in { curly braces }.
• Within the code, blocks of statements should be commented. Do not comment each statement.
• The JavaScript should be ordered with constants first, then variables, then other statements.
• Use a single blank line to separate code blocks, and two or more blank lines to separate functions.
Top
Submission
Do not identify yourself in your source code file. The system will maintain your identity and keep the process of reviewing anonymous.
Upload the this file using the Submission Facility below, then proceed to completing reviews.
Top
This assignment will be marked out of 16 and scaled down to a mark out of 8.
If all criteria are satisfied you will receive 12 marks. If not all criteria are met, part marks may be given. Check your own submission against these criteria before you submit.
Completion of two reviews will earn 4 marks. Where it is obvious that a student has completed a review without examining the necessary file, review marks will be removed.
All submissions and reviews are candidates for random moderation. Where two reviews are conflicting, instructor moderation will be applied.
Top
Two Reviews
For this assignment you will be required to complete reviews of two students' assignments.
You will be asked to consider the criteria below when completing reviews.
Be sure you are accurate in completing your reviews. In your comment at the end of the review, explain exactly what tests were failed.
Take care to offer positive feedback and suggestions for improvement to your peers. They are learning, just as you are. You may describe how your code differed from theirs.
Create the relational model
: Create the relational model corresponding to the described application. Basically, list the CREATE TABLE statements with the attribute names, and appropriate data types.
|
Define a coin dealer offered a rare silver coin
: A coin dealer, offered a rare silver coin, suspected that it might be a counterfeit nickel copy. The dealer heated the coin, which weighed 18.0 g to 100°C in boiling water and then dropped the hot coin into 26.5 g of water at T = 16.5°C in an insu..
|
Determine the required source temperature of heat sink
: A Carnot heat engine is supplied with a high temperature heat source at a rate of 200 kW. If the power output of the heat engine is 120 kW, determine the required source temperature if the heat sink temperature is 20 °C.
|
Explain the homo and which is the lumo in the excited state
: Which MO is the HOMO and which is the LUMO in the excited state 5. How many nodes does the highest-energy molecular orbital of 1,3,5,7-octatetraene have between the nuclei
|
Use a single blank line to separate code blocks
: Do not identify yourself in your source code file. The system will maintain your identity and keep the process of reviewing anonymous. Upload the this file using the Submission Facility below, then proceed to completing reviews.
|
Demonstrate six sigma proficiency
: Demonstrate Six Sigma proficiency
|
Determine amount of coal used per day if heat of combustion
: A coal fired power plant can be modeled as a heat engine. If the power output of the plant is 200 MW and the thermal efficiency is 42%, determine the amount of coal used per day if the heat of combustion from the coal is 24,000 kJ/kg.
|
How to calculate the work done by the gas
: Calculate the work done by the gas if it expands against a constant pressure of 5 atm. -Answer is -1.14x10^4 J but just need to know how to get there.
|
Calculate the decay rate of radon in units of hr-1
: Indoor Air quality is greatly affected by Radon, which can cause lung cancer. When we moved to Colorado, we tested the house for Radon and installed a radon mitigation system.
|