Use a single blank line to separate code blocks

Assignment Help Case Study
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.

Reference no: EM13310491

Questions Cloud

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.

Reviews

Write a Review

Case Study Questions & Answers

  Intergroup relations-experiencing subtle racism

What social issue are you discussing and how will you defend this statement - Defend the usefulness of this theory - write a paper that integrates concepts and ideas discussed in the lectures.

  Discuss critically infosys current and future strategy

Discuss critically Infosys current and future strategy. What advice would you give Kris Gopalakrishnan and KShop has resulted in information overload among staff. What operational measures would you suggest to overcome such challenges?

  Ebay inc internet success or fairy tale

Read the case study "eBay Inc.: Internet Success or Fairy Tale? "and answer the question below,   Use the 2002 financial statement data to replicate the Meyer's report calculations that illustrate the conclusion based on the 2001 data reached in the ..

  Mintendo game girl case study

Which option delivers the maximum profit for the supply chain: Sandra's plan, Bill's plan, or no promotion plan at all? How does the answer change if a discount of $10 must be given to reach the same level of impact that the $5 discount received?

  Read natasha kingery case and answer the questions

Read the DATA CASE on pages 126-127 about Natasha Kingery who is considering furthering her education and is seeking financial advice. Determine the interest rate she is currently earning on her inheritance by going to Yahoo!

  Case study zero-effort crowdsourcing for indoor localization

Radio Frequency (RF) fingerprinting, based onWiFi or cellular signals, has been a popular approach to indoor localization. However, its adoption in the real world has been stymied by the need for sitespecific calibration.

  Brief description of the project objectives

Development of new software to address green computing for internal use and potential sale to other organizations.

  Area of collection and insurance processing

How would Michele use her practicum experience to help her concentrate on improving her skills in the area of collection and insurance processing?

  Evaluate the information received in the survey

Evaluate the information received in the survey (Please assume a questionnaire survey was conducted from university students about the issue), identify alternative courses of action and make recommendations in a formal report.

  Obtain a copy of a written contract

Obtain a copy of a written contract that is available in Australia from the net or another source. For example you could download one of the many online contracts you are asked to agree to before accessing a site or entering an online contract.

  Write health informatics in australia

Please write health informatics in Australia - Is the Biggest Security Threat to Medical Information Simply a Lack of Understanding?

  Colonial broadcasting company case

Colonial Broadcasting Company Case, arbara Warrington, Vice-President of Programming at Colonial Broadcasting Company,  Warrington thought that Gold would probably try to sell to CBC a movie idea based on the true story of a young boy who overcomes a..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd