Skip to content

C Programming syllabus

IT 23213 units · 38 topicsAcademic year 2083/84
Browse the units

C Programming

13 units

1. Introduction to C Programming (3 LHs)

  1. Programming languages and top-down/bottom-up approaches
  2. Structured programming and history of C
  3. Algorithms, pseudocode and flowcharts
  4. Coding, compiling, execution and debugging

2. Basic Elements of C (3 LHs)

  1. C standards, character set, tokens and delimiters
  2. Variables, data types, constants and expressions
  3. Statements, comments, library functions and preprocessor directives

3. Data Input and Output (3 LHs)

  1. I/O operations and conversion specifications
  2. Formatted and unformatted I/O

4. Operators and Expression (4 LHs)

  1. Arithmetic, relational, Boolean, assignment and ternary operators
  2. Bitwise, increment/decrement, conditional and sizeof operators
  3. Expression evaluation, precedence, associativity and type conversion

5. Control Structure (5 LHs)

  1. Conditional statements and branching
  2. Looping
  3. Exit, break and continue

6. Arrays and Strings (6 LHs)

  1. One- and multidimensional arrays: declaration, memory and initialization
  2. Character arrays, strings and null character
  3. String input/output and library functions

7. Functions (5 LHs)

  1. Library versus user-defined functions; prototype, call and definition
  2. Nested and recursive functions
  3. Arguments and return types; passing arrays and strings
  4. Pass by value and address
  5. Local/global scope and variable lifetime

8. Pointers (5 LHs)

  1. Pointer declaration, operators and arithmetic
  2. Pointers with arrays, strings, structures and functions
  3. Pointer chains and arrays of pointers
  4. Dynamic memory allocation

9. Structure and Union (5 LHs)

  1. Structure declaration and initialization
  2. Arrays, nested structures, function arguments and pointers
  3. Union and structure-versus-union

10. File Handling in C (4 LHs)

  1. Text and binary files; file modes
  2. Opening, closing and file I/O
  3. Random file access

11. Introduction to Graphics in C (3 LHs)

  1. Graphics concepts, initialization and modes
  2. Graphics functions

12. Additional Features of C (2 LHs)

  1. Enumerations and macros
  2. Command-line parameters and storage classes

13. Laboratory Works

  1. Practical session following each course topic