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

  Details of the task using tesco plc

Details of the task Using Tesco plc (www.tesco.com) as a case study, prepare a report of no more than 2,500 words that:

  Case study-strategy at virgin group

Analyse possible alternative strategies relating to substantive growth, limited growth or retrenchment A

  Carry out a pestel audit of angola

What potential obstacles might SINOPEC encounter as it attempts to integrate and expand its international presence? How can it overcome these obstacles?

  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?

  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.

  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 of the business of your choice

Report - Case Study of the Business of Your Choice,  This assessment requires you to identify and describe a notable example of business invention, entrepreneurship, or innovation of an existing business of your choice.

  Judge the extent to which the marketing plan at just us

From the case study, judge the extent to which the marketing plan at Just Us! is outdated. Propose two (2) ways that Just Us! could improve the customer experience and thus sustain future growth.

  Develop a set of own responsibilities objectives

Develop a set of own responsibilities and performance objectives and evaluate own effectiveness against defined objectives

  Advantages that small business would have in trade

What are some advantages and disadvantages that small business would have in international trade and is going international something only large and established businesses should pursue? Why or why not.

  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 ..

  Case study harley-davidson

When Harley-Davidson implements RFID, it will likely use the technology to help manage its relationships with its main customers, which are the local dealerships that sell motorcycles and use replacement parts in their shops.

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