0% found this document useful (0 votes)
140 views

Ec006 C Programming

This document outlines the objectives and outcomes of the EC006 C Programming course. The course aims to familiarize students with basic C programming concepts like variables, data types, operators, and control structures. It will provide hands-on training in writing efficient, portable C code. The course covers arrays, functions, pointers, structures, unions, and file handling. Assessment is based on understanding variables, arrays, functions, pointers, and dynamic memory allocation.

Uploaded by

Sivanesh Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
140 views

Ec006 C Programming

This document outlines the objectives and outcomes of the EC006 C Programming course. The course aims to familiarize students with basic C programming concepts like variables, data types, operators, and control structures. It will provide hands-on training in writing efficient, portable C code. The course covers arrays, functions, pointers, structures, unions, and file handling. Assessment is based on understanding variables, arrays, functions, pointers, and dynamic memory allocation.

Uploaded by

Sivanesh Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

EC006 C PROGRAMMING 3024

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 Outcomes On successful completion of the course, the student will be able to:

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 9

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 9

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 9

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.

UNIT IV STRUCTURES AND UNIONS 9


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 9

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.

You might also like