What This Document Is
This is a laboratory manual specifically designed for EEL 3801, Introduction to Computer Engineering at the University of Central Florida. It details a hands-on programming assignment focused on a core principle of object-oriented programming: polymorphism. This manual guides students through the practical application of inheritance and pointer concepts within a C++ environment. It’s structured as a lab exercise, requiring code implementation and demonstration of understanding through program output.
Why This Document Matters
This manual is essential for students enrolled in EEL 3801 who are looking to solidify their understanding of polymorphism. It’s particularly beneficial when you’re ready to move beyond theoretical concepts and begin writing code that leverages the power of object-oriented design. Successfully completing this lab will build a strong foundation for more advanced programming tasks and concepts encountered in later coursework. It’s best utilized *during* the lab session and as a reference while completing the assignment.
Topics Covered
* Polymorphism and its application with class inheritance
* Object-oriented programming principles in C++
* Class definition and member function implementation
* Constructors and data encapsulation (private data members)
* Pointer usage and dynamic memory allocation (using `new`)
* Array manipulation with object pointers
* Designing class hierarchies
What This Document Provides
* A detailed assignment description outlining the required program functionality.
* Specifications for creating multiple related classes with specific data members and functions.
* Guidance on how to utilize polymorphism to create a flexible and maintainable code structure.
* Instructions for creating and populating an array of object pointers.
* Requirements for demonstrating the functionality of the implemented classes through program output.
* Clear submission guidelines for the completed assignment.