Question 1
What is the main purpose of a string algorithm in AP Computer Science A?
Question 2
Which expression correctly gets the first character of the string $word$?
Question 3
What does $s.length()$ return for a string $s$?
Question 4
Which loop is most commonly used to examine each character in a string one by one?
Question 5
What does the expression $s.substring(2, 5)$ return?