Skip to content

C Programming syllabus

CSC11011 units · 94 topicsAcademic year 2083/84
Browse the units

1Problem Solving with Computer (2 Hrs.)

  1. 1.1
    Problem Analysis
  2. 1.2
    Algorithms and Flowchart
  3. 1.3
    Coding
  4. 1.4
    Compilation and Execution
  5. 1.5
    History of C
  6. 1.6
    Structure of a C Program
  7. 1.7
    Debugging
  8. 1.8
    Testing and Documentation

2Elements of C (4 Hrs.)

  1. 2.1
    C Standards (ANSI C and C99)
  2. 2.2
    C Character Set
  3. 2.3
    C Tokens
  4. 2.4
    Escape Sequence
  5. 2.5
    Delimiters
  6. 2.6
    Variables
  7. 2.7
    Data Types: Basic, Derived, and User Defined
  8. 2.8
    Structure of a C Program
  9. 2.9
    Executing a C Program
  10. 2.10
    Constants and Literals
  11. 2.11
    Expressions
  12. 2.12
    Statements and Comments

3Input and Output (2 Hrs.)

  1. 3.1
    Conversion Specification
  2. 3.2
    Reading a Character
  3. 3.3
    Writing a Character
  4. 3.4
    I/O Operations
  5. 3.5
    Formatted I/O

4Operators and Expression (4 Hrs.)

  1. 4.1
    Arithmetic Operator
  2. 4.2
    Relational Operator
  3. 4.3
    Logical or Boolean Operator
  4. 4.4
    Assignment Operator
  5. 4.5
    Ternary Operator
  6. 4.6
    Bitwise Operator
  7. 4.7
    Increment or Decrement Operator
  8. 4.8
    Conditional Operator
  9. 4.9
    Special Operators: sizeof and comma
  10. 4.10
    Evaluation of Expression
  11. 4.11
    Operator Precedence and Associativity

5Control Statement (4 Hrs.)

  1. 5.1
    Conditional Statements
  2. 5.2
    Decision Making and Branching
  3. 5.3
    Decision Making and Looping
  4. 5.4
    Exit Function
  5. 5.5
    Break and Continue

6Arrays (6 Hrs.)

  1. 6.1
    Introduction to Array
  2. 6.2
    Types of Array: Single Dimensional and Multidimensional
  3. 6.3
    Declaration and Memory Representation of Array
  4. 6.4
    Initialization of Array
  5. 6.5
    Character Array and Strings
  6. 6.6
    Reading and Writing Strings
  7. 6.7
    Null Character
  8. 6.8
    String Library Functions: length, copy, concatenation, compare

7Functions (5 Hrs.)

  1. 7.1
    Library Functions
  2. 7.2
    User-defined Functions
  3. 7.3
    Function Prototype
  4. 7.4
    Function Call and Function Definition
  5. 7.5
    Nested and Recursive Function
  6. 7.6
    Function Arguments and Return Types
  7. 7.7
    Passing Arrays to Function
  8. 7.8
    Passing Strings to Function
  9. 7.9
    Passing Arguments by Value
  10. 7.10
    Passing Arguments by Address
  11. 7.11
    Scope, Visibility, and Lifetime of a Variable
  12. 7.12
    Local and Global Variable

8Structure and Union (5 Hrs.)

  1. 8.1
    Introduction
  2. 8.2
    Array of Structure
  3. 8.3
    Passing Structure to Function
  4. 8.4
    Passing Array of Structure to Function
  5. 8.5
    Structure Within Structure: Nested Structure
  6. 8.6
    Union
  7. 8.7
    Pointer to Structure

9Pointers (6 Hrs.)

  1. 9.1
    Introduction
  2. 9.2
    The & and * Operators
  3. 9.3
    Declaration of Pointer
  4. 9.4
    Chain of Pointers
  5. 9.5
    Pointer Arithmetic
  6. 9.6
    Pointers and Arrays
  7. 9.7
    Pointers and Character Strings
  8. 9.8
    Array of Pointers
  9. 9.9
    Pointers as Function Arguments
  10. 9.10
    Function Returning Pointers
  11. 9.11
    Pointers and Structures
  12. 9.12
    Dynamic Memory Allocation

10File Handling in C (4 Hrs.)

  1. 10.1
    Concept of File
  2. 10.2
    Opening and Closing of File
  3. 10.3
    Input-Output Operations in File
  4. 10.4
    Random Access in File
  5. 10.5
    Error Handling in Files

11Introduction to Graphics (3 Hrs.)

  1. 11.1
    Concepts of Graphics
  2. 11.2
    Graphics Initialization and Modes
  3. 11.3
    Graphics Function
  4. 11.4
    Practical Works
    1. 11.4.1
      Create, compile, and run simple C programs; use data types, arithmetic, formatted I/O, and character I/O.
    2. 11.4.2
      Perform logical operations; create decision-making programs and loops.
    3. 11.4.3
      Create user-defined and recursive functions; work with automatic, global, and static variables.
    4. 11.4.4
      Create and manipulate single- and multi-dimensional arrays and matrices; manipulate strings.
    5. 11.4.5
      Work with pointers and dynamically allocate and de-allocate storage during runtime.
    6. 11.4.6
      Create and use structures and files to keep records of students, employees, and similar entities.