This course is part of the B.E. Computer Science Engineering curriculum under Anna University Regulation 2021. The knowledge from this course continues to be actively applied in professional software development.
Semester 2 (First Year)
3 Credits
45 Lecture Hours
Course Overview
UniversityAnna University
Regulation2021
Semester2
Credits3
TypeCore
Units5
Course Objectives
1
To learn C programming basics and data types
2
To understand arrays and string operations
3
To learn functions and pointers
4
To understand structures and unions
5
To learn file processing techniques
Syllabus
Detailed unit-wise breakdown of the course curriculum as per Anna University Regulation 2021.
1
BASICS OF C PROGRAMMING
9 Hours
Introduction to programming paradigmsApplications of C LanguageStructure of a C programC programming data typesConstants and enumeration constantsKeywordsOperators – precedence and associativityExpressionsInput/output statementsAssignment and decision-making statementsSwitch and looping statementsPreprocessor directivesCompilation process
2
ARRAYS AND STRINGS
9 Hours
Introduction to arraysDeclaration and initializationOne-dimensional arraysTwo-dimensional arraysString operations – length, compareConcatenate, copySelection sortLinear searchBinary search
3
FUNCTIONS AND POINTERS
9 Hours
Modular programmingFunction prototypeFunction definition and callBuilt-in functions – string, mathRecursionBinary search using recursionPointers and pointer operatorsPointer arithmeticArrays and pointersArray of pointersParameter passing – by value, by reference
4
STRUCTURES AND UNION
9 Hours
StructuresNested structuresPointers and structuresArray of structuresSelf-referential structuresDynamic memory allocationSingly linked listTypedefUnionStorage classesVisibility
5
FILE PROCESSING
9 Hours
FilesTypes of file processingSequential accessRandom accessSequential access filesRandom access filesCommand line arguments
Course Outcomes
Upon completion of this course, students will be able to:
CO1
Write C programs using basic constructs
CO2
Implement programs using arrays and strings
CO3
Develop modular programs using functions and pointers
CO4
Use structures and unions for data organization
CO5
Perform file operations in C
Industry Application & Relevance
How the concepts learned in this course are applied in real-world software development projects across Banking, Healthcare, and Enterprise domains over 20+ years of experience.
Professional Application
Foundation for all programming, memory management concepts
Textbooks & References
Textbooks
Reema Thareja, 'Programming in C', Oxford University Press
Kernighan and Ritchie, 'The C Programming Language', Pearson
Reference Books
Paul Deitel, Harvey Deitel, 'C How to Program', Pearson
Yashavant Kanetkar, 'Let Us C', BPB Publications
Related Courses from Semester 2
Other courses from the same semester that are actively used in professional work.