Is this the right place to say that there is something wrong about them?
19. Which of the following cannot be used to test if a variable is any of 1, 2, 3, or 4?
1. If sum(A={1,2,3,4
2. If (A=int(A))(A>=1)(A<=4)
3. If A={1,2,3,4}
4. If A(int(A)=A)(A<5)Answer:If A={1,2,3,4} because the If command does not work with lists.
The fourth one also says true if the variable is negative
23. True or False: The following is an alternative to using the and operator.
:If Anot(B
Answer:True. Remember that multiplication is implicitly done on the TI-83 calculators.
That's no AND operation to me… Or did they mean and operation between A and not(B)? If so a better question would be 'is the following a good alternative for 'If A And not(B' ?