18001025661 / 8527794500
info@sgtuniversity.org

Syllabus | B.Tech-Computer Science & Engineering | Object Oriented programming using C++

 

Object Oriented programming using C++

Learning Schedule

L

T

P

C

Pre-requisites: C or any basic language

3

0

0

3

 

COURSE DESCRIPTION
This course introduce programming concept in C++. Students will be equipped with fundamental programming, Arrays, Functions, Exception etc.

COURSE OBJECTIVES

  1. introduce the student to the concepts of C++ in computer science.
  2. Acquire knowledge to make functions , Files atc

COURSE OUTCOMES

  1. Knowledge of programming language.
  2. Be aware about OOP’s concept..
  3. Basic understanding on programming.

COURSE CONTENT

Unit I:
Introduction to C++ and Object oriented Concepts C++ Standard Library, Basics of a Typical C++ Environment, Pre-processors Directives, illustrative Simple C++ Programs. Header Files and Namespaces, library files. Introduction to Objects and Object Oriented Programming, Encapsulation (Information Hiding), Access Modifiers: Controlling access to a class, method, or variable (public, protected, private,package), Other Modifiers, Polymorphism: Overloading,Inheritance, Overriding Methods, Abstract Classes, Reusability, Class’s Behaviors.

Unit II:Classes and Data Abstraction:
Introduction, Structure Definitions, Accessing Members of Structures, Class Scope and accessing Class Members, Separating Interface from Implementation, Controlling Access Function And Utility Functions, Initializing Class Objects: Constructors, Using Default Arguments With Constructors, Using Destructors, Classes : Const(Constant) Object And Const Member Functions, Object as Member of Classes, Friend Function and Friend Classes, Using This Pointer, Dynamic Memory Allocation with New and Delete, Static Class Members, Container Classes And Integrators, Proxy Classes, Function overloading.

Unit III:: Operator Overloading, Inheritance, and Virtual Functions and Polymorphism: Fundamentals of Operator Overloading, Restrictions On Operators Overloading, Operator Functions as Class Members vs. as Friend Functions, Overloading, <<, >> Overloading Unary Operators, Overloading Binary Operators. Introduction to Inheritance, Base Classes And Derived Classes, Protected Members, Casting Base- Class Pointers to Derived- Class Pointers, Using Member Functions, Overriding Base – Class Members in a Derived Class, Public, Protected and Private Inheritance, Using Constructors and Destructors in derived Classes, Implicit Derived –Class Object To Base- Class Object Conversion, Composition Vs. Inheritance. Introduction to Virtual Functions, Abstract Base Classes And Concrete Classes, Polymorphism, New Classes And Dynamic Binding, Virtual Destructors, Polymorphism, Dynamic Binding.
Unit IV:: Files and I/O Streams and Templates and Exception Handling:

Files and Streams, Creating a Sequential Access File, Reading Data From A Sequential Access File, Updating Sequential Access Files, Random Access Files, Creating A Random Access File, Writing Data Randomly To a Random Access File, Reading Data Sequentially from a Random Access File. Stream Input/Output Classes and Objects, Stream Output, Stream Input, Unformatted I/O (with read and write), Stream Manipulators, Stream Format States, Stream Error States.
Function Templates, Overloading Template Functions, Class Template, Class Templates and Non-Type Parameters, Templates and Inheritance, Templates and Friends, Templates and Static Members. Introduction, Basics of C++ Exception Handling: Try Throw, Catch, Throwing an Exception, Catching an Exception, Rethrowing an Exception, Exception specifications, Processing Unexpected Exceptions, Stack Unwinding, Constructors, Destructors and Exception Handling, Exceptions and Inheritance.

TEXT BOOKS:

  1. C++ How to Program by H M Deitel and P J Deitel, 1998, Prentice Hall
  2. Object Oriented Programming in Turbo C++ by Robert Lafore, 1994, The WAITE Group Press.
  3. Programming with C++ By D Ravichandran, 2003, T.M.H

REFERENCE BOOKS:

  1. Object oriented Programming with C++ by E Balagurusamy, 2001, Tata McGraw-Hill
  2. Computing Concepts with C++ Essentials by Horstmann, 2003, John Wiley,
  3. The Complete Reference in C++ By Herbert Schildt, 2002, TMH
ADMISSIONS 2021