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

1) String method capitalize returns a new string where the first character of each word in the string is the one and only uppercase character in the word.
2) String method find searches a string for a substring and raises a ValueError exception if the string does not contain a substring.
3) Method rindex returns the highest index at which the specified substring begins.
4) Most string methods modify the string in-place.
5) Any string can be treated as a regular expression.


1) F
2) F
3) T
4) F
5) T

Computer Science & Information Technology

You might also like to view...

c. C initially became widely known as the Windows operating system’s development language.

a. structured programming b. simulation c. object-oriented programming d. None of the above.

Computer Science & Information Technology

In the figure above, the item numbered 2 indicates the ____.

A. XML parser B. DTD declaration C. DTD id D. XML prolog

Computer Science & Information Technology

A color scheme consists of four colors for a background and text.

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

Computer Science & Information Technology

Colleen is conducting a business impact assessment for her organization. What metric provides important information about the amount of time that the organization may be without a service before causing irreparable harm?

A. MTD B. ALE C. RPO D. RTO

Computer Science & Information Technology