CS 23021: Laboratory
Problem Solving with C++,
Walter Savitch
Many thanks to Mike Collard Ph.D. and Dale Haverstock, Kent State University for Lab1 and Lab2.
Thanks to Shannon Steinfadt for her reviews.
Many thanks to Rahman Tashakkori, Ph.D., Appalachian State University
,Boone,
NC 28608
for the Lab Manual.
Labs have been modified, corrected and revised by Angela Guercio
|
|
Lab 1 | Title: Programming Environment Experiments Lab Notebook Sample Lab Report |
Lab 2 |
Title: Introduction to Programming
|
Lab 3 |
Title: C++ basics - Flow of Control Activity 3.1 - Variables and Assignments Activity 3.2 - Simple Flow of Control. if Statement. if ... else Statement Activity 3.3 - Simple Flow of Control. while ... loop Statement. do ... while Statement Activity 3.4 - Simple Flow of Control. Conditional while and do ... while loops Post_lab - Computing the Cost of a Phone Call |
Lab 4 |
Title: More flow of control
Pre_lab Activity 4.1 - Boolean Expressions Activity 4.2 - if ... else if ... else and switch statements Activity 4.3 - for statement Activity 4.4 - Blocks and scope of a variable in a block Post_lab - A Calendar |
Lab 5 |
Title: Procedural Abstraction and Functions That Return a Value
Activity 5.1 - Predefined Functions Activity 5.2 - Type Casting Activity 5.3 - Functions that return a value Activity 5.4 - Function Overloading Procedural Abstraction Post-lab |
Lab 6 | Title: Functions for all Subtasks
Activity 6.1 - Void Functions Activity 6.2 - Functions that "Return" more than a Value (Call-by-Reference) Activity 6.3 - Functions Calling Another Function Post-lab |
Lab 7 | Title: Multiple Files, Make, and Debug Activity 7.1 - Separate Files Activity 7.2 - Make and Makefiles Activity 7.3 - Debug your Programs Post-labs |
Lab 8 |
Title: I/O Streams
|
Lab 9 | Title: Arrays
|
Lab 10 | Title: Strings
|
Lab 11 | Title: Defining Classes Activity 11.1 - Structures Activity 11.2 - Classes Post-lab - Class and Struct Topic Review |
Lab 12 | Title: Constructors, Classes and Graphics
Activity 12.1 - Constructors Activity 12.2 -Working with Graphics - The use of a Graphics Library Activity 12.3 - (Optional for Extra Credit) Animation - Creating a Ping Pong Game |