Write out your answers for these questions on a separate piece of paper.
string is a sequence of ____________.
The first character of a
string is at index ____________.
Question #3: Many data types in C++ are implemented in ____________, which ____________ both data and actions.
Question #4: A(n) ____________ implements an operation of a class.
Question #5: The ____________ statement allows a program to selectively execute other statements.
word is some
string initialized to some
Write an expression that evaluates to the first character of
Write an expression that evaluates to the size of
Write an expression that compares if
word is less than
anotherWord (which is also a
Write an expression that evaluates to the first three characters of
word (a substring). Assume that
word is at least
three characters long.
Write an expression that indicates where one of
z (upper or lowercase) first occurs in