Home > Syllabus > Programming in C

CS3251 Programming in C Syllabus - Anna University

Explore the Anna University CS3251 Programming in C syllabus under Regulation 2021.

Complete syllabus
Whole Syllabus PDF
Regulation 2021

CS3251 PROGRAMMING IN C

L T P C: 3 0 0 3

COURSE OBJECTIVES:

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

TOTAL : 45 PERIODS

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 Edition, Oxford University Press, 2013.
  5. Anita Goel and Ajay Mittal, "Computer Fundamentals and Programming in C", 1st Edition, Pearson Education, 2013.