Skip to content

Structured Programming in C syllabus

ITM 10211 units · 145 topicsAcademic year 2083/84
Browse the units

1Introduction to Programming Language (7 LHs)

  1. 1.1
    Definition of programming language
    1. 1.1.1
      Definition of programming language, Importance of programming in computing, Types of programming languages
  2. 1.2
    Programming Approach
    1. 1.2.1
      Programming Approach: Concept and definition of Top-Down Approach and Bottom-Up Approach
    1. 1.2.2
      Top-down programming approach
    2. 1.2.3
      Bottom-up programming approach
  3. 1.3
    Algorithm (Definition and characteristics, Basic Operations of an Algorithm with example)
    1. 1.3.1
      Algorithm (Definition and characteristics, Basic Operations of an Algorithm with example)
    1. 1.3.2
      Definition of an algorithm
    2. 1.3.3
      Characteristics of algorithms
    3. 1.3.4
      Basic algorithm operations with examples
  4. 1.4
    Flowchart
    1. 1.4.1
      Flowchart (Definition and symbols used, Guidelines for flowcharting, Conversion of algorithm to flowchart, Basic Operations of a flowchart with examples).
    1. 1.4.2
      Definition of a flowchart
    2. 1.4.3
      Flowchart symbols
    3. 1.4.4
      Guidelines for flowcharting
    4. 1.4.5
      Converting an algorithm to a flowchart
    5. 1.4.6
      Basic flowchart operations with examples
  5. 1.5
    Importance of programming in computing
  6. 1.6
    Types of programming languages

2Basic Elements of C (6 LHs)

  1. 2.1
    C Standards
    1. 2.1.1
      C Standards
    2. 2.1.2
      Features of C
  2. 2.2
    Structure of a C program
    1. 2.2.1
      Structure of a C program
  3. 2.3
    Compilation and execution
    1. 2.3.1
      compilation and execution
    2. 2.3.2
      Character Set
  4. 2.4
    C Tokens(Keywords, Identifiers, Constants, Strings, Operators, Delimiters)
    1. 2.4.1
      C Tokens(Keywords, Identifiers, Constants, Strings, Operators, Delimiters)
    2. 2.4.2
      Data Types
    3. 2.4.3
      Escape Sequences
    1. 2.4.4
      Keywords
    2. 2.4.5
      Identifiers
    3. 2.4.6
      Constants
    4. 2.4.7
      Strings
    5. 2.4.8
      Operators
    6. 2.4.9
      Delimiters
  5. 2.5
    Variables, Constants(Literal Constants and Symbolic Constants)
    1. 2.5.1
      Variables, Constants(Literal Constants and Symbolic Constants)
    2. 2.5.2
      Writing Comments
    1. 2.5.3
      Variables
    2. 2.5.4
      Literal constants
    3. 2.5.5
      Symbolic constants
  6. 2.6
    Expressions and Statements
    1. 2.6.1
      Expressions and Statements
    1. 2.6.2
      Expressions
    2. 2.6.3
      Statements
  7. 2.7
    Preprocessor Directives
    1. 2.7.1
      Preprocessor Directives
  8. 2.8
    Arithmetic Operators
    1. 2.8.1
      Arithmetic Operators
    2. 2.8.2
      Unary Operators
  9. 2.9
    Relational and Logical Operators
    1. 2.9.1
      Relational and Logical Operators
    2. 2.9.2
      The Comma Operator
    1. 2.9.3
      Relational operators
    2. 2.9.4
      Logical operators
  10. 2.10
    Assignment Operators
    1. 2.10.1
      Assignment Operators
  11. 2.11
    The Conditional Operator
    1. 2.11.1
      The Conditional Operator
    2. 2.11.2
      Size of Operator
  12. 2.12
    Operator Precedence and Associativity
    1. 2.12.1
      Operator Precedence and Associativity.
    1. 2.12.2
      Operator precedence
    2. 2.12.3
      Operator associativity
  13. 2.13
    Features of C
  14. 2.14
    C character set
  15. 2.15
    C data types
  16. 2.16
    Escape sequences
  17. 2.17
    Writing comments
  18. 2.18
    Unary operators
  19. 2.19
    Comma operator
  20. 2.20
    sizeof operator

3Data Input and Output (3 LHs)

  1. 3.1
    Introduction
    1. 3.1.1
      Introduction
  2. 3.2
    Single Character Input and Output
    1. 3.2.1
      Single Character Input and Output
  3. 3.3
    The printf() and scanf() Functions
    1. 3.3.1
      The printf() and scanf() Functions
    1. 3.3.2
      printf()
    2. 3.3.3
      scanf()
  4. 3.4
    Conversion Characters
    1. 3.4.1
      Conversion Characters
  5. 3.5
    Formatted and Unformatted I/O
    1. 3.5.1
      Formatted and Unformatted I/O.
    1. 3.5.2
      Formatted input/output
    2. 3.5.3
      Unformatted input/output

4Control Statements (6 LHs)

  1. 4.1
    Introduction to simple and compound statement
    1. 4.1.1
      Introduction to simple and compound statement
    1. 4.1.2
      Simple statements
    2. 4.1.3
      Compound statements
  2. 4.2
    Sequential statement
    1. 4.2.1
      Sequential statement
  3. 4.3
    Branching statement
    1. 4.3.1
      Branching statement (Simple if statement, if-else statement, Nested if-else statement, else-if ladder, switch statement, go to statement)
    1. 4.3.2
      Simple if statement
    2. 4.3.3
      if-else statement
    3. 4.3.4
      Nested if-else statement
    4. 4.3.5
      else-if ladder
    5. 4.3.6
      switch statement
    6. 4.3.7
      goto statement
  4. 4.4
    Looping statement (for loop, while loop, do while, Nested loop)
    1. 4.4.1
      Looping statement (for loop, while loop, do while, Nested loop)
    1. 4.4.2
      for loop
    2. 4.4.3
      while loop
    3. 4.4.4
      do-while loop
    4. 4.4.5
      Nested loops
  5. 4.5
    Loop interruption (break, continue)
    1. 4.5.1
      Loop interruption (break, continue)
    1. 4.5.2
      break statement
    2. 4.5.3
      continue statement

5Functions (5 LHs)

  1. 5.1
    Introduction to function
    1. 5.1.1
      Introduction to function
  2. 5.2
    Advantages of function
    1. 5.2.1
      Advantages of function
  3. 5.3
    Types of Function (Built-in and user defined function)
    1. 5.3.1
      Types of Function (Built-in and user defined function)
    1. 5.3.2
      Built-in functions
    2. 5.3.3
      User-defined functions
  4. 5.4
    Elements of user-defined function(Function definition, Function prototype, Function parameters)
    1. 5.4.1
      Elements of user-defined function(Function definition, Function prototype, Function parameters)
    1. 5.4.2
      Function definition
    2. 5.4.3
      Function prototype
    3. 5.4.4
      Function parameters
  5. 5.5
    Scope rules (Global Variables and Static Variables)
    1. 5.5.1
      Scope rules (Global Variables and Static Variables)
    1. 5.5.2
      Global variables
    2. 5.5.3
      Static variables
  6. 5.6
    Category of User defined functions
    1. 5.6.1
      Category of User defined functions(Functions with no arguments and no return values, Functions with arguments and no return values, Functions with arguments and return values, Functions with no arguments and return values)
    1. 5.6.2
      No arguments, no return value
    2. 5.6.3
      Arguments, no return value
    3. 5.6.4
      Arguments and return value
    4. 5.6.5
      No arguments, return value
    5. 5.6.6
      Recursive functions
  7. 5.7
    Function call by values and reference
    1. 5.7.1
      Function call by values and reference.
    1. 5.7.2
      Call by value
    2. 5.7.3
      Call by reference

6Arrays and Strings (5 LHs)

  1. 6.1
    Defining and Processing Arrays
    1. 6.1.1
      Defining and Processing Arrays
  2. 6.2
    Types of Arrays
    1. 6.2.1
      Types of Arrays: Single dimensional and Multidimensional
    1. 6.2.2
      One-dimensional arrays
    2. 6.2.3
      Multidimensional arrays
  3. 6.3
    Array Initialization
    1. 6.3.1
      Array Initialization
  4. 6.4
    Passing Arrays to Functions
    1. 6.4.1
      Passing Arrays to Functions
    2. 6.4.2
      Character Arrays
    3. 6.4.3
      Strings
    4. 6.4.4
      String Definition
    5. 6.4.5
      NULL Character
  5. 6.5
    String Initialization
    1. 6.5.1
      String Initialization
  6. 6.6
    Reading and Writing Strings
    1. 6.6.1
      Reading and Writing Strings
    2. 6.6.2
      Processing Strings
  7. 6.7
    Passing Strings to Functions
    1. 6.7.1
      Passing Strings to Functions
  8. 6.8
    Library Functions for String Handling
    1. 6.8.1
      Library Functions for String Handling.
  9. 6.9
    Character arrays
  10. 6.10
    Strings
  11. 6.11
    String definition
  12. 6.12
    Null character
  13. 6.13
    Processing strings

7Pointers (5 LHs)

  1. 7.1
    Basics of Pointer
    1. 7.1.1
      Basics of Pointer
  2. 7.2
    The & and * Operators
    1. 7.2.1
      The & and * Operators
    2. 7.2.2
      Pointer Declaration
    3. 7.2.3
      Pointer Arithmetic
    4. 7.2.4
      Pointers and Arrays
  3. 7.3
    Dynamic Memory Allocation (malloc, calloc, free, realloc)
    1. 7.3.1
      Dynamic Memory Allocation (malloc, calloc, free, realloc)
    1. 7.3.2
      malloc()
    2. 7.3.3
      calloc()
    3. 7.3.4
      free()
    4. 7.3.5
      realloc()
  4. 7.4
    Operations on Pointers
    1. 7.4.1
      Operations on Pointers
  5. 7.5
    Array of Pointers, Passing and Returning Pointers to/from a Function
    1. 7.5.1
      Array of Pointers, Passing and Returning Pointers to/from a Function.
    1. 7.5.2
      Arrays of pointers
    2. 7.5.3
      Passing pointers to a function
    3. 7.5.4
      Returning pointers from a function
  6. 7.6
    Pointer declaration
  7. 7.7
    Pointer arithmetic
  8. 7.8
    Pointers and arrays

8Structures and Unions (5 LHs)

  1. 8.1
    Defining a structure
    1. 8.1.1
      Defining a structure
  2. 8.2
    Declaring and accessing structure elements
    1. 8.2.1
      Declaring and accessing structure elements
  3. 8.3
    Initializing structure
    1. 8.3.1
      Initializing structure
    2. 8.3.2
      Array of structure
  4. 8.4
    Pointer within structure
    1. 8.4.1
      Pointer within structure
  5. 8.5
    Structure within structure
    1. 8.5.1
      Structure within structure
  6. 8.6
    Array within structure
    1. 8.6.1
      Array within structure
  7. 8.7
    Passing and returning structures to/from function
    1. 8.7.1
      Passing and returning structures to/from function
    2. 8.7.2
      Unions
    1. 8.7.3
      Passing structures to a function
    2. 8.7.4
      Returning structures from a function
  8. 8.8
    Comparison between structure and union
    1. 8.8.1
      Comparison between structure and union.
    1. 8.8.2
      Structure memory and use
    2. 8.8.3
      Union memory and use
  9. 8.9
    Arrays of structures
  10. 8.10
    Unions

9File Handling (4 LHs)

  1. 9.1
    Introduction to Files, Text and Binary Files
    1. 9.1.1
      Introduction to Files, Text and Binary Files
    2. 9.1.2
      File Modes
    1. 9.1.3
      Text files
    2. 9.1.4
      Binary files
  2. 9.2
    File Operation (open, read, write, append, close)
    1. 9.2.1
      File Operation (open, read, write, append, close)
    1. 9.2.2
      Open
    2. 9.2.3
      Read
    3. 9.2.4
      Write
    4. 9.2.5
      Append
    5. 9.2.6
      Close
  3. 9.3
    Accessing the File sequentially and randomly
    1. 9.3.1
      Accessing the File sequentially and randomly.
    1. 9.3.2
      Sequential file access
    2. 9.3.3
      Random file access
  4. 9.4
    File modes

10Introduction to Graphics (2 LHs)

  1. 10.1
    Concepts of Graphics, Graphics Initialization and Modes, Introduction to Graphics Function
    1. 10.1.1
      Concepts of Graphics, Graphics Initialization and Modes, Introduction to Graphics Function.
    1. 10.1.2
      Concepts of graphics
    2. 10.1.3
      Graphics initialization
    3. 10.1.4
      Graphics modes
    4. 10.1.5
      Graphics functions

11Laboratory Works (16 hours)

  1. 11.1
    The laboratory work includes writing C programs for implementing the concepts of C Tokens…
    1. 11.1.1
      The laboratory work includes writing C programs for implementing the concepts of C Tokens and datatypes
  2. 11.2
    Formatted and unformatted Input/output
    1. 11.2.1
      Formatted and unformatted Input/output
  3. 11.3
    Branching control structure
    1. 11.3.1
      Branching control structure
  4. 11.4
    Looping control structure
    1. 11.4.1
      Looping control structure
  5. 11.5
    User-defined functions
    1. 11.5.1
      User-defined functions
    2. 11.5.2
      Array
  6. 11.6
    String handling function
    1. 11.6.1
      String handling function
    2. 11.6.2
      Pointers
    3. 11.6.3
      Structure and Union
    4. 11.6.4
      and File handling.
  7. 11.7
    Lab: C tokens and data types
  8. 11.8
    Lab: arrays
  9. 11.9
    Lab: pointers
  10. 11.10
    Lab: structures and unions
  11. 11.11
    Lab: file handling