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.


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


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


What is algorithm to write algorithm to the program to access a pointer variable in structure?

Here is the algorithm of the algorithm to write an algorithm to access a pointer in a variable. Algorithmically.name_of_the_structure dot name_of_the _field,eg:mystruct.pointerfield


Which algorithm is more efficient lamport bakery algorithm or black and white bakery algorithm?

Black and White bakery algorithm is more efficient.