Skip to content

Computer Programming syllabus

MAT30122 units · 76 topicsAcademic year 2083/84
Browse the units

1Introduction to Computer Systems (11 Lectures)

2Introduction to Programming Languages (7 Lectures)

3Fundamentals of C Programming (11 Lectures)

4Input/ Output Statements (5 Lectures)

5Operators and Expressions (10 Lectures)

6Control Statements (8 Lectures)

7Functions (12 Lectures)

8Arrays and Pointers (18 Lectures)

9Structures and Unions (10 Lectures)

10File Handling (8 Lectures)

11Laboratory Works (50 Hrs)

12Introduction to Computer Systems (11 lectures)

  1. 12.1
    Introduction to computers
  2. 12.2
    Architecture of digital computer
  3. 12.3
    Central Processing Unit
  4. 12.4
    Memory system: primary and secondary memory
  5. 12.5
    Input devices, output devices
  6. 12.6
    Computer software: system software, application software
  7. 12.7
    Operating systems
  8. 12.8
    Generations of computers
  9. 12.9
    Applications of computers

13Introduction to Programming Languages (7 lectures)

  1. 13.1
    Programming languages and their evolution
  2. 13.2
    Structured programming
  3. 13.3
    The compilation process: object code, source code, executable code
  4. 13.4
    Interpreters, linkers, loaders
  5. 13.5
    Fundamentals of algorithms
  6. 13.6
    Flow charts

14Fundamentals of C Programming (11 lectures)

  1. 14.1
    Introduction to C, history of C
  2. 14.2
    Structure of C program, compilation and execution
  3. 14.3
    The C character set, C tokens
  4. 14.4
    Keywords and identifiers, delimiters
  5. 14.5
    Variables, declaration of variable
  6. 14.6
    Constants, data types
  7. 14.7
    Expressions, statements, comments
  8. 14.8
    Symbolic constants

15Input/Output Statements (5 lectures)

  1. 15.1
    Single character input/output
  2. 15.2
    Input data using scanf
  3. 15.3
    Writing output data using printf
  4. 15.4
    gets and puts functions

16Operators and Expressions (10 lectures)

  1. 16.1
    Arithmetic operators, unary operators
  2. 16.2
    Relational operators, logical operators
  3. 16.3
    Assignment operators, increment or decrement operators
  4. 16.4
    Conditional operator, bitwise operator, comma operator
  5. 16.5
    Precedence of operators
  6. 16.6
    Arithmetic expressions
  7. 16.7
    Type conversion in expressions

17Control Statements (8 lectures)

  1. 17.1
    Branching: if-else statement, nested if-else
  2. 17.2
    Looping: while statement, do-while statement, for statement
  3. 17.3
    Switch statement
  4. 17.4
    Break statement, goto statement

18Functions (12 lectures)

  1. 18.1
    Overview of functions, library functions
  2. 18.2
    User defined functions: defining and accessing a function, function prototypes
  3. 18.3
    Local and global variables
  4. 18.4
    Passing arguments to a function: call-by-value, call-by-reference
  5. 18.5
    Recursion

19Arrays and Pointers (18 lectures)

  1. 19.1
    Defining and processing an array
  2. 19.2
    One-dimensional and multi-dimensional arrays
  3. 19.3
    Matrix operations
  4. 19.4
    Arrays and strings
  5. 19.5
    Introduction to pointers, the & and * operators, pointer declarations
  6. 19.6
    Passing pointers to a function
  7. 19.7
    Pointers and one-dimensional arrays
  8. 19.8
    Dynamic memory allocation
  9. 19.9
    Operations on pointers
  10. 19.10
    Pointers and multi-dimensional arrays, array of pointers

20Structures and Unions (10 lectures)

  1. 20.1
    Defining and processing a structure
  2. 20.2
    User defined data type (typedef)
  3. 20.3
    Structures and pointers
  4. 20.4
    Passing structures to functions
  5. 20.5
    Structure within structure (nested/self-referential)
  6. 20.6
    Unions

21File Handling (8 lectures)

  1. 21.1
    Concepts of file
  2. 21.2
    Opening and closing of file, modes
  3. 21.3
    Input/output functions
  4. 21.4
    Creating a file
  5. 21.5
    Processing a file

22Laboratory works (50 hrs)

  1. 22.1
    Practical session after each topic, writing programs for mathematical problems as much as possible