In this course, object-orientation is introduced as a new programming concept which helps learner in developing high-quality skills. Object-orientation is also introduced as a concept which makes developing of projects easier. This course works as an aid to student of B.E/ B. Tech.
Data types: floating point values in real life and in “C”, float literals, arithmetic operators, priority and binding, post and pre-incrementation and decrementation, operators of type op=char type and ASCII code, char literals, equivalence of int and char data comparison, operators , conditional execution and if keyword, printf() and scanf() functions Flow control: conditional execution continued: the “else” branch, typecast and its operators, loops – while, do and for Controlling the loop execution – break and continue, logical and bitwise operators, switch. Arrays :arrays ,pointers, an address, a reference, a dereference and the size of operator, & operator, pointers arithmetic, using strings, arrays of arrays and multidimensional arrays Memory allocation and de-allocation: malloc() and free() functions , arrays of pointers vs. multidimensional arrays, structures - declaring, using and initializing structures ,pointers to structures and arrays of structures Functions : how to declare, define and invoke a function ,variables' scope, local variables and function parameters , pointers, arrays and structures as function parameters, function result , and return statement, void as a parameter, pointer and result, parameterizing the main function, ,external function and the extern keyword, header files and their role. Files handling: header files needed for stream operations, FILE structure, opening and closing a stream, open modes, reading and writing to/from a stream, predefined streams: stdin, stdout and stderr, stream manipulation: fgetc(), fputc(), fgets() and fputs() , fread() and fwrite() functions Preprocessor declarations: #include, #define, predefined preprocessor symbols Functions: functions, declaring and invoking functions, passing parameters and their purpose, default parameters , inline functions ,overloaded functions NTSC, Delhi 40 Fundamentals of the object-oriented approach class, class components, constructors, referring to objects, static members, defining and overloading operators, Class hierarchy: base class, superclass, subclass, inheritance , types of inheritance Polymorphism: the notion and the purpose, virtual methods, inheriting virtual methods, abstraction and abstract classes Exceptions – dealing with exceptions.