EGR 125 – Introduction to Engineering Methods

(C++ Programming for Engineers)
Tidewater Community College Engineering Program
Instructor:  Paul Gordy

Available Information:
Syllabus – Spring 2020, Section D01B (8:30 – 10:45 am)
Assignments
Lecture Notes
Miscellaneous Documents
Contact Paul Gordy: 
PGordy@tcc.edu

Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: Go to Adobe Acrobat download site

Many documents below are in .PDF format which can be viewed and printed using Adobe Acrobat Reader.  To download the free copy of Adobe Acrobat Reader, select the image to the left.


Assignments
There are two types of homework assignments in this course.
1)  MyProgrammingLab – these are short exercises to help you get familiar with new material.  If you purchased a textbook at the TCC bookstore, it should have come with an access code.
     If not, you will need to purchase one online at www.MyProgrammingLab.com
     Check the course syllabus for the MyProgrammingLab CourseID.  You will need this the first time you register.
     Log in to MyProgrammingLab to check due dates for each chapter and to complete each assignment. 
     These assignments are generally due the class before the Homework Assignments (below).
     Getting Started With My Programming Lab – short PowerPoint presentation
2)  Homework Assignments – These assignments are short programming exercises that are to be completed and submitted by hand during class. 
      Many of the problems are from the textbook.  The assignments are listed below. 
      Check the Course Information (syllabus) link to see when each assignment is due.

 

Homework Assignment (Set A) – check with your instructor to see which set to use

Homework Assignment (Set B) – check with your instructor to see which set to use

(Use this set for Paul Gordy’s Spring 2020 course)

Chapter 2 Homework – Elementary Programming

Chapter 3 Homework – Selection Structures

Chapter 4 Homework – Math Functions, Characters, Strings, and Formatted I/O

Chapter 5 Homework – Looping Structures

Chapter 6 Homework - Functions

Chapter 7 Homework – Single-Dimensional Arrays

Chapters 8 & 12 Homework – Multidimensional Arrays and Vector Class

Chapter 13 Homework – Data Files

Chapter 10 Homework - Strings

Chapter 9 Homework - Classes

Chapter 11 Homework - Pointers

Chapter 2 Homework – Elementary Programming

Chapter 3 Homework – Selection Structures

Chapter 4 Homework – Math Functions, Characters, Strings, and Formatted I/O

Chapter 5 Homework – Looping Structures

Chapter 6 Homework - Functions

Chapter 7 Homework – Single-Dimensional Arrays

Chapters 8 & 12 Homework – Multidimensional Arrays and Vector Class

Chapter 13 Homework – Data Files

Chapter 10 Homework - Strings

Chapter 9 Homework - Classes

Chapter 11 Homework - Pointers

 

Programming Projects

These are major programming projects that typically involve hundreds of lines of code.  Electronic copies are submitted via Blackboard and paper copies are also submitted by hand (See links below regarding format and how to submit projects in Blackboard).

(Instructors may mix and match assignments.  Be sure to select the correct project assigned by your instructor.)

Project #1A (Electric Power Bill)

Project #1B (Natural Gas Bill)

Project #1C (Static Friction)

Project #1D (Triangle Solver)

Project #1E (Circle Geometry)

Project #2B (Vehicle Fuel Economy)

Project #2C (AC Circuit Analysis)

Project #2E (Beam Deflection)

Project #2F (Unit Conversion Table)

Project #3A (Resistor Color Code)

Project #3B (Vehicle Track Performance Tests)

Project #3C (Projectile Motion)

Project #3D (Electricity Generation)

Project #3E (Wire Resistance)

Project #4A (Resistor Color Code Class)

Project #4B (Text Messaging)

Project #4C (TicTacToe)

Project #4D (Name The State Game)

Project #4E (Name The President Game)

Project #4G (Running Log)

Format for Programming Projects

Submitting Projects Using Blackboard

 

Return to top of page


PowerPoint Presentations (Introduction to Programming with C++, 3rd Edition by Liang)
Select the presentation that you wish to view.   It is recommended that you print out the notes prior to class so that you can add notes to them.

Chapter 1 – Introduction to Computers, Programs, and  C++ (also DevC++)

Chapter 2 – Elementary Programming

Chapter 3 – Selection Structures

Chapter 4 – Mathematical Functions, Characters, and Strings

Chapter 5 – Looping Structures

Chapter 6 – Functions

Chapter 7 – Single-Dimensional Arrays and C-Strings

Chapter 8 – Multidimensional Arrays

Chapter 12 – Templates, Vectors, and Stacks (we will only cover the vector class)

Chapter 13 – File Input and Output

Chapter 10 –  Strings

Chapter 9 – Objects and Classes

Chapter 11 – Pointers and Dynamic Memory Management

Chapter 15 – Inheritance and Polymorphism

 Return to top of page


Miscellaneous Documents
Select the document that you wish to view.  Note that the extensions on some files were changed to txt to make them easier to access via this website.

Test #1 Overview
Test #2 Overview
Test #3 Overview

ASCII & Precedence Tables for Tests 1-2

EGR125Test3Reference - String Functions Table and ASCII Code

Sample Test #1 (see course Bb site for solution)
Sample Test #2 (see course Bb site for solution)
Sample Test #3 (see course Bb site for solution)
Car Data Files – for Project #3B

BigData.txt

HugeFile.txt

Resistivity_Coefficients.txt

Temperature_Coefficients.txt

AWG_Table.txt

States.txt

INVENT1.TXT

INVENT2.TXT

INVENT3.TXT

INVENT4.TXT
INVENT1-4.ZIP

Energy.txt

Presidents.txt
Density.txt (used in Ch 13 example)

HeyDiddleDiddle.txt (used in Ch 10 example)

Electricity.txt

Res1.txt

Res2.txt

Res3.txt

Res4.txt

Res1-4.zip

Preamble.txt

USDictionary.txt
Messages.zip

 

 Return to top of page


  [TCC Student Handbook for Engineering][TCC Engineering Club] [TCC Catalogue - Engineering][TCC Home Page]
[Back to Paul Gordy's Home Page]