Course Syllabus
Module 1: Introduction to Programming
- Overview of Computer and Programming Languages
- Introduction to C Language
- History and Features of C
- Structure of a C Program
- Compilation and Execution Process
- Understanding Syntax and Errors
Module 2: Basics of C Language
- C Character Set, Keywords, and Identifiers
- Constants, Variables, and Data Types
- Operators and Expressions
- Arithmetic, Relational, Logical, Increment/Decrement, Assignment, Conditional, Bitwise
- Input and Output Functions (`printf()`, `scanf()`)
Module 3: Control Statements
Conditional Statements:
- `if`, `if-else`, `nested if`, `if-else-if ladder`, `switch-case`
- Looping Statements:
- `for`, `while`, `do-while`
- Jump Statements:
- `break`, `continue`, `goto`
Module 4: Functions in C
- Function Definition, Declaration, and Calling
- Types of Functions (User-defined and Built-in)
- Parameter Passing (Call by Value, Call by Reference)
- Recursion
Module 5: Arrays and Strings
- One-dimensional and Two-dimensional Arrays
- String Handling and String Functions
- Character Arrays vs Strings
Module 6: Pointers
- Introduction to Pointers
- Pointer Arithmetic
- Pointers and Arrays
- Pointers and Functions
Module 7: Structures and Unions
- Defining and Declaring Structures
- Accessing Structure Members
- Array of Structures
- Nested Structures
- Difference Between Structure and Union
Module 8: File Handling
- File Operations (Create, Open, Read, Write, Close)
- File Handling Functions (`fopen`, `fprintf`, `fscanf`, `fclose`)
- Working with Text and Binary Files
Module 9: Dynamic Memory Allocation
- `malloc()`, `calloc()`, `realloc()`, `free()`
- Memory Management in C
Module 10: Project / Practical Work
- Small Programs Based on Loops and Functions
- Programs on Arrays and Strings
- Mini Project (Calculator, Student Record System, etc.)