which of the following is not a boolean expression
Answers
Answered by
0
Explanation:
Surprise for all 10 th class students. I can enroll you in edumantra courses without any fees . so if you want to enroll yourself please co me here ( eue-apjz-dro )
Answered by
0
Q) Which of the following is not a boolean expression
a) True.
b) 3 = = 4.
c) 3+4.
d) 3+4 == 7.
Option (c) 3+4, is not a Boolean expression.
- Either True or False is the result of a boolean expression.
- The expressions used for the comparison of data, without depending on its data type.
- Result of such expression is either True or False.
- To compare two values, the equality operator "==" is used, in option (b) 3 == 4, it compares the two values on each side. and return True or False as the result.
- Option (d) 3+4==7, also compares the value of one side to the other side and returns the result as True or False. So this is also a Boolean expression.
- But in option (c) 3+4, it produces the result as 7, it is a number, not a boolean value.
#SPJ3
Similar questions