Skip to content

Structured Programming in C syllabus

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

Structured Programming in C

11 units

1. Introduction to Programming Language (7 LHs)

  1. Definition of programming language
    1. Definition of programming language, Importance of programming in computing, Types of programming languages
  2. Programming Approach
    1. Programming Approach: Concept and definition of Top-Down Approach and Bottom-Up Approach
  3. Algorithm (Definition and characteristics, Basic Operations of an Algorithm with example)
    1. Algorithm (Definition and characteristics, Basic Operations of an Algorithm with example)
  4. Flowchart
    1. Flowchart (Definition and symbols used, Guidelines for flowcharting, Conversion of algorithm to flowchart, Basic Operations of a flowchart with examples).

2. Basic Elements of C (6 LHs)

  1. C Standards
    1. C Standards
    2. Features of C
  2. Structure of a C program
    1. Structure of a C program
  3. Compilation and execution
    1. compilation and execution
    2. Character Set
  4. C Tokens(Keywords, Identifiers, Constants, Strings, Operators, Delimiters)
    1. C Tokens(Keywords, Identifiers, Constants, Strings, Operators, Delimiters)
    2. Data Types
    3. Escape Sequences
  5. Variables, Constants(Literal Constants and Symbolic Constants)
    1. Variables, Constants(Literal Constants and Symbolic Constants)
    2. Writing Comments
  6. Expressions and Statements
    1. Expressions and Statements
  7. Preprocessor Directives
    1. Preprocessor Directives
  8. Arithmetic Operators
    1. Arithmetic Operators
    2. Unary Operators
  9. Relational and Logical Operators
    1. Relational and Logical Operators
    2. The Comma Operator
  10. Assignment Operators
    1. Assignment Operators
  11. The Conditional Operator
    1. The Conditional Operator
    2. Size of Operator
  12. Operator Precedence and Associativity
    1. Operator Precedence and Associativity.

3. Data Input and Output (3 LHs)

  1. Introduction
    1. Introduction
  2. Single Character Input and Output
    1. Single Character Input and Output
  3. The printf() and scanf() Functions
    1. The printf() and scanf() Functions
  4. Conversion Characters
    1. Conversion Characters
  5. Formatted and Unformatted I/O
    1. Formatted and Unformatted I/O.

4. Control Statements (6 LHs)

  1. Introduction to simple and compound statement
    1. Introduction to simple and compound statement
  2. Sequential statement
    1. Sequential statement
  3. Branching statement
    1. Branching statement (Simple if statement, if-else statement, Nested if-else statement, else-if ladder, switch statement, go to statement)
  4. Looping statement (for loop, while loop, do while, Nested loop)
    1. Looping statement (for loop, while loop, do while, Nested loop)
  5. Loop interruption (break, continue)
    1. Loop interruption (break, continue)

5. Functions (5 LHs)

  1. Introduction to function
    1. Introduction to function
  2. Advantages of function
    1. Advantages of function
  3. Types of Function (Built-in and user defined function)
    1. Types of Function (Built-in and user defined function)
  4. Elements of user-defined function(Function definition, Function prototype, Function parameters)
    1. Elements of user-defined function(Function definition, Function prototype, Function parameters)
  5. Scope rules (Global Variables and Static Variables)
    1. Scope rules (Global Variables and Static Variables)
  6. Category of User defined functions
    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)
    2. Recursive functions
  7. Function call by values and reference
    1. Function call by values and reference.

6. Arrays and Strings (5 LHs)

  1. Defining and Processing Arrays
    1. Defining and Processing Arrays
  2. Types of Arrays
    1. Types of Arrays: Single dimensional and Multidimensional
  3. Array Initialization
    1. Array Initialization
  4. Passing Arrays to Functions
    1. Passing Arrays to Functions
    2. Character Arrays
    3. Strings
    4. String Definition
    5. NULL Character
  5. String Initialization
    1. String Initialization
  6. Reading and Writing Strings
    1. Reading and Writing Strings
    2. Processing Strings
  7. Passing Strings to Functions
    1. Passing Strings to Functions
  8. Library Functions for String Handling
    1. Library Functions for String Handling.

7. Pointers (5 LHs)

  1. Basics of Pointer
    1. Basics of Pointer
  2. The & and * Operators
    1. The & and * Operators
    2. Pointer Declaration
    3. Pointer Arithmetic
    4. Pointers and Arrays
  3. Dynamic Memory Allocation (malloc, calloc, free, realloc)
    1. Dynamic Memory Allocation (malloc, calloc, free, realloc)
  4. Operations on Pointers
    1. Operations on Pointers
  5. Array of Pointers, Passing and Returning Pointers to/from a Function
    1. Array of Pointers, Passing and Returning Pointers to/from a Function.

8. Structures and Unions (5 LHs)

  1. Defining a structure
    1. Defining a structure
  2. Declaring and accessing structure elements
    1. Declaring and accessing structure elements
  3. Initializing structure
    1. Initializing structure
    2. Array of structure
  4. Pointer within structure
    1. Pointer within structure
  5. Structure within structure
    1. Structure within structure
  6. Array within structure
    1. Array within structure
  7. Passing and returning structures to/from function
    1. Passing and returning structures to/from function
    2. Unions
  8. Comparison between structure and union
    1. Comparison between structure and union.

9. File Handling (4 LHs)

  1. Introduction to Files, Text and Binary Files
    1. Introduction to Files, Text and Binary Files
    2. File Modes
  2. File Operation (open, read, write, append, close)
    1. File Operation (open, read, write, append, close)
  3. Accessing the File sequentially and randomly
    1. Accessing the File sequentially and randomly.

10. Introduction to Graphics (2 LHs)

  1. Concepts of Graphics, Graphics Initialization and Modes, Introduction to Graphics Function
    1. Concepts of Graphics, Graphics Initialization and Modes, Introduction to Graphics Function.

11. Laboratory Works (16 hours)

  1. The laboratory work includes writing C programs for implementing the concepts of C Tokens…
    1. The laboratory work includes writing C programs for implementing the concepts of C Tokens and datatypes
  2. Formatted and unformatted Input/output
    1. Formatted and unformatted Input/output
  3. Branching control structure
    1. Branching control structure
  4. Looping control structure
    1. Looping control structure
  5. User-defined functions
    1. User-defined functions
    2. Array
  6. String handling function
    1. String handling function
    2. Pointers
    3. Structure and Union
    4. and File handling.