|
Dec 26, 2024
|
|
|
|
BA 4770 - C++ Programming for Business3 lecture hours 0 lab hours 3 credits Course Description The object-oriented programmer is introduced to the syntax and semantics of the C++ programming language. Students write several programs exploring basic techniques covering the concepts of C++ expressions, data types, functions, parameter passing, control structures, data structures and operator overloading. The basic object model in C++ is covered and the canonical form of class authorship is stressed (constructors, destructors, copy constructors and overloading the assignment operator). (prereq: none) Course Learning Outcomes Upon successful completion of this course, the student will be able to:
- Demonstrate knowledge of the basic expressions that make up the C++ language (constant, variable, arithmetic, relational, logical, etc.)
- Demonstrate knowledge of control statements and the proper structuring of control statements to solve problems
- Demonstrate knowledge of I/O streams for reading and writing data to and from files, consoles and other devices
- Demonstrate knowledge of functions and parameter passing (value parameters, reference parameters, return by reference, tec.)
- Design a program in a modular fashion using functions
- Understand the scoping rules for identifiers and the use of global namespaces
- Demonstrate knowledge of basic data structures: arrays and vectors (both one-and two-dimensional)
- Demonstrate knowledge of strings and basic string manipulation operations
- Demonstrate basic knowledge of classes, data members, and member functions (object-oriented programming basics); use of “const’ as a mechanism for protection of data
- Demonstrate basic operator overloading: overloading with a method (+) and overloading with a global friend
Prerequisites by Topic
- Knowledge, understanding, and familiarity with computing languages
- Knowledge of an object-oriented programming language
Course Topics
- Introduction to object-oriented software development (1 class)
- Introduction to C++ syntax and basic operations (4 classes)
- Functions: identifier scope and lifetime, parameters (4 classes)
- Object-oriented design, class libraries and member functions (3 classes)
- Selection and iteration (4 classes)
- Containers: vector, list, and array (3 classes)
- Character string classes and operations (2 classes)
- Programming style, development process, design exercises and special topics (5 classes)
Laboratory Topics
- Computing environment (1 session)
- Conditionals (1 session)
- Loops (1 session)
- File I/O (1 session)
- Sorting (1 session)
- Matrices (2 sessions)
- Rational Number Class Abstraction (2 sessions)
Coordinator Dr. Jeffrey Blessing
Add to Portfolio (opens a new window)
|
|