Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
81 views

CSA02 C Programming Syllabus 20200504081112

This document outlines a course on C programming that aims to familiarize students with basic concepts of computer programming using the C language. The course objectives are to teach syntax and semantics of C, writing modular and readable code, and using structured programming to solve problems. Upon completing the course, students will be able to apply syntax rules, use data types like arrays and strings, implement functions with parameters and pointers, develop programs using structures and unions, and design applications for sequential and random file processing. The course is divided into 5 units covering introduction to C, arrays, functions and pointers, structures and unions, and file operations.

Uploaded by

Gnana Sekhar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
81 views

CSA02 C Programming Syllabus 20200504081112

This document outlines a course on C programming that aims to familiarize students with basic concepts of computer programming using the C language. The course objectives are to teach syntax and semantics of C, writing modular and readable code, and using structured programming to solve problems. Upon completing the course, students will be able to apply syntax rules, use data types like arrays and strings, implement functions with parameters and pointers, develop programs using structures and unions, and design applications for sequential and random file processing. The course is divided into 5 units covering introduction to C, arrays, functions and pointers, structures and unions, and file operations.

Uploaded by

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

CSA02 C PROGRAMMING 3 0 2 4

Prerequisite NIL

Course The course on C programming aims to provide the students with the following
Objectives 1. To familiarize the basic concepts of computer programming.
1. To provide knowledge on syntax and semantics of “C” language.
2. To learn how to write modular and readable C Programs
3. To write programs using structured programming approach to solve problems
4. To provide training in writing efficient, maintainable and portable code.

Course On successful completion of the course, the student will be able to:
Outcomes 1. Apply fundamental syntax rule for declaring variables, constants, primitive
data types and choose appropriate conditional and iterative constructs for a
given programming task.
2. Use non-primitive data types such as arrays and strings
3. Design and implement code using functions with various parameter passing
methods, pointers and allocate memory with dynamic memory allocation
functions.
4. Develop programs using user defined data types such as structures and
unions.
5. Design applications for sequential and random processing of files.

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 –Pointers – 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


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. 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.

You might also like