C & C++

C++ Language Syllabus :

Introduction to computers 
	• What is Computers?
	• Parts of computers
	• Computer Hardware
	• Components of the hardware
	• Computer Software
	• Types soft wares
		o System software
		o Application soft ware
Introduction to Programming languages
	• What is programming language?
	• Types of programming languages.
		o Machine level language
		o assembly or symbolic level language
		o high level language
	• What is a translator?
	• Types Of Translators
		o assembler
		o compiler
		o interpreter
Introduction to c++ language
    • c++ programming language
    • history of c++ language
    • c++ programming language standards
    • features of c++ language
    • advantages of learning c++
    • structured oriented language
    • unstructured oriented language
    • object oriented language
C++ language IDE’s
    • What is IDE?
    • Types of IDE’s
    • Turbo-c++, dev-c++ etc 
 c++ tokens
    • keywords
    • identifiers
    • constants  
    • data types
    • Variables.
    • Operators
Control statements in c++ language(loops)
    • What are the control statements (loop)?
        o Do while loop
        o While loop
        o for loop
    • Nested loops
    • Practicing programs on loops
Jumping statements or branching statements
    • Continue
    • Break
    • Goto
    • Exit
    • Return
    • Practicing programs on jumping statements
Conditional statements in c++ language
    • What is conditional statement?
    • What are the conditional statements?
    	o If statement
    	o If else statement
    	o Else if ladder statement
    	o Switch statement
    • Nested if
    • Practicing programs on Conditional statements
    • What is  an array
    • Declaration of an array
    • Initialization of an array
    • Properties of an array
    • Types of an arrays
		o Single dimensional arrays
             What is Single dimensional array?
             Declaration of Single dimensional arrays
             Initialization of Single dimensional array
             Programs on Single dimensional arrays
		o Multi-dimensional arrays
             What is multi-dimensional array?
             Declaration of Multi-dimensional arrays
             Initialization of multi-dimensional array
             Programs on Multi-dimensional arrays
    • Functions to arrays
    • Pointers to arrays
    • Structures to arrays
    • Advantages of an arrays
    • Disadvantages an arrays
    • Practicing programs on arrays
    • What is a string?
    • Declaration of strings
    • Initialization of string
    • String input output functions
        o Gets()
        o Puts()
    • Arrays of strings
    • String manipulation functions
        o Strcpy()
        o Strcat()
        o strncat
        o Strlwr()
        o Strrev()
        o Strcmp()
        o Stricmp()
        o Srtlwr()
        o Strupr()
        o Strlen()
        o Strtok()
	• Practicing programs on strings
    • What is a function?
    • Advantages of functions
    • Function declaration(syntax)
        o Function body
        o Function statements
        o Returning a value
	• Types of functions
        o Predefined functions
        o User defined functions
    • Function Parameters  
    • Types of parameters
        o Actual parameter
        o Formal parameter
	• Category of functions
        o Functions with no arguments and no return values
        o Functions with arguments and no return values
        o Functions with arguments and  return values
        o Programs on function categories
	• Parameter passing technics
        o Call by value
        o Call by reference
    • Recursive functions
    • Passing array as arguments to functions
    • Pointer to functions
    • Structures to functions
    • Practicing programs on functions
    • What is a pointer?
    • Declaration of pointers
    • Pointer Initialization 
    • Advantages of pointers
    • Disadvantages of pointers
    • Reference & dereference operators
    • Types of pointers
        o Void pointer
        o Wild pointer
        o Null pointer
        o Dangling pointer
        o Near pointer
        o Huge pointer
	• Pointer arithmetic
        o Addition
        o Subtraction
    • Pointers to arrays
    • Arrays of pointers
    • Pointer to pointer
    • Pointers functions
    • Pointers to structures
    • Practicing programs on pointers
Dynamic memory allocation
    • What is dynamic memory allocation?
    • Mallock()
    • Calloc()
    • Realloc()
    • Free()
    • Programs on malloc(),calloc(),realloc and free()
    • Practicing programs on dynamic memory allocation in c++
    • What is structures
    • Declaration of structures
    • Accessing structures members
    • Arrays of structures
    • Pointers to structures
    • Passing structures as arguments to functions
    • Nested structures
    • Practicing programs on structures
    • What is a union?
    • Declaration and initializing unions.
    • Accessing union members
    • Advantage and disadvantages of unions
    • Practicing programs on unions
    • What is type def ?
    • Declaration of typedef
    • Need of typedef
    • Practicing programs on typedef
Enumerated data type(enum)
    • What is enum?
    • Declaration of enum
    • Need of enum
    • Advantages of enum
    • Practicing programs on enum
Storage classes in c++
    • Introduction to storage classes
    • Types of storage classes
        o Auto storage class 
        o Static storage class
        o External storage class
        o Register storage class
    • Need of storage classes
    • Practicing on storage classes
C++ preprocessors
    • C++ preprocessor directives
    • What are the preprocessor directives in c
        o Macro
        o Header file inclusion
        o Conditional compilation
        o Other directive
    • Program process flow
    • Deference between compiler and interpreters
    • Practicing programs on c preprocessors
Header files in c++ 
    • What is header file?
    • Creation of own header files
    • Need of header files
    • Practicing programs on header files


introduction to object oriented programming system(oops) • what isobject oriented programming system(oops)? • What is need of object oriented programming system(oops) • Deference between procedural programming and object oriented programming • featurs of oops o encapsulation o data abstraction o inheritance o polymorphism • what is a class? • class implementation • what is an object? • properties of objectss • scope operator • friend functions and friend classes • practicing programs on classes and objects • practicing programs on functions and friend classes constructors and destructors • introduction to constructors • consructor implementation • comparing constructor and member function • types of constructors o default constructor o parameterised constructors o copy constructors • constructor overloading • default arguments in constructors • destructors • defining sdestructors • practicing programs on constructors and destructors constructors and destructors • need of operator overloading • defining operator overloaded functions • operator over loading rules • overloading unary operators • overloading binary operators • overloading others operators • practicing programs on operator overloading in c++ inheritance • introduction to inheritance • types of inheritances o single inheritance o multiple inheritance o multi_level inheritance o hierarchical inheritance o hybride inheritance • base class • derived class • inheritance scope • protected members • constructors in base class • disstructors in base class • virtual base class • virtual distructors polymorphism and virtual functions • what is a polymorphism? • types of polymorphism o run time polymorphism o compile time polymorphism • dynmaic binding • function overriding • differance between function overriding and function overloading • need of virtual functions and pure virtual functions • disstructors in base class templates • need of templates • defining templates • functions templates • functions templates overloading • class templates • practicing programs on templates exeption handling • what is exception • need of handling exceptions • types of exceptions o checked exceptions o un checked exceptions • exception handling mechanism • practicing programs on exception handling streams • hierarchy of i/o streams • istream class functions • ostream class functions • ios class functions • manipulators files • hierarchy of file streams • opening a file • file opening modes • sequantial access file • random access files • command line arguments • practicing programs on files Additional practicing c++ programs Interview questions