Skip to content

Programming with C syllabus

BMS10310 units · 90 topicsAcademic year 2083/84
Browse the units

1Introduction (3 hrs)

  1. 1.1
    Program and programming language
  2. 1.2
    Types of programming languages
  3. 1.3
    Program design tools (Algorithm, Flowchart, and Pseudocode)
  4. 1.4
    History of C programming
  5. 1.5
    Structure of C program
  6. 1.6
    Compiling and executing C programs
  7. 1.7
    Debugging

2Basic Elements of C (4 hrs)

  1. 2.1
    C standards
  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
  8. 2.8
    Constants/Literals
  9. 2.9
    Symbolic constant
  10. 2.10
    Expressions
  11. 2.11
    Statements
  12. 2.12
    Writing comments
  13. 2.13
    Library functions and Pre-processor directives

3Data Input and Output (3 hrs)

  1. 3.1
    Input/output operations
  2. 3.2
    Conversion specifications
  3. 3.3
    Formatted I/O and unformatted I/O

4Operators and Expression (5 hrs)

  1. 4.1
    Unary and binary operators
  2. 4.2
    Arithmetic operator
  3. 4.3
    Relational operator
  4. 4.4
    Boolean operator
  5. 4.5
    Assignment operator
  6. 4.6
    Ternary operator
  7. 4.7
    Bitwise operator
  8. 4.8
    Increment or decrement operator
  9. 4.9
    Conditional operator
  10. 4.10
    Special operators (sizeof operator)
  11. 4.11
    Evaluation of expression
  12. 4.12
    Operator precedence and associativity
  13. 4.13
    Type conversion

5Control Statements (6 hrs)

  1. 5.1
    Branching statements (if and switch)
  2. 5.2
    Looping statements (for, while, and do-while)
  3. 5.3
    Nested control structures
  4. 5.4
    Break and continue statements
  5. 5.5
    Exit function

6Arrays and Strings (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

7Functions (6 hrs)

  1. 7.1
    User defined functions
  2. 7.2
    Library functions vs. 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
    Local and global variable
  12. 7.12
    Scope visibility and lifetime of a variable
  13. 7.13
    Macros

8Pointers (6 hrs)

  1. 8.1
    Introduction to pointers
  2. 8.2
    Advantages and disadvantages of pointer
  3. 8.3
    The & and * operator
  4. 8.4
    Declaration of pointer
  5. 8.5
    Pointer to pointers (Chain of Pointers)
  6. 8.6
    Pointer arithmetic
  7. 8.7
    Pointers and arrays
  8. 8.8
    Pointers and character strings
  9. 8.9
    Array of pointers
  10. 8.10
    Pointers as function arguments
  11. 8.11
    Function returning pointers
  12. 8.12
    Dynamic memory allocation

9Structure and Union (5 hrs)

  1. 9.1
    Introduction
  2. 9.2
    Declaration
  3. 9.3
    Initialization
  4. 9.4
    Array of structure
  5. 9.5
    Passing structure to function
  6. 9.6
    Passing array of structure to function
  7. 9.7
    Nested structure
  8. 9.8
    Pointers and structures
  9. 9.9
    Introduction to union
  10. 9.10
    Structure vs union

10File Handling in C (4 hrs)

  1. 10.1
    Concept of file
  2. 10.2
    Types of file (Text and binary files)
  3. 10.3
    Modes of file
  4. 10.4
    Opening and closing of file
  5. 10.5
    Input output operations in file
  6. 10.6
    Random access in file