Subject Code: ECP4206
Objective: To provide undergraduates with a basic comprehension of the C++ programming language and the concepts of Object Oriented Programming (OOP).
Pre-Requisite: ECP1026: Algorithm and Data Structure
Credit Hours: 3
Contact Hours: 53 hours (lectures, tutorials & lab experiments)
Assessment: Project/ Assignment: 10%
Mid-term Test-1: 20%
Mid-term Test-2: 20%
Final Examination: 50%
Laboratory: Supervised tutorial sessions are conducted at the computer programming labs. These tutorial sessions include practical programming questions based on lecture topics, which are covered in the subject syllabus. These tutorial sessions also include application of design theories, which would be solved on paper.

The practical programming tutorial questions will be attempted by students at the computer programming labs using the Microsoft Visual Studio C++ compiler (for Windows operating systems), or the GCC/G++ compiler (for Linux operating systems), or any other equivalent licensed C++ compiler
  • Cay Horstmann & Timothy Budd, Big C++, Wiley 2005. (Textbook)
  • Richard Johnsonbaugh, Martin Kalin, Object-Oriented Programming in C++, Prentice Hall, 1995.
  • Joyce Farrell, Object-Oriented Programming Using C++, Second Edition, Thompson Learning, 2001.
  • DEITEL&DEITEL, C++ How To Program (Fourth Edition), Prentice Hall International Edition, 2002.
  • Ira Pohl, Object oriented programming using C++, Second edition, Addison-Wesley Publishers, 1997.
  • Andrew C. Staugaard, Jr., Structured and Object oriented techniques - an introduction using C++, Prentice Hall, 1997.
  • Jesse Liberty, SAMS Teach Yourself C++ in 21 Days (4th Edition), Sams Publishing, 2001.
  • Http://
  • Martin Fowler, UML Distilled, Addison-Wesley Publishers, 1999.
Details of Assignment: Example:
Title: Simulation of Hospital Emergency Room Operation
To appreciate the usefulness of computer software simulation program in modeling real-life scenarios
Type: Software Simulator Design & Implementation
Description: Students are required to design and implement a simulator to study the flow of patients through an emergency room in a hospital. The simulation program focuses on the study of the duration for treating patients based on the severity of their problems and the constraints of the number of beds. The simulator should allow a user of the simulation program vary the discrete probability distributions of three independent events: arrival time of patient, the severity of the patient, and the duration of treatments. The simulator program also need to collect statistics data regarding the number of patients, their arrival times, the waiting times, the treatment time, the severity of the problem, and possibly the bed utilization. All the data is to be saved to a file to facilitate further analysis.

Course Contents

Learning Outcome of Subject (% of contribution)

At the completion of the subject, students should be able to perform the following tasks:

Programme Outcomes (% of contribution)