go to previous page   go to home page   go to next page highlighting

Answer:

Yes

Yes

Yes


String Equality

Look at some strings and decide if they are equal. Two strings are equal if they are the same length and have the same characters in the same order.

StringYes/No
is "apple" equal to "apple" ?
is "apple cart" equal to "applecart" ?
is "Apple" equal to "apple" ?
is "apple" equal to "" ?
is "" equal to "" ?

QUESTION 15:

Is this string: "Xqovrfiwur0 ksduiowojsdsxx yyyx ,.sd+^% xanpo ,,woath wu,bny"

equal to this string: "Xqovrfiwur0 ksduiowojsdsxx yyyx ,.sd+^% xanpo ,,woath wu,bny" ?

Hint: the tails of the two strings are equal.


go to previous page   go to home page   go to next page