Self Answer Key: Comparison Quiz
1) a > b; 15.4 greater-than 5.6? True. 2) c > a; 9.8 greater-than 15.4? False. 3) A == a; Error, variable A not defined. 4) (a > b) || (b < c); (15.4 greater-than 5.6) or (5.6 less-than 9.8) true or true ? True. 5) b = 5.1; Error, not a comparision. 6) b == 5.6; 5.6 equal to 5.6? True. 7) !(c < a) not (9.8 greater-than 15.4) not true ? False. 8) (c < a) && (b > a); (9.8 less-than 15.4) and (5.6 greater-than 15.4) true and false ? False. 9) !(b != b) not(5.6 not equal 5.6) not( false )? True.