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

  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.

  Brief description of the project objectives

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

  Using demorgan law to solve the problem

Using DeMorgan's Law, give an equivalent function for the following: f-(xy2--1-xi,)(y2+w+g)

  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.

  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.

  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.

  Discuss how the redesigned network needs to operate

Identify and describe which service would be the best fit with the needs of the mobile computing that the organisation is moving towards.

  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?

  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.

  What are the common manifestations of alcoholic cirrhosis

What are the common manifestations of alcoholic cirrhosis? Which of these are secondary to hepatocellular failure? Which are secondary to portal hypertension?

  The social economy: finding a way between market and state

Write 900 word summary for given case study. Summary should be less than 20%, more on your personal reflection and opinion.

  Explain the differences in the water level

Explain the differences in the water level, 80% of the nonconservers in the pairs reached conservation, whereas only 50% reached conservation in general education classroom instruction.

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