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
You might also like to view...
Optional parentheses in expressions are said to be
a. redundant. b. binary operators. c. implied. d. declared.
What is the functionality of a prime program with no function nodes? _____
Fill in the blank(s) with the appropriate word(s).
An interface may contain:
(a) instance variables (b) primitive variables (c) constant variables (d) all of the above
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