14PCD23 Programming in C & Data Structures syllabus for Chemistry Cycle



A d v e r t i s e m e n t

Module-1 Introduction To C Language 10 hours

Pseudo code solution to problem, Basicconcepts in a C program, Declaration, Assignment & Print statements, Typesof operators and expressions etc, Programming examples and exercise.Text 1: Chapter 2.Text 2: 1.1, 1.2, 1.3.

Module-2 Branching and Looping 10 hours

Two way selection (if, if-else, nested if-else,cascaded if-else), switch statement, ternary operator? Go to, Loops (For,while-do, do-while) in C, break and continue, Programming examples andexercises. Text 1: Chapter 3. Text 2: 4.4.

Module-3 Functions, Arrays and Strings 10 hours

Arrays and Strings : Using an array, Using arrays with Functions, Multi-Dimensional arrays. String: Declaring, Initializing, Printing and reading strings,string manipulation functions, String input and output functions, array ofstrings, Programming examples and Exercises.Text 1: 5.7, Text 2: 7.3, 7.4, chapter 9Functions : Functions in C, Argument Passing – call by value, call byreference, Functions and program structure, location of functions, void andparameter less Functions, Recursion, Programming examples and exercises.Text 1: 1.7, 1.8, Chapter 4. Text 2: 5.1 to 5.4.

Module-4 Structures and File Management 10 hours

Basic of structures, structures andFunctions, Array of structures, structure Data types, type definition, Defining,opening and closing of files, Input and output operations, Programmingexamples and exercises.Text 1: 6.1 to 6.3. Text 2: 10.1 to 10.4, Chapter 11.

Module-5 Pointers and Preprocessors 10 hours

Pointers and address, pointers and functions(call by reference) arguments, pointers and arrays, address arithmetic,character pointer and functions, pointers to pointer ,Initialization of pointerarrays, Dynamic memory allocations methods, Introduction to Preprocessors,compiler control Directives, Programming examples and exercises.Text 1: 5.1 to 5.6, 5.8. Text 2: 12.2, 12.3, 13.1 to 13.7.Introduction to Data Structures : Primitive and non primitive data types,Abstract data types, Definition and applications of Stacks, Queues, LinkedLists and Trees.Text 2: 14.1, 14.2, 14.11, 14.12, 14.13, 14.15, 14.16, 14.17, 15.1.

Last Updated: Tuesday, January 24, 2023