Anna University · Regulation 2021
CS 3251 Programming in C question papers
CS3251 Programming in C previous year question papers from Anna University (Regulation 2021), with the full syllabus. Read online or download the PDF.
Second semester · Core · L T P C: 3 0 0 3
Question papers
- November/December 2024
Question paper code 40915
- April/May 2024
Question paper code 50895
- November/December 2023
Question paper code 20861
- April/May 2023
Question paper code 30115
- November/December 2022
Question paper code 70069
- April/May 2022
Question paper code 60025
Syllabus
Unit 1: Basics of C Programming9 hours
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 2: Arrays and Strings9 hours
Introduction to Arrays: Declaration · Initialization · One dimensional array · Two dimensional arrays · String operations: length · compare · concatenate · copy · Selection sort · linear and binary search
Unit 3: Functions and Pointers9 hours
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 4: Structures and Union9 hours
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 5: File Processing9 hours
Files · Types of file processing: Sequential access · Random access · Sequential access file · Random access file · Command line arguments