CS006 C Programming 3 0 2 4
CS006 C Programming 3 0 2 4
Prerequisite NIL
Course On successful completion of the course, the student will be able to:
Outcomes 1. Understand the concept of declaring variables, constants, data types and
arrays. (1,2)
2. Design programs involving decision structures, loops, conditional statements
and functions. (2,3,4)
3. Examine the internal representation of two and three dimension arrays in C.
(1,4)
4. Understand dynamic memory allocation, parameter passing, the use of
pointers. (1,2,4)
Note: Numbers given in the parenthesis refer to Graduate Attributes required by NBA
UNIT I INTRODUCTION TO C
Programming basics - C programming history - Structure of C program- Pre- processor
directives - Constants, Variables and Data Types – Operators and Expressions – Problems using
operators - Operator precedence and associativity of operators - Decision Making and Branching
–Looping – Problems using Branching & control statements.
UNIT II ARRAYS
Defining and processing arrays - Using different data types, indexes and access to arrays. –
Single dimensional arrays – Two dimensional arrays- -Multi-dimensional arrays – programs
using arrays- Array applications: Search in sorted and unsorted data and merging of arrays –
Sorting algorithms.
TEXT BOOKS
1. Kernighan,B.W and Ritchie,D.M, ―The C Programming language‖, Second Edition, Pearson
Education, 2006.
2. E. Balagurusamy," Programming in ANSI C‖", TMH, New Delhi, 2012.
REFERENCES
1. PradipDey, ManasGhosh, ―Fundamentals of Computing and Programming in C‖, First
Edition, Oxford University Press, 2009.
2. Ashok N. Kamthane, ―Computer programming‖, Pearson Education, 2007.
3. Yashavant P. Kanetkar. ―Let Us C‖, BPB Publications, 2011.
4. Byron S Gottfried, ―Programming with C‖, Schaum‘s Outlines, Second Edition, Tata
McGraw-Hill, 2006.
5. R.G. Dromey, ―How to Solve it by Computer‖, Pearson Education, Fourth Reprint, 2007
6. Herbert Schildt, "Complete Reference C", Tata McGraw-Hill Fourth Edition, 2009.
7. Yashavant P. Kanetkar. ― Exploring C‖, BPB Publications, 2011
8. Anju Sindhu, "Computer Fundamentals In C Programming", Vayu Education of India, 2004.
9. Kelly Pohl, "A Book on C", Pearson Education, Fourth Edition, 2005.