The expression str1 < str 2 is true when
A) the string object str1 precedes the string str 2 in alphabetic order.
B) the string str1 converted to numeric form is less than the string str2 converted to numeric form.
C) the length of the string str1 is less than the length of the string str2.
D) the C-string "str1" precedes the C-string "str2" in alphabetic order.
E) None of the above
A) the string object str1 precedes the string str 2 in alphabetic order.
You might also like to view...
________ functions enable evaluation and choices to be integrated into an Excel spreadsheet
A) Logical B) Conditional C) Decision D) Comparison
Answer the following statements true (T) or false (F)
1. When constructing a recursive solution, you should assume that a recursive call’s postcondition is true if its precondition is true. 2. Every recursive method must have a base case. 3. A recursive solution can have more than one base case. 4. The binary search algorithm can be applied to an unsorted array. 5. The base case for a recursive solution to finding the kth smallest item in an array cannot be predicted in advance.