You are on page 1of 1

Keth Iralex Cabalda BES 043

COC-FA-BSCE2-04 Module #7

Boolean expressions and the if Statement

Activity 1: What I Know Chart

1. Is the “if” statement the same as the Ternary Operator?


- Yes

2. Is the symbol = the same with the equality condition operator?


- No, the same with the equality condition operator is “ == “.

3. How can a computer decide?


- It depends on Computer System, or the code that you give.

Activity 5: Check for understanding

1. 5
2. Yes, if (x>=b); is valid
3. If statement
4. X
5. True
6. Zero
7. 5
8. Below
9. < , > , <= , >= , == , /=

Activity 6: Thinking about Learning

Three things you learned:


1. I learned a little how to write programs
2. I learned a little to trace C++ statements with the simple if statement
3. I learned how to write programs with condition.

Two things that you’d like to learn more about:


1. More about writing programs (not simple programs)
2. More examples in tracing C++ statements.(not simple if statements).
One question you still have:
1. Can we process more than one statement inside the if statement's body?

You might also like