L T P C
U24GE1108 BASICS OF C PROGRAMMING
3 0 0 3
PRE REQUISITES:
Students are expected to have logical thinking.
COURSE OBJECTIVES:
1. To understand and develop the constructs of C Language.
2. To develop C programs using arrays and strings.
3. To develop modular applications in C using functions and pointers.
4. To develop applications in C using structures and union.
5. To do input/output and file handling in C.
SYLLABUS
UNIT I BASICS OF C PROGRAMMING 9
Introduction to programming paradigms – Applications of C Language - Structure of C program – C
programming: DataTypes – Constants–Enumeration Constants – Keywords–Operators: Precedence
and Associativity – Expressions – Input/Output statements, Assignment statements –Decision making
statements – Switch statement – Looping statements – Preprocessor directives – Compilation
process.
UNIT II ARRAYS AND STRINGS 9
Introduction to Arrays: Declaration, Initialization – One dimensional array –Two dimensional arrays –
String operations: length, compare, concatenate, copy – Selection sort, linear and binary search.
UNIT III FUNCTIONS AND POINTERS 9
UNIT I BASICS OF C PROGRAMMING 9
Modular programming – Function prototype, function definition, function call, Built-in functions–
Recursion. Pointers – Pointer operators – Pointer arithmetic – Arrays and pointers – Array of pointers
– Parameter passing: Pass by value, Pass by reference.
UNIT IV STRUCTURES AND UNION 9
Structure - Nested structures – Pointer and Structures – Array of structures – Dynamic memory
allocation–typedef–Union- Enumerated Data Types– Storage classes and Visibility.
UNIT V FILE PROCESSING 9
Files – Types of file processing: Sequential access, Random access – Sequential access file -Random
access file-Command line arguments.
Total Period 45
CO COURSE OUTCOME K LEVEL
At the end of the course student will be able to
Demonstrate knowledge on C Programming constructs and develop simple
CO 1 K3
applications
CO 2 Design and implement applications using arrays and strings K3
CO 3 Develop and implement modular applications in C using functions and pointers. K3
CO 4 Develop applications in C using structures and unions. K3
CO 5 Design applications using sequential and random access file processing. K3
TEXT BOOKS:
1. Reema Thareja, “Programming in C”, Oxford University Press, Second Edition, 2016.
2. Kernighan.B.W and Ritchie.D.M, “The C Programming language”, Second Edition, Pearson Education,
2015.
3. Ashok N.Kamthane, Amit.N.Kamthane, “Programming in C”, 3rd Edition, Pearson Education, 2015.
REFERENCES:
1. Paul Deitel and Harvey Deitel, “C How to Program with an Introduction to C++”, Eighth edition, Pearson
Education, 2018.
2. Yashwant Kanetkar,Letus C,17th Edition, BPB Publications, 2020.
3. ByronS.Gottfried, “Schaum’s Outline of Theory and Problems of Programming with C”, McGraw-
HillEducation,1996.
4. PradipDey, Manas Ghosh, “Computer Fundamentals and Programming in C”, Second Edition, Oxford
University Press, 2013.
5. Anita Goel and Ajay Mittal, “Computer Fundamentals and Programming in C”, 1 st Edition, Pearson
Education, 2013.
PO PO PO PO PO PO PO PO PO PO PO PO PSO PSO PS
CO/PO
1 2 3 4 5 6 7 8 9 10 11 12 1 2 O3
CO 1 1 2 2 - - 2 - - - - - 2 1 2 -
CO 2 2 2 2 - - 2 - - - - - 3 2 2 -
CO 3 2 3 2 - - 2 - - - - - 2 2 2 -
CO 4 2 2 2 - - 2 - - - - - 3 2 2 -
CO 5 2 3 3 - - 2 - - - - - 2 2 3 -
Averag 2 2 2 - - 2 - - - - - 2 2 2 -
e
Strongly Moderately Reasonably
3 2 1
Agreed Agreed Agreed