Skip to main content

How To Think Like a Computer Scientist C++ Edition The Pretext Interactive Version

Section 8.12 Glossary

Glossary Glossary

structure.
A collection of data grouped together and treated as a single object.
instance variable.
One of the named pieces of data that make up a structure.
reference.
A value that indicates or refers to a variable or structure. In a state diagram, a reference appears as an arrow.
pass by value.
A method of parameter-passing in which the value provided as an argument is copied into the corresponding parameter, but the parameter and the argument occupy distinct locations.
pass by reference.
A method of parameter-passing in which the parameter is a reference to the argument variable. Changes to the parameter also affect the argument variable.

Reading Questions Reading Questions

1.

You have attempted 1 of 2 activities on this page.