Dec 26, 2024  
BC3 Academic Catalog: 2024-2025 
    
BC3 Academic Catalog: 2024-2025

COMP 230 - Programming in C++ for Engineers and Scientists

3 Credits: (3 lecture)

Course Description
This course is designed for science and engineering students and covers structured programming principles using the C++ programming language. It concentrates on the principles of good software engineering and stresses program clarity through the use of a structured top-down methodology. This course meets the General Education competency of Technological Competence (TC).  

Note Fall semester only.

Prerequisite MATH 102 or permission of the instructor.


Text
Gaddis, T. (2022).  Starting out with C++ from control structures to objects (10th ed.).  New York City, NY: Pearson. 

Objectives
The student will be able to: 

A. Analyze a scientific or engineering problem in terms of user requirements. 

B. Develop an algorithmic solution to solve a scientific or engineering programming problem using structured design methodologies such as pseudocode and activity diagrams. 

C. Convert an algorithm into C++ source code using correct syntax. 

D. Compile the source code and run the resulting executable program. 

E. Design appropriate testing strategies to validate the correctness of solutions. 

F. Demonstrate the correct use of fundamental programming techniques such as control structures, functions, arrays, string processing, file processing, and classes. (TC) 

G. Utilize electronic communication. (TC) 

Content
A. Problem analysis and user requirements 

B. Algorithm design (activity diagrams and pseudocode) 

C. The C++ build process 

D. Datatypes, variables and operators 

E. Console input and output 

F. Selection Structures (if, if…else, switch) 

G. Repetition Structures (while, do…while, for) 

H. Function usage and standard header libraries 

I. Function definitions and prototypes 

J. Parameter passing by value and by reference 

K. String processing 

L. Arrays 

M. File processing 

N. Structures (struct) 

O. Introduction to classes and objects 

Student Evaluation
Objectives A through F will be evaluated using a minimum of two written exams, two practical exams, and at least six programming projects. 

Objective G will be evaluated by an e-mail project requiring the receipt, modification, and transmission of C++ source code attachments.