



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Name: ...................................................................................................... Class: ......................
The below table shows a number of values. For each one, choose the correct data type used to store it. The first row has been completed for you. Value Data type Value Data type 3 Integer 'A' Character TRUE 3. -6 '4' "Hello" FALSE -3.0 "P"
The below table shows a number of Boolean expressions. For each one, state whether it evaluates to TRUE or FALSE. The first row has been completed for you. Expression Evaluates to… Expression Evaluates to… 5 > 2 TRUE 80 < 80 FALSE 24 + 1 <= 25 16 – 1 < 16 5^2 == 25 3 >= 3 5 != 3 "Hel" + "lo" == "Hello" 2 == '2' age == age + 1