ECE 275
Computer Programming for Engineering Applications II
Required course: Yes
Course Level
Units
Instructor(s)
Prerequisite(s)
Course Texts
zyBooks Programming in C++ and Data Structures interactive textbook (zybooks.com)
Schedule
Course Description
Specific Course Information:
2021-2022 Catalog Data: C and C++ programming. Core design and analysis of engineering algorithms and structures including lists, trees, graphs, traversal, and encoding. Fundamentals of C and C++ programming languages including pointers, structures, unions, and introduction to classes. Programming design topics including memory management, abstraction and design of advanced structures, and basics of software engineering.
Learning Outcomes
Specific Goals for the Course:
Outcomes of Instruction: By the end of this course the student will be able to:
- Write, test, and debug large software programs using C and C++ programming languages.
- Understand the compilation and linking process for software programs.
- Utilize commercial integrated-development environment (IDEs) for software development.
- Distinguish between statically allocated memory and dynamically allocated memory.
- Understand the C program memory organization and differentiate the location in which variables are stored within memory.
- Trace the behavior of a function call using the program stack.
- Understand and use C programming constructs including structs, pointers, strings, memory allocation, file IO, and command line arguments.
- Understand the relation between pointers and memory addresses.
- Create software programs that heavily utilize pointers and dynamic memory allocation.
- Implement data structures and supporting algorithms for common data structures including lists, queues, stacks, trees, and graphs.
- Create software programs to solve engineering problems using common data structures and algorithms.
- Analyze software code to determine the asymptotic runtime.
- Select appropriate data structures and algorithms to solve programing problems considering the asymptotic runtime.
- Understand the role of encapsulation, abstraction, and code organization in the software design process.
- Understand and use C++ programming constructs including classes, constructors and destructors, streams, references, operator overloading, and dynamic memory allocation.
- Have a basic knowledge of the standard template library (STL).
Course Topics
Brief list of topics to be covered:
- Review of C Programming
- Build process (preprocess, compile, link)
- Project management tools (e.g., CMake, IDEs)
- Libraries and code reuse across executables
- Debugging
- Memory Concepts
- Pointers and memory addresses
- Pass by value and reference
- Memory allocation and management
- Distinction between stack and heap in software programs
- Core Data Structures and Algorithms
- Trees, queues, stacks, heaps and graphs
- Sorting, searching, hashing, traversals, shortest path
- Design, analysis and implementation
- Asymptotic analysis of algorithms
- Introduction to C++ and Classes
- Instantiation, object lifecycle (construction, destruction)
- Operations
- Standard Template Library (STL) classes
Relationship to Student Outcomes
ECE 275 contributes directly to the following specific electrical and computer engineering student outcomes of the ECE department:
1. An ability to identify, formulate, and solve complex engineering problems by applying principles of engineering, science, and mathematics.
2. An ability to apply engineering design to produce solutions that meet specified needs with consideration of public health, safety, and welfare, as well as global, cultural, social, environmental, and economic factors.
7. An ability to acquire and apply new knowledge as needed, using appropriate learning strategies.