Programming in C - Unit 1: Basics of C Programming
1. Introduction to Programming:
- Definition and purpose of programming.
- Types of programming languages (procedural, object-oriented, functional, etc.).
2. Paradigms:
- Structured programming: modularity, functions, and top-down design.
- Introduction to procedural programming using C.
3. Basics of C Programming:
- History and importance of C.
- Features of C language.
4. Structure of a C Program:
- Preprocessor directives
- Header files inclusion
- Main function and its structure
- Syntax and Semantics
5. C Programming Data Types:
- Basic data types: int, char, float, double
- Derived types: array, pointer, structure, union
- Enumeration
6. Constants and Variables:
- Definition and types of constants (integer, floating-point, character, string)
- Variables and rules for naming variables
- Declaration and initialization
7. Storage Classes:
- auto, extern, static, register
- Scope and lifetime of variables
8. Input and Output Statements:
- scanf() and printf()
- Format specifiers
9. Assignment Statement:
- Syntax and usage
- Chained assignment
10. Expression and Operator Precedence:
- Arithmetic, relational, logical, bitwise, assignment, and conditional operators
- Operator precedence and associativity
11. Type Conversion:
- Implicit and explicit (type casting)
12. Keywords and Identifiers:
- List of keywords in C
- Valid identifiers
13. Decision Making Statements:
- if, if-else, nested if, else-if ladder
14. Switch Statement:
- Syntax and flow
- break and default cases
15. Looping Statements:
- while, do-while, for loop
- Nested loops and loop control statements (break, continue)