Programming in C syllabus
CMP 103.39 units · 45 topicsAcademic year 2083/84
Browse the units
1Chapter 1: Introduction (3 hrs)
- 1.1
Concept of computer, types of computer, software, programming languages
- 1.2
Traditional and structured programming concept
- 1.3
History of computing and computers
- 1.4
Block diagram of computer, generation
2Chapter 2: Programming logic (5 hrs)
- 2.1
Problem solving (understanding of problems, feasibility and requirement analysis)
- 2.2
Design (flow chart and algorithm)
- 2.3
Program coding (execution, translator)
- 2.4
Testing and debugging
- 2.5
Implementation
- 2.6
Evaluation and maintenance of programs
- 2.7
Documentation
3Chapter 3: Variables and data types (3 hrs)
- 3.1
Constants and variables
- 3.2
Variable declaration
- 3.3
Variable types
- 3.4
Simple input/output function
- 3.5
Operators
4Chapter 4: Control Structures (6 hrs)
- 4.1
Introduction, types of control statements- sequential
- 4.2
Branching: if, else, else-if and switch statements, case, break and continue statements
- 4.3
Looping: for loop, while loop, do-while loop, nested loop
- 4.4
goto statement
5Chapter 5: Arrays and Strings (6 hrs)
- 5.1
Introduction to arrays, initialization of arrays
- 5.2
Multidimensional arrays
- 5.3
String and function related to the strings
6Chapter 6: Functions (6 hrs)
- 6.1
Introduction
- 6.2
Returning a value from a function
- 6.3
Sending a value to a function, arguments
- 6.4
Passing arrays and structure
- 6.5
External variables, storage classes
- 6.6
Pre-processor directives, C libraries, macros
- 6.7
Header files and prototyping
7Chapter 7: Pointers (7 hrs)
- 7.1
Definition, pointers for arrays
- 7.2
Returning multiple values from functions using pointers
- 7.3
Pointer arithmetic
- 7.4
Pointer for strings
- 7.5
Double indirection
- 7.6
Pointer to arrays
- 7.7
Memory allocation- malloc and calloc
8Chapter 8: Structure and Unions (5 hrs)
- 8.1
Definition of Structure
- 8.2
Nested type Structure
- 8.3
Arrays of Structure
- 8.4
Structure and Pointers
- 8.5
Unions
- 8.6
Self-referential structure
9Chapter 9: Files and File Handling (4 hrs)
- 9.1
Operating a file in different modes (Read, Write, Append)
- 9.2
Creating a file in different modes (Read, Write, Append)