- Semester
- Area Elective
- Type
- Elective
- Credit
- 4
- ECTS
- 8
- Language
- İngilizce
- Contact hours
- Lecture 3 · Practice 2 · Lab 0
On this page
Course Objective
The course teaches how to generate abstractions to represent a class of objects sharing a set of attributes or behavioral traits. In this course, the students are introduced to a method of programming that seeks to mimic the way we form models of the world using UML. By using these abstractions the students get a chance to apply the three main properties of object-oriented languages; namely, encapsulation, inheritance and polymorphism using the C++ language.
Course Content
Data types, expressions and statements, functions and scope rules, class definitions, inheritance, polymorphism, name overloading, templates, exception handling; input/output; object oriented principles using the UML and C++ programming language.
Prerequisites
CMPE114
Delivery and Teaching Methods
- Face to face
- Lecture
Learning Outcomes and Contribution to Programme Outcomes
- 1Explain method of programming that seeks to mimic the way we form models of the world using UML
- 2Apply encapsulation, inheritance, polymorphism
- 3Use function and operator overloading
- 4Employ exception handling
- 5Apply function and class templates
- 6Employ object oriented approach to program development
Contribution level ranges from 0 (none) to 5 (highest).
| PO | Programme outcome | Contribution level |
|---|---|---|
| PO1 | Develops the ability to apply advanced knowledge of mathematics, science, and engineering to the analysis, design, and optimization of complex systems. | 0 |
| PO2 | Implements long-term research and development studies in the major fields of Electrical and Electronics Engineering. | 0 |
| PO3 | Use modern engineering tools, techniques and facilities in design and other engineering applications. | 2 |
| PO4 | Does research actively on innovation and entrepreneurship. | 0 |
| PO5 | Develops the ability to effectively communicate and present research outcomes. | 0 |
| PO6 | Keeps up with recent advancements in science and technology and effectively accesses relevant information. | 0 |
| PO7 | Will have professional and ethical responsibility. | 0 |
| PO8 | Develops ability to effectively communications in both Turkish and English. | 0 |
| PO9 | Develops ability on project management. | 0 |
| PO10 | Develops the ability to work successfully at project teams in interdisciplinary fields. | 2 |
Weekly Topics
| Week | Topic |
|---|---|
| 1 | Introduction to OOP |
| 2 | Object Oriented Paradigm and UML |
| 3 | From C to C++ (I/O, default parameters, function templates and overloading) |
| 4 | Classes and Data Abstraction |
| 5 | Classes and Data Abstraction |
| 6 | Operator Overloading |
| 7 | Inheritance |
| 8 | Inheritance |
| 9 | Virtual Functions and Polymorphism |
| 10 | Virtual Functions and Polymorphism |
| 11 | Input/Output |
| 12 | Templates |
| 13 | Exception Handling |
| 14 | File Processing |
| 15 | Review |
| 16 | Review |
Assessment
| Method | Number | Weight |
|---|---|---|
| Lab | 2 | %25 |
| Finalexam | 1 | %35 |
| Homework | 2 | %10 |
| Midtermexam | 1 | %30 |
| Total | %100 | |
ECTS Workload
| Activity | Number | Duration (hours) | Total |
|---|---|---|---|
| Lecture Hours (Including exam week: 16 x lecture hours) | 16 | 3 | 48 |
| Out-of-Class Study Time | 16 | 4 | 64 |
| Final Exam Preparation | 1 | 30 | 30 |
| Laboratory | 12 | 2 | 24 |
| Midterm Exam Preparation | 2 | 15 | 30 |
| Assignments | 3 | 3 | 9 |
| Total workload (hours) | 205 | ||
| ECTS equivalent (workload / 30) | 6.8 | ||
Resources
- Textbook Problem Solving with C++, Walter Savitch, Addison-Wesley Publishing, 7th Edition.
- Other C++: How To Program, H.M. Deitel and P.J. Deitel,Prentice-Hall, 6th Edition.
- Other C++ Programming: From Problem Analysis to Program Design, D.S. Malik, Course Technology, 4th Edition.
- Other A Complete Guide to Programming in C++,Ulla Kirch-Prinz, Peter Prinz, Jones and Bartlett Publishers,1st Edition.
- Other The C++ Programming Language, B.Stroustrup, Addison-Wesley 3rd Edition.
- Other Practical C++ Programming, S. Oualline, O'Reilly Media, Inc.; , 2nd Edition
- Other Object Oriented Systems Analysis and Design using UML, Bennett, McRobb & Farmer, 4th Ed., McGraw Hill, 2010