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

1. It is not possible to use a relational operator and math operators in the same expression.
2. The If…Then…Else statement follows only one of the two paths.
3. The logical operators (And, Or, Xor, Not) combine two or more Boolean expressions.
4. If the Boolean expression on the left side of an OrElse operator is true, the Boolean expression on the right side of the Or operator will not be evaluated.
5. It is possible to compare the return value of a function call with another value, using a relational operator.


1. False
2. True
3. True
4. True
5. True

Computer Science & Information Technology

You might also like to view...

The first step in submitting your web site to search engines is to

a. join an affiliate program b. visit the search engine and submit your web site c. prepare your pages for search engines by adding keyword and description meta tags to your pages d. none of the above

Computer Science & Information Technology

(Tricky) What is the output of the following code:

``` #include using namespace std; int main() { int x[] = {120, 200, 16}; for (int i = 0; i < 3; i++) cout << x[i] << " "; } ``` A. 200 120 16 B. 16 120 200 C. 120 200 16 D. 16 200 120

Computer Science & Information Technology

A(n) ____________________ is a network device that connects one LAN segment to another and operates at the MAC sublayer of the OSI Data Link layer.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The maximum number of characters in a function name is ____.

a. 128 b. 256 c. 512 d. 1024

Computer Science & Information Technology