Computer Science Fundamentals Software Engineering Objective
Feb 28, 2013

Consider the speciication of a program If the input value n is < 0, then an appropriate error massage must be printed. If n > = 0 and n < 20 then the exact value of n! must be printed if n> =20 and n =200 then a approximate value of n must be printed in floating point format, using some approximation from numerical calculus. Finally, if n> 200, the input can be rejected by printing an appropriate error massage. Choose the correct statement

Choose the correct answer:
A) The input domain can be divided into three classes: n<0, between 0 and n>200
B) The input domain can be divided into four classes : n<0, between 0 and < 20, n between 20 and 200 and n > 200
C) We cannot divide the infinite domain of the infinite domain of the inputs
D) The input domain can be divided into three classes: n=<0, between 0 and n>=200
Detailed Explanation

Option c is rigth answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback