Professional Documents
Culture Documents
2,5,8,11,14,17,20,23,26,29
1,1,1,2,2,2,3,3,3,4
1, 4, 27, 256
P(x): x < x2
Correct answer is 4.
> A-B = {1,2,4,5}
> A U B = {1,2,3,4,5,6}
> B-A ={0,6}
> A ∩ B = {3}
The last choice is the answer. U = 1 2 3 4 5 6 7 8 9 10
001011000 0
TLDR: A n
The following are the definitions for different characteristics:
Explanation:
● Since the procedure has an input value 'n', hence, it has Input.
● Also, the steps are clearly and precisely defined in this procedure, it has Definiteness.
Explanation:
● Since the procedure has an input value 'n', hence, it has Input.
● The steps are clearly and precisely defined in this procedure, it has Definiteness.
● Also, we can see that the algorithm stops when the input value 'n' becomes less than
0 (means it becomes negative) and it is clear that eventually 'n' will become negative
because n is decreasing by 1 in every iteration causing the procedure to stop. Hence,
it has finiteness.
Explanation:
● Since the procedure has an input value 'n', hence, it has Input.
● The steps are clearly and precisely defined in this procedure, it has Definiteness.
● Also, since the procedure does not perform the while loop (because i is not defined),
and it only performs the step sum = sum+i; hence it has Finiteness.
Explanation:
● Since the procedure has input values 'a' and 'b', hence, it has Input.
● The procedure does not have any idea about how to perform the operation x:= either
a or b, so, this procedure won't perform any steps. Hence, it has Finiteness.
● Also, since this procedure can be applied and generalized for all the real numbers,
hence it has Generality.