Answer the following statements true (T) or false (F)

1. If the expression on the left side of the following is true, the expression on the right side will not be checked.
(a > = b) || (c == d)

2. If the expression on the left side of the following is false, the expression on the right side will not be checked.
(a > = b) && (c == d)

3. The default section is required in a switch statement.
4. An expression that has any value other than 0 is considered true by an if statement.
5. Both of the following if statements perform the same operation.
1. if (sales > 10000)
commissionRate = 0.15;
2. if (sales > 10000) commissionRate = 0.15;


1. T
2. T
3. F
4. T
5. T

Computer Science & Information Technology

You might also like to view...

________ are very expensive, complex computer systems used in university and medical research applications and for weather forecasting

A) Supercomputers B) Enterprise computers C) Minicomputers D) Mainframe computers

Computer Science & Information Technology

The NOW function has one argument

Indicate whether the statement is true or false

Computer Science & Information Technology

Worms often try to disguise their origins by using a bogus IP address instead of using an authorized IP address belonging to the network.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

A message that displays when the user enters invalid data in a cell containing a validation rule.

What will be an ideal response?

Computer Science & Information Technology