Syllabus
Course Code: EI-ES-106 Course Name: Programming for Problem Solving |
||
MODULE NO / UNIT | COURSE SYLLABUS CONTENTS OF MODULE | NOTES |
---|---|---|
1 | Generations and Classification of Computers - Applications of Computers - Basic Organization of a Computer - Number system - Binary, Decimal, Octal and Hexadecimal - Problems Introduction to C Language: Algorithm, Flowchart, Pseudo-code solution to problem, Basic concepts of a C program, Declaration, Assignment & Print statement, Types of operators and expressions, Programming examples and exercise. Branching and Looping: Two-way selection (if, if- else, nested if- else, cascaded if-else), switch statement, ternary operator? Goto, Loops (For, do- while, while) in C, break and continue, programming examples and exercises. |
|
2 | Functions: User defined functions-function definition, function declaration,function call, Formal and actual parameters, Categories of functions, Passing parameters to functions- Pass by value, Pass by reference, Recursion- types of recursion, programming example s and exercises. Arrays and Strings: Arrays: Classification of arrays, Storing value in arrays, Using arrays with Functions- passing individual elements of array, passing the whole array, Multidimensional arrays-addition and multiplication of matrices, Searching and Sorting-Linear search, Binary search, Bubble sort, String: Declaring, Initializing, Printing and reading strings, String input and output functions, String handling functions, Arrays of strings, programming examples and Exercises. |
|
3 | Structures and File Management: Basics of structures-structure data types, type definition, accessing structures, Structure operations, Complex structures-nested structures, structures containing arrays, Array of structures, Structures and Functions, File Management:Creating a file, Declaring file pointer variable, Modes of a file, Opening and closing the files, Input and output operations, Programming examples and exercises. |
|
4 | Pointers: Pointers concepts, Pointers and functions, Arrays and pointers, address arithmetic, Character pointer and functions, Pointers to pointer, Dynamic allocations methods- malloc(), calloc(), realloc(),free(), Array of pointers, Introduction to Data Structures: Primitive and non-primitive data types, Definition and applications of Stacks, Queues, Linked Lists and Trees |
|