Programming Fundamentals with C/C++
|
UNIT I-
1. Introduction to C (5 Lectures)
History of C, Overview of Programming, Using main() function, Compiling and Executing Simple Programs in C.
2. Data Types, Variables, Constants, Operators and Basic I/O (5 Lectures)
Declaring, Defining and Initializing Variables, Scope of Variables, Using Named Constants, Keywords, Data Types, Casting of Data Types, Operators (Arithmetic, Logical and Bitwise), Using Comments in programs, Character I/O (getc, getchar, putc, putchar etc), Formatted and Console I/O (printf(), scanf(), Using Basic Header Files (stdio.h, conio.hetc).
3. Expressions, Conditional Statements and Iterative Statements (5 Lectures)
Simple Expressions in C (including Unary Operator Expressions, Binary Operator Expressions), Understanding Operators Precedence in Expressions, Conditional Statements (if construct, switch-case construct), Understanding syntax and utility of Iterative Statements (while, do-while, and for loops), Use of break and continue in Loops, Using Nested Statements (Conditional as well as Iterative) |
S.No |
Topic |
Video Links |
1 |
Introduction |

|
2 |
What is a Program |

|
3 |
Character Set |

|
4 |
Keywords, Identifiers |

|
5 |
Constants, Variables |

|
6 |
Data Types1 |

|
7 |
Data Types2 |

|
8 |
Operators |

|
9 |
Arithmetic Operators |

|
10 |
Bitwise Operators |

|
11 |
Inc Dec Operators |

|
12 |
Logical Operators |

|
13 |
Library Functions |

|
14 |
IO Functions |

|
15 |
Type Conversion |

|
16 |
Control Structures |

|
17 |
If Statement |

|
18 |
If Else Statement |

|
19 |
Else If Statement |

|
20 |
Switch Case |

|
21 |
Loops |

|
22 |
While Loop |

|
23 |
Do While Loop |

|
24 |
Break and Continue |

|
25 |
Goto Statement |

|
UNIT II-
4. Functions and Arrays (10 Lectures)
Utility of functions, Call by Value, Call by Reference, Functions returning value, Void functions, Inline Functions, Return data type of functions, Functions parameters, Differentiating between Declaration and Definition of Functions, Command Line Arguments/Parameters in Functions, Functions with variable number of Arguments. Creating and Using One Dimensional Arrays ( Declaring and Defining an Array, Initializing an Array, Accessing individual elements in an Array, Manipulating array elements using loops), Use Various types of arrays (integer, float and character arrays / Strings) Two dimensional Arrays (Declaring, Defining and Initializing Two Dimensional Array, Working with Rows and Columns), Introduction to Multi-dimensional arrays
5. Derived Data Types (Structures and Unions) (5 Lectures)
Understanding utility of structures and unions, Declaring, initializing and using simple structures and unions, Manipulating individual members of structures and unions, Array of Structures, Individual data members as structures, Passing and returning structures from functions, Structure with union as members, Union with structures as members.
|
S.No |
Topic |
Video Links |
1 |
Arrays |

|
2 |
Array Characteristics |

|
3 |
Types of Arrays 1D |

|
4 |
Types of Arrays 2D |

|
5 |
Multidimensional Arrays |

|
6 |
Matrix Addition |

|
7 |
Strings |

|
8 |
String Initialization |

|
9 |
String Example |

|
10 |
String Standard Functions |

|
11 |
String Functions |

|
12 |
String Formats |

|
13 |
Functions |

|
14 |
Components of a Function |

|
15 |
Function Prototype |

|
16 |
Types of Functions |

|
17 |
Return Statement |

|
18 |
Argument Passing (By Value, Reference) |

|
19 |
Structure |

|
20 |
Structure Declaration and Initialization |

|
21 |
Access the Structure Content |

|
22 |
Array of Structures |

|
23 |
Structures and Functions |

|
24 |
UNION |

|
25 |
Example Program UNION |

|
26 |
Operations with Union |

|
27 |
Structure vs Union |

|
UNIT – III
6. Pointers and References in C (9 Lectures)
Understanding a Pointer Variable, Simple use of Pointers (Declaring and Dereferencing Pointers to simple variables), Pointers to Pointers, Pointers to structures, Problems with Pointers, Passing pointers as function arguments, Returning a pointer from a function, using arrays as pointers, Passing arrays to functions. Pointers vs. References, Declaring and initializing references, Using references as function arguments and function return values
7. Memory Allocation in C (6 Lectures)
Differentiating between static and dynamic memory allocation, use of malloc, calloc and free functions, use of new and delete operators, storage of variables in static and dynamic memory allocation
|
S.No |
Topic |
Video Links |
1 |
Pointers |

|
2 |
Normal Variable vs Pointer Variable |

|
3 |
Address Manipulation |

|
4 |
Arithmetic Operations using Pointers |

|
5 |
Pointers and Arrays |

|
6 |
Pointers and Strings |

|
7 |
Pointers to Structure |

|
8 |
Pointer to Pointer |

|
9 |
Void Pointers |

|
10 |
Dynamic Memory Allocation |

|
11 |
New and Delete Operator |

|
12 |
Advantage of Dynamic Memory Locations |

|
UNIT – IV
8 . File I/O, Preprocessor Directives (5 Lectures)
Opening and closing a file (use of fstream header file, ifstream, ofstream and fstream classes), Reading and writing Text Files, Using put(), get(), read() and write() functions, Random access in files, Understanding the Preprocessor Directives (#include, #define, #error, #if, #else, #elif, #endif, #ifdef, #ifndef and #undef), Macros
9. Introduction to C++ (10 Lectures)
Principles of Object-Oriented Programming, Defining & Using Classes, Class Constructors, Constructor Overloading, Class Variables &Functions, Objects as parameters, Specifying the Protected and Private Access, Copy Constructors. |
S.No |
Topic |
Video Links |
1 |
File Types |

|
2 |
Text Files |

|
3 |
Data Files |

|
4 |
Binary Files |

|
5 |
File Operations |

|
6 |
Reading and writing Files |

|
7 |
Processing Data Files |

|
8 |
Copying Files |

|
9 |
Object Oriented Programming |

|
10 |
Class |

|
11 |
Objects |

|
12 |
Message and Methods |

|
13 |
Benefits of OOP |

|
14 |
Access Specifiers |

|
15 |
Public Private |

|
16 |
IO Functions |

|
17 |
Member wise Initialization |

|
18 |
Constructors |

|
19 |
Overloading |

|
20 |
Constructor Overloading |

|
21 |
Destructor |

|
22 |
Scope of Variables |

|
|
|