Open main menu

CDOT Wiki β

BTP200 Assignments 20141

Assignment 1 Q & A

1) Program Summary

In main

1.Use EAN module by calling
a.isValid
b.isRegistered


a. EAN module

1. Use "isValid" function to validate EAN input
2. Use "isRegistered" function to
a. Validate elements in EAN by using "Prefix" module
b. If "Prefix" module return true, copy element data to valuables in main


b. Prefix module

1. Use "load" function to load prefix database
2. Use "isRegistered" function to validate area
3. Use "minNoDigits" function to define publisher code
4. Use "isRegistered" function (*Different parameter) to validate publisher

Assignment 2 Q & A

Assignment 3 Q & A

Assignment 4 Q & A