Anda di halaman 1dari 2

SAVEETHA SCHOOL OF ENGINEERING

SAVEETHA INSTITUTE OF MEDICAL AND


TECHNICAL SCIENCES
CIVIL ENGINEERING PROGRAMME

CE00601 C PROGRAMMING – Introduction 3 0 2 4

Prerequisite NIL
Course
Objectives 1. To help the students to familiarize the basic concepts of computer programming.
2. To provide knowledge on syntax and semantics of “C” language.
3. To provide hands-on training with the means of writing efficient, maintainable and
portable code.

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

UNIT III
FUNCTIONS AND POINTERS
Functions – Types - Declaring, defining and accessing functions – Parameter passing methods –
Prototypes -Programs using functions -– Recursion –- String handling –Pointer s – Declaration –
Operations on pointers -Accessing variable through pointer – Initializing pointer variable –
Pointers and Functions – Pointers and Arrays – Example programs using pointers with function
& arrays–Command line arguments – Dynamic memory allocation.
SAVEETHA SCHOOL OF ENGINEERING
SAVEETHA INSTITUTE OF MEDICAL AND
TECHNICAL SCIENCES
CIVIL ENGINEERING PROGRAMME

UNIT IV
STRUCTURES AND UNIONS
Structures–structure definition – Structure declaration –Structure within a structure - Programs
using structures- Structure Pointers-Union - Programs using Unions - Storage classes – auto,
extern, static and register.

UNIT V
FILES & OPERATIONS
File structure- File pointer – file operations – Opening and closing of file – Creating, Processing
and updation on files- File handling programs- Case studies.

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. Pradip Dey, 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.

Anda mungkin juga menyukai