Q1. How to determine the 'truth' of any value of non-boolean type? The rules are as follows: A number value is false if it is exactly equal to zero and, otherwise, true. If the string value is empty, has no characters, or is '0', it is false and, otherwise, true. Null-type values are always considered false. If the array value has no other values, it is false. Objects containing value refers to a member variable [...]