Open main menu

CDOT Wiki β

Changes

BTP200 Assignments 20141

100 bytes added, 17:34, 23 January 2014
Assignment 1 Q & A
<u>'''1) Program Summary'''</u><br><br>'''In main<br>'''''use : 1.Use EAN module by calling<br>1:: a.isValid<br>2:: b.isRegistered<br>
<br>
'''a. EAN module<br>'''
: 1. Use "isValid" function to validate EAN input<br>: 2. Use "isRegistered" function to<br>:: a. Validate elements in EAN by using "Prefix" module<br>:: b. If "Prefix" module to validate EAN and if validation passedreturn true, copy each element data to valublesvaluables in main<br>
<br>
'''b. Prefix module<br>'''
: 1. Use "load" function to load prefix database<br>: 2. Use "isRegistered" function to validate area<br>: 3. Use "minNoDigits" function to define publisher code<br>: 4. Use "is registeredisRegistered" function (* Different parameter) to validate publisher<br>
=== Assignment 2 Q & A ===