ADVANCED DIPLOMA IN EMBEDDED SYSTEM- SYLLABUS
C++ SYLLABUS
C++ SYLLABUS
Level-1: Introduction to C++
- Starting with C++
- How C++ evolved from C?
- Features of C++
- Procedure-oriented programming
- OOP vs. procedure-oriented programming
- The basic anatomy of a C++ program
- Starting with a simple "Hello World" program
- Compiling, linking and running a C++ program
Level-2: Object-Oriented Programing concepts
- Abstraction
- Inheritance.
- Polymorphism.
- Data Binding.
- Encapsulation.
- Classes, subclasses and Objects
- On-chip static RAM.
Level-3: The basics of C++
- Base Data Types and size.
- User-defined Data Types.
- Variable Declarations, Variable Names.
- Dynamic initialization of variables.
- Constants and its types.
- Character Constants
- String Constants
- Standard input and standard output
- Formatted input –cin
- Formatted output – cout
- Use of << and >> operators
Level-4: Working with operators and Expression
- Operators.
- Arithmetic Operators.
- Relational Operators
- Assignment Operator
- Logical Operators
- Increment and Decrement Operators (++ and --)
- Operate-Assign' Operators (+=, *=, ...)
- LCD
- Expressions
- What are Expressions?
- Operator Precedence
- Precedence and Order of Evaluation
- Conditional Expression
- Casting and type conversion
Level-5: Controlling the Program flow
- Decision control
- if
- if – else
- if - else if
- Loop Control
- while
- do – while
- for
- break
- continue
- Case Control
- switch
- goto
Level-6: Using Functions and Procedures
- Why Functions?
- Anatomy of a Function.
- Returning values from functions
- Arguments Passed by Value
- Passing Addresses of Arguments
- Concept of variable scope and scope rules
- Static and automatic variables
- Global variables
Level-7: Pointers and Arrays
- Pointers
- What is a Pointer?
- Pointer Initialization
- Pointer Operators
- The & Operator
- Pointer Arithmetic
- Functions and pointers
- Understanding Arrays
- Arrays
- Initializing Arrays
- Passing Arrays to Functions
- Pointers and Arrays
- Pointer to an Array
- Array of pointers
- Strings
- String I/O
- cin and cout member functions
- Standard C String functions
- Arrays of Strings
Level-8: Binding data and Functions
- Concept of a class
- Defining a class
- Creating an object
- Object Scop
- Data Abstraction
- Enforcing Data Encapsulation
- ‘this’ Pointer
- Dynamic creation of objects
- Constructors and Destructors
- The Default Constructor
- The Destructor
- Parameterized Constructors
- Copy constructor
- Defining member functions
- Methods and access modifiers
- Enforcing Data Encapsulation
- Accessing class data and methods
- Friend class and friendly functions
- Returning objects
- Arrays of Objects
Level-9: Function and Operator overloading
- Function Overloading
- Using overloaded functions
- Rules for overloading
- Operator overloading and its uses
- Overloading unary and binary operators
- Overloading the assignment operator
- Overloading the << Operator
- Overloading the increment and decrement operator
- Dealing with strings using operators
- Converting data types
- Basic to class type
- Class to basic type
- Class to another class type
- Inheritance-Base and Derived classes
- Inheritance types
- Scope Resolution operator
- Access Modifiers
- Access and Inheritance
- Constructors and Inheritance
- Multiple & Multilevel Inheritance
- Calling base class constructor
- Overriding base class members
- Virtual & non-virtual Overriding
- Virtual function
- Rules for virtual functions
- Pure virtual functions
- Static and Dynamic Binding
- Virtual base classes
- Templates
- Function templates
- Class templates
- Exception handling