Which of the following statements about string compares is false?

A. If the two strings are equal, the result is true.
B. The first string is less than the second string if, starting from the beginning of the string, we find a character in the first string less than a character in the second string.
C. The first string is less than the second string if the end of the first string is detected before the end of the second string.
D. The first string is greater than the second string if, starting from the beginning of the string, we find a character in the first string greater than a character in the second string.
E. The first string is greater than the second string if the end of the second string is detected before the end of the first string.


Answer: A

Computer Science & Information Technology

You might also like to view...

Optional parentheses in expressions are said to be

a. redundant. b. binary operators. c. implied. d. declared.

Computer Science & Information Technology

What is the functionality of a prime program with no function nodes? _____

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

Computer Science & Information Technology

An interface may contain:

(a) instance variables (b) primitive variables (c) constant variables (d) all of the above

Computer Science & Information Technology

Match the following terms to their meanings:

I. Favorite II. Bookmark III. folder IV. Web site V. download A. process that allows one to view a Web page while offline. B. a link saved in Internet Explorer C. a link saved in Firefox D. way of organizing links E. group of related Web pages

Computer Science & Information Technology