1. Which of the following is correct if the data type for weight is num?A) weight = 2.75B) weight = 2.75C) weight = (2.75)D) weight = heavy2. What would be the output of the following expression if the temperature outside is 30 degrees?If temperature
1. Which of the following is correct if the data type for weight is num?A) weight = 2.75B) weight = 2.75C) weight = (2.75)D) weight = heavy2. What would be the output of the following expression if the temperature outside is 30 degrees?If temperature >=35 and temperature <= 55 thenoutput it is cold outsideelse output The weather is nice todayA) The weather is nice todayB) The temperature is 45C) it is could outsideD) none of the above3. Misuse of a languages grammar rules is called a (n) ____ error.A) illegalB) logicalC) syntaxD) semantic4. The body of a loop can contain only a limited number of statements.A) TrueB) False