REQUIREMENTS ENGINEERING
REQUIREMENTS VALIDATION AND VERIFICATION
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Given the range check validation statement to identify if the age belongs to Generation X:IF age >33 AND <48input = 40Is it accepted or rejected?
|
Accept (Valid)
|
|
Reject (Invalid)
|
|
Either A or B
|
|
None of the above
|
Explanation:
Detailed explanation-1: -One solution is to subtract the number of days in 18 years (6570) from today’s date and compare it to the date of birth field. With this, we can dynamically check if the user 18 years old.
Detailed explanation-2: -Range Check A range check will verify whether input data falls within a predefined range. For example, latitude and longitude are commonly used in geographic data. A latitude value should be between-90 and 90, while a longitude value must be between-180 and 180.
There is 1 question to complete.