C Programming syllabus
Browse the units
C Programming
13 units
3 Data Input and Output (3 LHs)
5 Control Structure (5 LHs)
10 File Handling in C (4 LHs)
11 Introduction to Graphics in C (3 LHs)
12 Additional Features of C (2 LHs)
13 Laboratory Works
1. Introduction to C Programming (3 LHs)
- Programming languages and top-down/bottom-up approaches
- Structured programming and history of C
- Algorithms, pseudocode and flowcharts
- Coding, compiling, execution and debugging
2. Basic Elements of C (3 LHs)
- C standards, character set, tokens and delimiters
- Variables, data types, constants and expressions
- Statements, comments, library functions and preprocessor directives
3. Data Input and Output (3 LHs)
- I/O operations and conversion specifications
- Formatted and unformatted I/O
4. Operators and Expression (4 LHs)
- Arithmetic, relational, Boolean, assignment and ternary operators
- Bitwise, increment/decrement, conditional and sizeof operators
- Expression evaluation, precedence, associativity and type conversion
5. Control Structure (5 LHs)
- Conditional statements and branching
- Looping
- Exit, break and continue
6. Arrays and Strings (6 LHs)
- One- and multidimensional arrays: declaration, memory and initialization
- Character arrays, strings and null character
- String input/output and library functions
7. Functions (5 LHs)
- Library versus user-defined functions; prototype, call and definition
- Nested and recursive functions
- Arguments and return types; passing arrays and strings
- Pass by value and address
- Local/global scope and variable lifetime
8. Pointers (5 LHs)
- Pointer declaration, operators and arithmetic
- Pointers with arrays, strings, structures and functions
- Pointer chains and arrays of pointers
- Dynamic memory allocation
9. Structure and Union (5 LHs)
- Structure declaration and initialization
- Arrays, nested structures, function arguments and pointers
- Union and structure-versus-union
10. File Handling in C (4 LHs)
- Text and binary files; file modes
- Opening, closing and file I/O
- Random file access
11. Introduction to Graphics in C (3 LHs)
- Graphics concepts, initialization and modes
- Graphics functions
12. Additional Features of C (2 LHs)
- Enumerations and macros
- Command-line parameters and storage classes
13. Laboratory Works
- Practical session following each course topic