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...

You can divide the slides into ____ to help organize the slides.

A. folders B. sections C. groups D. files

Computer Science & Information Technology

What actions can be performed once an alert has been triggered?

What will be an ideal response?

Computer Science & Information Technology

The smaller the company the ________ likely it will be that change control will be applied to the disaster recovery document when new software or hardware is acquired or retired

Fill in the blank(s) with correct word

Computer Science & Information Technology

In an assignment statement, the value appearing on the right of the equal sign receives the value of the object appearing to the left of the equal sign.

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

Computer Science & Information Technology