Skip to main content
Contents
Dark Mode Prev Up Next Scratch ActiveCode Profile
\(
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\)
Section 7.16 Glossary
Glossary Glossary
object.
A collection of related data that comes with a set of functions that operate on it. The objects we have used so far are the
cout
object provided by the system, and
string
s.
index.
A variable or value used to select one of the members of an ordered set, like a character from a string.
traverse.
To iterate through all the elements of a set performing a similar operation on each.
counter.
A variable used to count something, usually initialized to zero and then incremented.
increment.
Increase the value of a variable by one. The increment operator in C++ is
++
. In fact, thatβs why C++ is called C++, because it is meant to be one better than C.
decrement.
Decrease the value of a variable by one. The decrement operator in C++ is
β
.
concatenate.
To join two operands end-to-end.
Reading Questions Reading Questions
1.
Match the definition to the term.
Try again!
object
A collection of related data that comes with a set of functions that operate on it.
index
A variable or value used to select one of the members of an ordered set, like a character from a string.
traverse
To iterate through all the elements of a set performing a similar operation on each.
counter
A variable used to count something.
increment
Increase the value of a variable by one.
decrement
Decrease the value of a variable by one.
concatenate
To join two operands end-to-end.
You have attempted
of
activities on this page.