answersLogoWhite

0

Once an algorithm has been devised it become necessary to show that it works it computer the correct to all possible, legal input. One simply way is to code into a program. However converting the algorithm into program is a time consuming process. Hence,it is essential to be reasonably sure about the effectiveness of the algorithm beforeit is coded. This process, at the algorithm level,is called"validation". Several mathematical and other empirical method of validation are available. Providing the validation of an algorithm is a fairly complex process and most often a complete theoritical validation though desirable, mey not be provided. Alternately, algorithm segment,which have been proved elsewhere may be used and the overall working algorithm may be empirically validated for several test cases.Such method,although suffice in most cases,may often lead to the presence of unidentified bugs or side effect later on.

And

The process of measuring the effectiveness of an algorithm before it is coded to know the algorithm is correct for every possible input.This process is called validation. Example :-

This article describes the algorithms for validating bank routing numbers and credit card numbers using the checksum built into the number. While they differ in how they are generated, the technique used for both is similar.

by Niraj Sharma

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

How can one validate the designed algorithm?

Providing validation of an algorithm, is a fairly complex process, and it may not be possible, to provide a complete theoretical validation in all cases. Alternately, algorithm segments, which have been proved else where, may be used, and the over all working algorithm, may be empirically validated, for several test cases.


What could be the reason for the request validation failed error with the keyword 2094, specifically mentioning that the card Luhn check failed?

The reason for the request validation failed error with keyword 2094 could be due to the card failing the Luhn check, which is a mathematical algorithm used to validate credit card numbers.


What are the five main types of validation checks?

types of validations are: required field validation range validation pattern matching validation database specific validation numeric validation


What could be the reason for the request validation failed message, specifically mentioning that the card Luhn check failed?

The request validation failed message may appear because the card failed the Luhn check, which is a mathematical algorithm used to validate credit card numbers. This could be due to a typo in the card number or an issue with the card's data.


What is theDifference between concurrent and prospective validation in pharmaceutical?

If a validation study is conducted before placing a product in the market, then it is called prospective validation. If a product is placed on the market during the validation study, it is called as concurrent validation.


Why did the card Luhn check fail during the transaction?

The Luhn check failed during the transaction because the credit card number entered did not pass the algorithm's validation process, indicating a potential error or fraud in the card number.


What is design validation?

What is design validation in quality management system


What is the message that will appear if a user violates a validation rule?

validation text


Who should perform the validation test?

Developer perform the validation test


What is code validation in Matlab and Simulink?

i want to do validation to my image folder


How do you add of a validation rule?

You can add a validation rule to a field in your table's Design View. Select your field in Design View and look for the Validation Rule field at the bottom of the screen. This is where you can enter a validation rule for your field.


A sentence with validation?

You need to insert your EMail address for security/validation purposes