ELE142

Computer Programming II

Faculty \ Department
School of Engineering \ Electrical and Electronics Engineering
Course Credit
ECTS Credit
Course Type
Instructional Language
4
8
Compulsory
Turkish
Prerequisites
BİL 141
Programs that can take the course
Electrical and Electronics Engineering
Course Description
As a successor course of BIL141, the main concepts of object-oriented programming, such as encapsulation, polymorphism, inheritance, and dynamic memory, will be demonstrated in C++ programming language. In this context, concepts of class and object will be introduced. Also accessing the members of these encapsulated structures will be examined. Function overloading and overriding which enables to process polymorphical structures having distinct properties will be introduced. Derivating new structures from existing ones will be demonstrated and inheritance between these structures will be examined.
Textbook and / or References
J. Liberty, D.B Horvath* / R. Cadenhead**, Sams Teach Yourself C++ (*ed.4/**5-6)
Course Objectives
The main concepts of object-oriented programming will be demonstrated in C++ programming language.
Course Outcomes
1. Proficiency in common paradigms of C++ and other object-oriented programming languages
2. Programming design skills
3. Achieving practice of clean code writing
Tentative Course Plan
Week 1: Basic Concepts: Variables, Statements, Blocks, Memory
Week 2: Program Flow ve Functions
Week 3: Arrays, Pointers and Memory Management
Week 4: Classes and Objects, Accessing to Members, Construction of Object
Week 5: Pointers and Objects, Construction and Destruction of Object in Heap Memory, Array of Objects
Week 6: References and Pointers, Member Objects
Week 7: Static Members, Operator Overloading
Week 8: Member Pointers and Arrays, Deep Copying and Move Semantics
Week 9: Class Deriving and Inheritance
Week 10: Polymorphism, Dynamic Bonding, Abstract Data Types
Week 11: Linked Lists, Function and Class Templates
Week 12: Pointers to Functions, Friend Functions and Classes, Precompiler, File Stream
Tentative Assesment Methods
Activities Number Weight (%)
Course Attendance/Participation - -
Laboratory 8 10%
Application - -
Homework - -
Project 1 20%
Presentation - -
Field Work - -
Internship - -
Course Boards - -
Quiz - -
Midterm Exam 1 30%
Final Exam 1 40%
Total 100%

Tentative ECTS-Workload Table
Activities Number/Weeks Duration (Hours) Workload
Course Hours (first 6 weeks) 6 4 24
Course Hours (last 6 weeks) 6 4 24
Laboratory 8 1 8
Application - - -
Homework - - -
Project 1 16 16
Presentation - - -
Field Work - - -
Internship - - -
Course Boards - - -
Preparation for Quiz - - -
Preparation for Midterm Exam 1 8 8
Final Exam 1 2 2
Preparation for Final Exam 1 8 8
Study Hours Out of Class (preliminary work, reinforcement, etc.) 12 12 144
Total Workload 234
Total Workload / 30 234 / 30
7.800000
ECTS Credits of the Course 8
Program Outcome **
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Course Outcome
1 A
2 B
3 B