Exercise 1
Is 25 greater than 20? Write the boolean result.
Definition:
Boolean Expression: A statement that evaluates to either TRUE (1) or FALSE (0)
Boolean evaluation method:
- Compare the numbers
- Determine if the statement is true or false
- Represent as 1 (true) or 0 (false)
- Combine with place value concepts
Step 1: Analyze the statement
Is 25 greater than 20? We need to compare 25 and 20
Step 2: Compare tens digits
25 has 2 tens, 20 has 2 tens. Since 2 = 2, compare ones
Step 3: Compare ones digits
25 has 5 ones, 20 has 0 ones. Since 5 > 0, 25 > 20
Step 4: Evaluate boolean expression
Since 25 > 20 is true, the boolean result is TRUE (1)
25 > 20 = TRUE (1)
Final answer:
The boolean result is TRUE (1)
Applied rules:
• Comparison Rule: Compare tens first, then ones
• Boolean Logic: True statements = 1, False statements = 0
• Place Value: Tens place is worth 10 times more than ones