Skip to content

Programming Concept with C syllabus

ICT.ED.4168 units · 72 topicsAcademic year 2083/84
Browse the units

1Introduction to Programming Concept (2T+4P)

  1. 1.1
    Give an introduction of programming language
  2. 1.2
    Describe assembler, compiler and interpreter
  3. 1.3
    State syntax and semantics
  4. 1.4
    Explain programming design tools
  5. 1.5
    Identify the features of good programme
  6. 1.6
    Design algorithm and draw diagram of flow chart of sequence, decision making and repetition concept of programming
  1. 1.7
    Introduction of Programming Language
  2. 1.8
    Assembler, Compiler and Interpreter
  3. 1.9
    Syntax and Semantics
  4. 1.10
    Programming Design Tools
    1. 1.10.1
      Algorithm
    2. 1.10.2
      Flowchart
    3. 1.10.3
      Pseudo codes
  5. 1.11
    Lab Work: Designing algorithm and draw flow chart for sequence, decision making and repetition concept of general programming

2Introduction to C (5T+5P)

  1. 2.1
    Outline historical development of C programming language
  2. 2.2
    Describe basic structure of C program, character set, token and comments, variables and constants
  3. 2.3
    Apply data types and conversion in program
  4. 2.4
    Outline input and output in relation to C
  5. 2.5
    Apply operators and operands in program
  1. 2.6
    History of C Language
  2. 2.7
    Basic Structure of C Program
  3. 2.8
    Escape Sequence
  4. 2.9
    Comment
  5. 2.10
    Variables and Constants
  6. 2.11
    Storage Classes in C
  7. 2.12
    Data Types
  8. 2.13
    typedef keyword
  9. 2.14
    Enumeration
  10. 2.15
    Format Specifiers
  11. 2.16
    Type Conversion
  12. 2.17
    Formatted and unformatted I/O functions
  13. 2.18
    Operators
    1. 2.18.1
      Arithmetic
    2. 2.18.2
      Relational
    3. 2.18.3
      Logical
    4. 2.18.4
      Assignment
    5. 2.18.5
      Conditional operator (?:)
  14. 2.19
    Lab Works: Developing basic structure of C program; declaring and assigning variables and constants; applying I/O functions; using operators and type casting

3Control Statements in C (4T+10P)

  1. 3.1
    Write decision making problems using if, switch, goto, break and continue statements
  2. 3.2
    Apply loop concept in program
  1. 3.3
    if statement
  2. 3.4
    switch statement
  3. 3.5
    goto statement
  4. 3.6
    break statement
  5. 3.7
    continue statement
  6. 3.8
    Loop statement
    1. 3.8.1
      while
    2. 3.8.2
      do-while
    3. 3.8.3
      for
  7. 3.9
    Nested loop
  8. 3.10
    Infinite loop
  9. 3.11
    Practical Works: Apply if, switch, goto, break and continue statements; use all types of loop statements; create different patterns using nested loop

4Array and String (5T+7P)

  1. 4.1
    Generate the program using 1D array and 2D array
  2. 4.2
    Solve simple computing problems using array
  3. 4.3
    Use different string functions to manipulate strings
  1. 4.4
    Introduction to Array
  2. 4.5
    Declare, access and initialize array/array elements
  3. 4.6
    Multi-dimensional array
  4. 4.7
    Application of array (searching, matrix addition, multiplication, transpose of matrix, sorting, finding greatest & smallest value in the list etc.)
  5. 4.8
    Character Array and String
  6. 4.9
    String Manipulation functions: strlen, strcpy, strcat, strcmp, strrev
  7. 4.10
    Practical Works: Array declaration, definition and initialization; creating single/multi-dimensional array; applying 1D/2D array; using string manipulation functions

5Structure in C (3T+5P)

  1. 5.1
    Create a program to bind heterogeneous data
  2. 5.2
    Apply the array of structure concept to collect large no of records in structure
  3. 5.3
    Differentiate between union and structure
  1. 5.4
    Concept of Structure
  2. 5.5
    Initializing, accessing member of structure
  3. 5.6
    Array of Structure
  4. 5.7
    Nested Structure
  5. 5.8
    Union
  6. 5.9
    Practical Works: Binding different types of data in structure; creating union data types

6Pointer

  1. 6.1
    Demonstrate pointer and address references
  2. 6.2
    Apply pointer in array
  3. 6.3
    Identify relationship among pointer, array and structure
  4. 6.4
    Know to allocate memory dynamically
  1. 6.5
    Pointer variable introduction
  2. 6.6
    Address of operator (&) and indirection operator (*)
  3. 6.7
    Pointer Arithmetic
  4. 6.8
    Relationship between 1D Array and Pointer
  5. 6.9
    Dynamic Memory Allocation (malloc, calloc, realloc and free)
  6. 6.10
    Pointer and Structure
  7. 6.11
    Practical Works: Using pointer to dereference; illustrating array-pointer and structure-pointer relationships; allocating memory dynamically; using string functions

7Function

  1. 7.1
    Clarify the concept of functions
  2. 7.2
    Create function with different parameter passing methods
  1. 7.3
    Function introduction
  2. 7.4
    Creating and using user defined function
  3. 7.5
    Passing Parameters/arguments
  4. 7.6
    Returning value from function
  5. 7.7
    Pointer and Function
  6. 7.8
    Arguments and return type of main function
  7. 7.9
    Command line arguments
  8. 7.10
    Practical Works: Prototype, call and define function; pass parameters and return values; call by reference vs call by value; using command line arguments

8File Handling (5T+5P)

  1. 8.1
    Define the concept of file handling in C
  2. 8.2
    Apply file access methods
  3. 8.3
    Apply different formatted and unformatted I/O functions
  1. 8.4
    Concept of File
  2. 8.5
    File access methods: Sequential and Random
  3. 8.6
    File Opening Modes (r, w, a, r+, w+, a+)
  4. 8.7
    Closing and Opening files
  5. 8.8
    File I/O Functions: fprintf, fscanf, fgets, fputs, fgetc, fputc, getc, putc, getw, putw, fread, fwrite
  6. 8.9
    Random access to file: fseek, ftell, rewind
  7. 8.10
    Deleting File
  8. 8.11
    Practical Works: Creating file handling application for open, read, write and append; accessing files sequentially and randomly