Programming in C

CS3251 2nd Semester CSE Dept 2021 | Regulation

Home | All Courses | CSE Department | Subject: Programming in C

2021 regulation - 1st year, 2nd semester paper for CSE Department (Computer Science Engineering Department). Subject Code: CS3251, Subject Name: Programming in C, Batch: 2021, 2022, 2023, 2024. Institute: Anna University Affiliated Engineering College, TamilNadu. This page has Programming in C study material, notes, semester question paper pdf download, important questions, lecture notes.

PDF Download Links

Programming in C

PDF Download Links

Programming in C

PDF Download Links




CS3251    

PROGRAMMING IN C

COURSE OBJECTIVES:                                       

•        To understand the constructs of C Language.

•        To develop C Programs using basic programming constructs

•        To develop C programs using arrays and strings

•        To develop modular applications in C using functions

•        To develop applications in C using pointers and structures

•        To do input/output and file handling in C

UNIT I       BASICS OF C PROGRAMMING      

Introduction to programming paradigms – Applications of C Language - Structure of C program - C programming: Data Types - 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

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

Modular programming - Function prototype, function definition, function call, Built-in functions (string functions, math functions) – Recursion, Binary Search using recursive functions –Pointers – Pointer operators – Pointer arithmetic – Arrays and pointers – Array of pointers – Parameter passing: Pass by value, Pass by reference.

UNIT IV    STRUCTURES AND UNION

Structure - Nested structures – Pointer and Structures – Array of structures – Self referential structures – Dynamic memory allocation - Singly linked list – typedef – Union - Storage classes and Visibility.

UNIT V     FILE PROCESSING

Files – Types of file processing: Sequential access, Random access – Sequential access file - Random access file - Command line arguments.

 

COURSE OUTCOMES:

Upon completion of the course, the students will be able to

CO1: Demonstrate knowledge on C Programming constructs

CO2: Develop simple applications in C using basic constructs

CO3: Design and implement applications using arrays and strings

CO4: Develop and implement modular applications in C using functions.

CO5: Develop applications in C using structures and pointers.

CO6: Design applications using sequential and random access file processing.

 

TEXT BOOKS:

1.       ReemaThareja, “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.


REFERENCES:

1.       Paul Deitel and Harvey Deitel, “C How to Program with an Introduction to C++”, Eighth edition, Pearson Education, 2018.

2.       Yashwant Kanetkar, Let us C, 17th Edition, BPB Publications, 2020.

3.       Byron S. Gottfried, “Schaum’s Outline of Theory and Problems of Programming with C”, McGraw-Hill Education, 1996.

4.       Pradip Dey, Manas Ghosh, “Computer Fundamentals and Programming in C”, Second

5.       Edition, Oxford University Press, 2013.

6.       Anita Goel and Ajay Mittal, “Computer Fundamentals and Programming in C”, 1st Edition, Pearson Education, 2013.


Programming in C: Unit I (a): Introduction to Programming,, Programming in C: Unit I (b): Introduction to C,, Programming in C: Unit I (c): Decision Control and Looping Statements,, Programming in C: Unit I (d): Preprocessor Directives,, Programming in C: Unit II (a): Arrays,, Programming in C: Unit II (b): Strings,,Programming in C: Unit III (a): Functions,, Programming in C: Unit III (b): Pointers,, Programming in C: Unit IV: Structures and Union,, Programming in C: Unit V: File Processing 2nd Semester CSE Dept 2021 Regulation : CS3251 2nd Semester CSE Dept 2021 | Regulation Programming in C

Home | All Courses | CSE Department | Subject: Programming in C