Section 10.12 Vocabulary
- reference:
- A variable that βpoints toβ the storage location of another variable.
- alias:
- A variable that is essentially another name for some other variable.
- high-level code:
- Code that is responsible for the big picture. A relative term. A given function is higher level than functions it calls and is lower level than functions that call it.
- low-level code:
- Code that is responsible for small details. A relative term. A given function is higher level than functions it calls and is lower level than functions that call it.
- exception:
- A message indicating that a function encountered an error that prevented it from completing.
- throw:
- When a function produces an exception, we say it throws the exception.
- try:
- Starts a block of code where we are going to try to contain any exceptions that happen.
- catch:
- A statement attached to a
try
that handles a particular type of exception. - propagate:
- What happens when a function fails to
catch
an exception - it is passed up to the next higher function in the call stack.
You have attempted of activities on this page.