logo

Crowdly

Browser

Add to Chrome

Assume a method (a constructor) for maintaining customer data that shall be test...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Assume a method (a constructor) for maintaining customer data that shall be tested.

The following customer data can be entered: 

  • Field 1: Customer-ID --> string with format = LNNLL where ‘L’ stands for letters from ‘A’ to ‘Z’, and 'N' for numbers from ‘0’ to ‘9’, respectively; 
  • Field 2: Birth-Year --> integer in the range [1900, 2100]; 
  • Field 3: Business-Area --> string with format = LL where ‘LL’ can be one of the following: ‘SE’ (for ‘South Estonia’) and NE (for ‘North Estonia’). 

The following error messages are generated, if incorrect input is typed in: ‘Incorrect Customer ID’, ‘Incorrect Birthdate’, and ‘Incorrect Business Area’.

Which of the following is the best ECP for input data? ‘Best’ means that the list of ECs is most complete and correct.

100%
0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.ut.ee?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome