Programming Concepts in C++ _Version 3

4
Asia Pacific University College of Technology and Innovation Programming Concepts in C++ - CT025-3.5-2 Page 1 of 4 Nama Mata Pelajaran (ame of Module) Programming Concepts in C++ Version 3.0 Kod (Code) CT025-3.5-2 Jam Kredit (Credit Hours) 3.5 Credit Hours 1 x 1 hour lecture per week x 16 weeks (16 hours) 1 x 2 hours tutorial per week x 16 weeks (32 hours) Independent Study (92 hours) Total Learning Time: 140 hours Peringkat (Level) Level 2 Prasyarat (Jika ada) Prerequisites (if any) Fundamentals of Software Development or equivalent. Peringkat (Level of Study) Degree Kaedah Penyampaian & Pengendalian (Mode of Delivery) Lectures, Tutorials, practical laboratory sessions Sistem Penilaian (Assessment and Marking Percentage) - Individual In-course weighted at 100% (LOs 1 - 3) Objektif Mata Pelajaran (The objectives of the Module) The objective of this module is to: 1. Contribute to the achievement of the Learning Outcomes specified for the student’s award at Level 2 2. Enable students to develop their knowledge and skills in relation to Programming Concepts in C++ 3. Meet the prerequisite requirements of modules at Level 3 of study 4. Develop the ability of students to apply the knowledge they gain in relation to the study of Programming Concepts in C++ 5. Further develop lifelong learning skills of independent learning and study in relation to Programming Concepts in C++ 6. Enable students to develop their ability to: Critically Analyse Solve complex problems Innovate Use quantitative skills and draw appropriate conclusions Use ICT relevant to given situations At the end of the module, the student should be able to: 1. Explain object oriented programming concepts and apply them to the modelling of real world systems. 2. Explain the object oriented paradigm and utilisation of the offered facilities. 3. Demonstrate ability to develop and derive new class structures and organise them such that they will model real world systems within computers.

description

C++

Transcript of Programming Concepts in C++ _Version 3

Page 1: Programming Concepts in C++ _Version 3

Asia Pacific University College of Technology and Innovation

Programming Concepts in C++ - CT025-3.5-2 Page 1 of 4

Nama Mata Pelajaran

(�ame of Module)

Programming Concepts in C++

Version 3.0

Kod

(Code) CT025-3.5-2

Jam Kredit

(Credit Hours)

3.5 Credit Hours

1 x 1 hour lecture per week x 16 weeks (16 hours)

1 x 2 hours tutorial per week x 16 weeks (32 hours)

Independent Study (92 hours)

Total Learning Time: 140 hours

Peringkat

(Level)

Level 2

Prasyarat (Jika ada)

Prerequisites (if any)

Fundamentals of Software Development or equivalent.

Peringkat

(Level of Study)

Degree

Kaedah Penyampaian

& Pengendalian

(Mode of Delivery)

Lectures, Tutorials, practical laboratory sessions

Sistem Penilaian

(Assessment and

Marking Percentage)

- Individual In-course weighted at 100% (LOs 1 - 3)

Objektif

Mata Pelajaran

(The objectives of the

Module)

The objective of this module is to:

1. Contribute to the achievement of the Learning Outcomes specified for the

student’s award at Level 2

2. Enable students to develop their knowledge and skills in relation to Programming

Concepts in C++

3. Meet the prerequisite requirements of modules at Level 3 of study

4. Develop the ability of students to apply the knowledge they gain in relation to the

study of Programming Concepts in C++

5. Further develop lifelong learning skills of independent learning and study in

relation to Programming Concepts in C++

6. Enable students to develop their ability to:

• Critically Analyse

• Solve complex problems

• Innovate

• Use quantitative skills and draw appropriate conclusions

• Use ICT relevant to given situations

At the end of the module, the student should be able to:

1. Explain object oriented programming concepts and apply them to the

modelling of real world systems.

2. Explain the object oriented paradigm and utilisation of the offered facilities.

3. Demonstrate ability to develop and derive new class structures and organise

them such that they will model real world systems within computers.

Page 2: Programming Concepts in C++ _Version 3

Asia Pacific University College of Technology and Innovation

Programming Concepts in C++ - CT025-3.5-2 Page 2 of 4

Sinopsis

Mata Pelajaran

(Synopsis of the

Module)

During the last few years, the programming community has been moving more and

more towards Object Oriented techniques. This module looks at some of the

techniques that can be encompassed to provide an alternative solution to the more

traditional procedural methods.

Rangka

Matapelajaran

(Scheme of Work)

Minggu

(Week)

Tajuk Pengajaran (Topics)

Jam

Kuliah (Lecture

Contact

Hours)

Jam

Tutorial (Tutorial

Contact

Hours)

1

Introduction

• Overview of the module

• General Guidelines & Learning

Approach

• Assessments Briefing

• Introduction to the subject area

1 2

2

• Object Oriented Programming Paradigm.

• Basic Concepts of Object Oriented

Programming Paradigm.

• Benefits of OOP

• Object Oriented Languages.

• Applications of OOP

1 2

3

• Object –Oriented Systems Development

• Object Oriented paradigm

• Object Oriented Notations and Graphs

• Steps in Object –Oriented Analysis

• Steps in Object-Oriented Design

• Implementation

1 2

4

• Beginning with C++

• What is C++

• Applications of C++

• A Simple C++ program

• An example with Class

• Structure of C++ program

• Creating Source file

• Compiling and linking

1 2

5

• Tokens, expressions and Control structures

• Keywords

• Identifiers

• Basic Data Types

• User defined Data Types

• Derived Data Types

• Type Compatibility

1 2

6

• Operators in C++

• Scope Resolution Operator

• Member Dereferencing Operators

• Arithmetic Operators

• Logical operators

• Relational operators

• Operator Overloading

• Operator Precedence

1 2

Page 3: Programming Concepts in C++ _Version 3

Asia Pacific University College of Technology and Innovation

Programming Concepts in C++ - CT025-3.5-2 Page 3 of 4

7

• Functions in C++

• Function Prototyping

• Call By Reference

• Inline Functions

• Function Overloading

• Friend and Virtual functions

1 2

8

• Classes and Objects

• Specifying a class

• Defining member variables and

functions

• Nesting of member functions

• Arrays within a class

• Static Data members and Member

functions

• Arrays of Objects

• Objects as function arguments.

1 2

9

• Constructors and Destructors

• Constructors

• Multiple constructors in a class

• Constructors with Default Arguments

• Dynamic initialization of Constructors

• Dynamic Constructors

• Destructors

1 2

10 & 11

• Inheritance

• Defining Derived class

• Single Inheritance

• Making a private member inheritance

• Multilevel inheritance

• Multiple Inheritance

• Hierarchical Inheritance

• Hybrid Inheritance

• Abstract classes

2 4

12

• Pointers, Virtual Functions and

Polymorphism

• Pointers to objects

• This pointer

• Virtual functions

• Pure virtual functions

• Polymorphism

1 2

13 & 14

• Working with Files

• Classes for File stream operations

• Opening and Closing a file

• Detecting End-of-File

• File Pointers and their manipulations

• Sequential Input and Output

Operations

• Error handling during file operations

2 4

15

• Templates and Exception Handling

• Introduction

• Templates

• Function Templates

• Class templates

• Member Function templates

• Exception Handling

1 2

Page 4: Programming Concepts in C++ _Version 3

Asia Pacific University College of Technology and Innovation

Programming Concepts in C++ - CT025-3.5-2 Page 4 of 4

16

Summary

• Summary of module

• Revision of Major Topic Areas

• Assessment Discussion

• Presentations (If Any)

1 2

Total 16

32

Buku

Rujukan

(Reference Books)

Essential Reading - Deitel & Deitel (Harvey & Paul), (2008), C++, How to Program, 6th Edition,

Prentice Hall, ISBN-13: 9780136152507

- Farrell, J. (2006), Object-Oriented Programming Using C++, 3rd Edition,

Course Technology, ISBN-13: 9781418836269

Further Reading - Lafore, R. (2002) Object-oriented Programming in C++, 4th Edition, SAMS,

(ISBN: 0-672-32308-7)

- Balagurusamy, E (2006), Object-oriented Programming with C++, 3rd

Edition, Tata McGraw-Hill, (ISBN: 0070593620)

Updated Version March 2011