OOPS with C Languages
Problem Solving Through C
Unit - 1
Programming Process: Steps in developing of a program, Data Flow Diagram, Decision Table, Algorithm development, Flowchart, Pseudo Code, Testing and Debugging. Fundamentals of C Languages: History of C, Character Set, Identifiers and Keywords, Constants, Types of C Constants, Rules for Constructing Integer, Real and character Constants, Variables, Data Types, rules for constructing variables.
Operators and Expressions: C Instructions, Arithmetic operators, Relational operators, Logical operators, Assignment Operators, Type Conversion in Assignments, Hierarchy of Operations, Standard and Formatted Statements, Structure of a C program , Compilation and Execution.
Unit - 2
Decision Control Structure: Decision making with IFstatement, IF-Else and Nested IFElse, The else if Clause. Loop Control Structure: While and do-while, for loop and Nested for loop, Case Control Structure: Decision using switch, Thegoto statement. Functions: Library functions and user defined functions, Global and Local variables, Function Declaration, Calling and definition of function, Methods of parameter passing to functions, recursion, Storage Classes in C.
Unit - 3
Arrays: Introduction, Array declaration, Accessing values in an array, Initializing values in an array, Single and Two Dimensional Arrays, Initializing a 2- Dimensional Array, Memory Map of a 2-Dimensional Array, Passing array elements to a function: Call by value and call by reference, Arrays of characters, Insertion and deletion operations, Searching the elements in an array, Using matrices in arrays, Passing an Entire Array to a Function.
: 12 Pointers: Pointer declaration, Address operator “&”, Indirection operator “*”, Pointer and arrays, Pointers and 2-Dimensional Arrays, Pointer to an Array, Passing 2-D array to a Function, Array of Pointers. Dynamic Memory Allocation: malloc(), calloc(), realloc(), free() functions.
Unit - 4
String Manipulation in C: Declaring and Initializing string variables, Reading and writing strings, String Handlingfunctions(strlen(), strcpy(), strcmp(), strcat()). Structures and Unions: Declaration of structures, Structure Initialization, Accessing structure members, Arrays of structure, Nested structures, Structure with pointers, Union. Files in C: Introduction, Opening and Closing files, Basic I/O operation on files.
OOPS with C++ Languages
Object Oriented Programming using C++
Unit - 1
Principles of Object Oriented Programming (OOP): Introduction to OOP, Difference between OOP and Procedure Oriented Programming; Concepts: Object, Class, Encapsulation, Abstraction, Polymorphism and Inheritance, Applications of OOP.
Special operators: scope resolution operator, Member Dereferencing operators, Memory management operators, Manipulators and Type cast operator Structure of a C++ Program and Classes and Objects : Class Declaration : Data Members, Member Functions, Private and Public members, Creating Objects, Accessing class data members, Accessing member functions; Class Function Definition: Member Function definition inside the class declaration and outside the class declaration.
Unit - 2
Friend function, inline function, Static members, Function Overloading, Arrays within a class. Arrays of Objects; Objects as function arguments: Pass by value, Pass by reference, Pointers to Objects. Constructors: Declaration and Definition, Types of Constructors, (Default, Parameterized, Copy Constructors). Destructors: Definition and use.
Operator Overloading Type Conversion: Conversion from basic type to user defined type, User defined to basic type and one user defined conversion to another user defined type.
Unit - 3
Inheritance: Extending Classes Concept of inheritance, Base class, Defining derived classes, Visibility modes : Public, Private, Protected ;Types of Inheritance: Single inheritance : Privately derived, Publicly derived; Making a protected member inheritable, multilevel inheritance, multiple Inheritance and ambiguity of multiple inheritance, Hierarchal Inheritance, Hybrid, Nesting of classes. Polymorphism: Definition, Application and demonstration of Data Abstraction, Encapsulation and Polymorphism.
Early Binding, Polymorphism with pointers, Virtual Functions, Late binding, pure virtual functions.
Unit - 4
Exception Handling: Definition, Exception Handling Mechanism : Throwing mechanism and Catching Mechanism, Rethrowing an Exception File Processing : Opening and closing of file, Binary file operations, structures and file operations, classes and file operations, Random file processing.