Web Items for C++: An Introduction to Computing 3e
by Joel Adams and Larry Nyhoff
Department of Computer Science
For many of the chapters in
C++ An Introduction to
Computing, (3rd Ed., Prentice
Hall, 2002) by
Joel Adams
and
Larry Nyhoff, there is supplementary
material on the book's Web site. These items are marked in the text with
the following Web icon.
This page provides access to these items.
Some additional items will be added also, and will appear at the
end of this list.
-
CaseStudy1.3.pdf: Complete description
and solution of Case Study 1.3: Revenue Calculation. Source code
is also available in SourceCode.
-
POP-EthicsAndIssues.pdf: The complete
Part
of the Picture: Computer Ethics section by Ann Marchand. Highly
Recommended!
-
CodesOfEthics.pdf: The preceding Part
of the Picture notes that professional societies have adopted and instituted
codes of ethics for their members. Summaries of the codes of conduct for
computing professionals published by the following three major organizations
are given here:
-
The Association for Computing Machinery (ACM)
-
The Institute of Electronic and Electrical Engineers (IEEE)
-
The Data Processing Management Association (DPMA)
These codes describe the computer professional's obligations to society,
employers, clients, coprofessionals and professional societies.
-
NumberSystems.pdf: It is noted in several
places in the text that a binary scheme having only the two binary digits
0 and 1 is used to represent information in a computer. In Chapter 2, the
section Part of the Picture: Data Representation briefly described
such binary representation. This file describes binary, octal, and hexadecimal
representation in more detail and also two's complement representation
for integers.
-
CaseStudy4.5.pdf: Complete description
and solution of Case Study 4.5: An Eight-Function Calculator. Source
code is also available in SourceCode.
-
POP-ComputerArchitecture.pdf:
The complete section Part of the Picture: Computer Architecture
by William Stallings that gives a thorough introduction to computer architecture.
-
CaseStudy7.7.pdf: Complete description
and solution of Case Study 7.7:Calculating Depreciation. Source
code is also available in SourceCode.
-
MoreAboutFunctionParameters.pdf:
This describes two other function parameter-passing mechanisms:
- Default Arguments
: Default values can be specified for
parameters for which there is no corresponding argument
- The Ellipsis Mechanism
: Allows functions to have any number of arguments
An example of polynomial evaluation is used to illustrate these; code is given
in
SourceCode.
-
POP-NumericalMethods.pdf: The
complete section Part of the Picture: Numerical Methods.
It describes the trapezoidal method for approximating the area under a
curve. It then completes the OCD for the road-construction problem and
presents a program that solve the problem. Source code is also available
in SourceCode.
-
POP-Databases.pdf: The complete section
Part of the Picture: Database Systems by Keith Vander Linden. Source code
is also available in SourceCode.
-
CaseStudy12.4.pdf: Complete description
and solution of Case Study 12.4: Geological Classification, with
a lot of source code, which is also available in SourceCode.
-
CaseStudy13.4.pdf: A description
of how to build a Matrix class using two-dimensional vectors.
There is also a description of the Gaussian
Elimination method of using matrices to solve systems of linear
equations, including source code implementing this by using the Matrix
class in SourceCode.
-
CartesianSystem Class: Source code
and documentation for the CartesianSystem class used in the Part
of the Picture: Computer Graphics section is available in SourceCode.
There is also a collection of color screen snaps of the graphical
output produced by the example graphics programs.
-
POP-TCP-IP.pdf: A Part of
the Picture: TCP: The TCP/IP Communications Architecture section by
William Stallings that describes TCP/IP in considerable detail.
-
STL-List-14.4.pdf: Additional
information about the STL list<T> introduced in Section 14.4.
-
RecursiveBones.pdf: An expanded
version of the Example: Dry Bones! in Section 15.4 that contains
more about the history and purpose of spirituals. It also shows how to
develop a recursive algorithm to generate the lyrics of this song. An implementation
of this algorithm is in SourceCode.
-
BST Class Template: Complete
code for a BST class template is given in SourceCode.
-
STL-Trees.pdf: This contains an introduction
to two of STL's associative containers, set<T>
and
map<T1, T2>, and illustrates their
use with examples, for which source code is given in SourceCode.
Additional Items:
-
Exceptions.pdf:
This is a brief
description of how exceptions are used in C++.
For information about the Department of Computer Science
at Calvin College, contact
Joel Adams.