1 Name of Course/Module :C-PROGRAMMING
2 Course Code: CPM 113
3 Name(s) of academic staff:
4 Rationale for the inclusion of the course /module in the programme:
This course introduces the C programming language features with the structure of C program and C
program execution.
5 Semester and Year offered: year 1 semester 1
6 Course Hours Face to Face
ILT TSLT
L T P O
L=Lecture
T=Tutorial
P=Practical 39 6 36 6 81 168
O=Others
TSLT=Total student learning time
7 Credit Value:4
8 Prerequisite: Nil
9 Course Learning Outcomes:
On completion of this course students will be able to:
Demonstrate an understanding of computer programming language concepts.
Design computer programs, analyzes, and interprets the concept of pointers, declarations,
initialization, operations on pointers and their usage in a professional manner.
Develop confidence for self-education and ability for life-long learning needed for Computer
language.
10 Transferable Skills:
Critical Thinking and Problem Solving Skills
Information Management & Lifelong Learning
Leadership Skills
11 Teaching –learning and assessment strategy
Lectures
Tutorials
At the end of the programme, students are given an opportunity to evaluate the course and the lecturer.
12 Synopsis:
This course provides a comprehensive introduction to the C language, emphasizing portability and
structured design. Students are introduced to all major language elements including fundamental data
types, flow control, and standard function libraries.
13 Mode of Delivery:
Lectures, Tutorials, Practical.
14 Assessments Methods and Types:
Assignments 20%
Mid Exam 20%
Final Exam 50%
Quiz 10%
Total 100%
Content Outline of the course/module and the SLT per topic
15 Face to face ILT Total
No Subject description
Lecture Tutorial Practical Others
1 Problem solving with computer:
Problem analysis
Algorithm and flowchart
Coding, compilation and
5 3 - - 8 16
execution
History of C
Structure of C program, executing
C Program
2 Elements of C:
C Standards (ANSI C and C99)
C Character Set
C Tokens
I/O using scanf and printf 5 3 - - 8 16
Escape Sequence, Delimiters
Variables, Data Types (Basic,
Derived and User Defined)
Constants/Literals
3. Operators and Expressions:
Introduction to operators
Arithmetic Operators
Relational Operators
Logical Operators
Assignment Operators
Increment and decrement 4 - 5 - 9 18
operators (Unary Operators)
Bitwise Operators
Shift Operators
Miscellaneous Operators
Operator Precedence and
Associativity
4 Control Statements:
Decision making statements
Loop or Iteration or Repeating 4 - 5 - 9 18
Construct
Break and Continue Statement
goto Statement
Switch Statement
5. Function:
Introduction to Function
Advantages of Function
Function Call and Definition
Nested and Recursive Function
Categories of Function according 5 - 6 - 11 22
to Return Type
Concept of Local, Global, Static
and Register Variables
Categories of Function according
to Arguments
6. Arrays & Strings:
Introduction to Array
Types of Array (Single and
Multidimensional)
Declaration and Memory 4 - 5 - 9 18
Representation of Array
Passing Array to Function
String Introduction
String Library Functions
7. Pointer:
Introduction to Pointer
Pointer Declaration
Initialization Pointers
Pointer and Arrays
Arrays of Pointer 5 - 6 - 11 22
Pointers as Function Arguments
String and Pointer
Dynamic Memory Allocation
(DMA)
Application of Pointer
Advantages of Pointer
8. Structure and Union:
Introduction to Structure
Defining a Structure
Structure Initialization 4 - 5 - 9 18
Arrays of Structure
Passing Arrays of Structure to
Function
Nested Structure
Pointer to Structure
9. File Handling in C:
Concept in File
Opening and Closing of File 3 - 4 - 7 14
Input/Output Operation in File
Random Access in File
Errors in File, Error Handling in
Total 39 6 36 - 81 162
16. Main references supporting the course:
“The C Programming Language” by Brian W Kernighan / Dennis Ritchie
“Let Us C” by YashavantKanetkar
“The C++ Programming Language” by STROUSTRUP
“C++: The Complete Reference, 4th Edition” by Herbert Schildt
“Programming: Principles and Practice Using C++” by BjarneStroustrup