Page Tools:
  • print-friendly version

C++ Language Essentials: A Laboratory Course

Author(s): Nell Dale, PhD, University of Texas, Austin
Details:
  • ISBN-13: 9780763708580
  • ISBN-10:0763708585
  • Paperback    138 pages      © 1999
Price: International Sales $58.95 US List
Add to Cart Request a Review Copy

Overview

C++ Language Essentials: A Laboratory Course provides the subset of C++ that is necessary for success in a data structure course. This lab manual is designed to be used to quickly teach the essentials of C++ to students who have learned programming in another programming language or to students who need to brush up on their skills. The text actively involves students in the learning process through reading material with self-check exercises, laboratory activities, and suggested programs done from scratch.

Download the student files

ShowKey Features

Four labs designed to quickly get students up to speed on the essentials of the C++ language.
The text was designed to allow the instructor maximum flexibility.
The text is designed with closed laboratory exercise, which are valuable for two reasons: the exercises themselves and the extra contact time with a faculty member or teacher assistant.

Back to top

ShowTable of Contents

Preface
Acknowledgements

Chapter 1: Getting Started with C++
C++ Syntax and Semantics
      Program Structures
      Data Types
      Operator Symbols
      Words and Symbols with Special Meanings
      Paper and Pencil Self Check #1
Arithmetic Expressions, Function Calls, and Output
      Preceding Rules
      Converting Numeric Types
      Value-Returning Functions
      Void Functions
      Output Formatting
      Paper and Pencil Self Check #2
Program Input
      Input Streams
      Keyboard Input Prompts
      Files
      Input Failure
      Creating a Data File
      Paper and Pencil Self Check #3
Lesson 1-1: C++ Syntax and Semantics, and the Program Development Process
Lesson 1-2: Arithmetic Expressions, Function Calls, and Output
Lesson 1-3: Program Input and the Software Design Process
Lesson 1-4: Debugging
Programs from Scratch

Chapter 2: Conditions, Logical Expressions, and Control Structures
Conditions and Logical Expressions
    Boolean Data Type
    Boolean Expressions
If-Then and If-Then-Else Statements
    Nested Logic
    State of an I/O Stream
    Test Plans
    Warning
     Paper and Pencil Self Check #1
Looping with the While Statement
    While Statement
    Types of Loops
    EOF Loops
    Proper Loop Operation
    Nested Loops
    Paper and Pencil Self Check #2
Additional Control Structures
    Break and Continue
    Multi-Way Branching: Switch
    Looping: Do-While
    Looping: For
    Paper and Pencil Self Check #3
Lesson 2-1: If-Then and If-Then-Else Statements
Lesson 2-2: Looping with the While Statement
Lesson 2-3: Additional Control Structures
Lesson 2-4: Test Plan
Lesson 2-5: Debugging
Programs from Scratch

Chapter 3: Functions, Scope, and Lifetime
Functions
     Defining Void Functions
     Physical Order and Logical Order
     Exiting a Function
     Functions with Parameters
     Local Variables
     Documentation of Functions
     Paper and Pencil Self Check #1
Scope, Lifetime, and Value-Returning Functions
    Scope of an Identifier
    Lifetime of Variables
    User-Defined Value-Returning Functions
    Paper and Pencil Self Check #2
Lesson 3-1: Functions
Lesson 3-2: Scope, Lifetime, and Value-Returning Functions
Lesson 3-3: Debugging
Programs from Scratch

Chapter 4: Simple Data Types and Arrays
Simple Data Types
     Numeric Constants
     Char Constants
     Char Processing
     Enumeration Types
     More on Type Coercion and Type Conversion
     Side Effects
     Paper and Pencil Self Check #1
One-Dimensional Arrays
    Arrays as Parameters
    Initialization of Arrays
    Paper and Pencil Self Check #2
Two-Dimensional Arrays
    Table Processing
    Multidimensional Arrays
    Passing Arrays as Parameters
    Paper and Pencil Self Check #3
Lesson 4-1: Simple Data Types
Lesson 4-2: One-Dimensional Arrays
Lesson 4-3: Two-Dimensional Arrays
Lesson 4-4: Debugging
Programs from Scratch

Paper and Pencil Self Check Answers
Appendixes
Glossary


Back to top

ShowAbout the Author(s)

Nell Dale, PhD-University of Texas, Austin


Nell Dale received a B.S. in Mathematics and Psychology from the University of Houston, a M.A. in Mathematics, from the University of Texas at Austin, and a Ph.D. in Computer Sciences from the University of Texas at Austin. Nell Dale has been on the faculty at the University of Texas, Austin since 1975. She teaches occasionally but concentrates on computer science education, writing, traveling, tennis, and bridge -- and her family of course.

Additional Titles by this Author

Back to top

ShowAppropriate Courses

  • CS1/CS101
  • Introduction to Programming in C++
  • Programming in C++

 

Back to top

ShowSamples & Additional Resources

ShowResources

Back to top
Stay Connected
Connect on facebook
Follow us on Twitter
Read our Blog