Answer the following statements true (T) or false (F)
1. All of the relational operators are binary.
2. To check if a variable has a particular value, use the = relational operator, as in the statement
3. A pair of characters or a pair of string objects can be compared with any of the relational operators.
4. The rule for matching an else with an if is that an else goes with the last if statement before it that doesn't have its own else.
5. If the sub-expression on the left side of an || operator is true, the expression on the right side will not be checked.
1. TRUE
2. FALSE
3. TRUE
4. TRUE
5. TRUE
You might also like to view...
A stream is a one-way transmission of ____ between a source and a destination.
A. bits B. characters C. bytes D. words
Define and compare a network-based IDS (NIDS) with a host-based IDS (HIDS).
What will be an ideal response?
Write the equation of the line pictured in the graph.
What will be an ideal response?
What's a good way to correct a simple typing mistake on the previous command?
What will be an ideal response?