Skip to content

Programming in C syllabus

CMP 103.39 units · 45 topicsAcademic year 2083/84
Browse the units

1Chapter 1: Introduction (3 hrs)

  1. 1.1
    Concept of computer, types of computer, software, programming languages
  2. 1.2
    Traditional and structured programming concept
  3. 1.3
    History of computing and computers
  4. 1.4
    Block diagram of computer, generation

2Chapter 2: Programming logic (5 hrs)

  1. 2.1
    Problem solving (understanding of problems, feasibility and requirement analysis)
  2. 2.2
    Design (flow chart and algorithm)
  3. 2.3
    Program coding (execution, translator)
  4. 2.4
    Testing and debugging
  5. 2.5
    Implementation
  6. 2.6
    Evaluation and maintenance of programs
  7. 2.7
    Documentation

3Chapter 3: Variables and data types (3 hrs)

  1. 3.1
    Constants and variables
  2. 3.2
    Variable declaration
  3. 3.3
    Variable types
  4. 3.4
    Simple input/output function
  5. 3.5
    Operators

4Chapter 4: Control Structures (6 hrs)

  1. 4.1
    Introduction, types of control statements- sequential
  2. 4.2
    Branching: if, else, else-if and switch statements, case, break and continue statements
  3. 4.3
    Looping: for loop, while loop, do-while loop, nested loop
  4. 4.4
    goto statement

5Chapter 5: Arrays and Strings (6 hrs)

  1. 5.1
    Introduction to arrays, initialization of arrays
  2. 5.2
    Multidimensional arrays
  3. 5.3
    String and function related to the strings

6Chapter 6: Functions (6 hrs)

  1. 6.1
    Introduction
  2. 6.2
    Returning a value from a function
  3. 6.3
    Sending a value to a function, arguments
  4. 6.4
    Passing arrays and structure
  5. 6.5
    External variables, storage classes
  6. 6.6
    Pre-processor directives, C libraries, macros
  7. 6.7
    Header files and prototyping

7Chapter 7: Pointers (7 hrs)

  1. 7.1
    Definition, pointers for arrays
  2. 7.2
    Returning multiple values from functions using pointers
  3. 7.3
    Pointer arithmetic
  4. 7.4
    Pointer for strings
  5. 7.5
    Double indirection
  6. 7.6
    Pointer to arrays
  7. 7.7
    Memory allocation- malloc and calloc

8Chapter 8: Structure and Unions (5 hrs)

  1. 8.1
    Definition of Structure
  2. 8.2
    Nested type Structure
  3. 8.3
    Arrays of Structure
  4. 8.4
    Structure and Pointers
  5. 8.5
    Unions
  6. 8.6
    Self-referential structure

9Chapter 9: Files and File Handling (4 hrs)

  1. 9.1
    Operating a file in different modes (Read, Write, Append)
  2. 9.2
    Creating a file in different modes (Read, Write, Append)