The course will enable the students to
Course | Learning Outcome (at course level) | Learning and teaching strategies | Assessment Strategies | |
---|---|---|---|---|
Course Code | Course Title | |||
24CBCA 103
| Programmingin C(Theory)
| CO13. Identify the need of programming and situations where computational methods would be useful. CO14. Apply knowledge of basic syntax and control structures to write simple C programs that solve computational problems or perform specific tasks. CO15. Investigate the utility of user defined function for modular programming. CO16. Design, implement, test, debug and document programs. CO17. Apply the concept of arrays, structures and pointers in real life applications. CO18 Contribute effectively in course-specific interaction. | Approach in teaching: Interactive Lectures, Discussion, Reading assignments, Demonstration,
Learning activities for the students: Self-learning assignments, Effective questions, Seminar presentation, Giving tasks | Class test, Semester end examinations, Quiz, Assignments, Presentation. |
Concepts of programming
Computer languages: Analogy with Natural Languages, Machine Language, Assembly Language, Assembler, Compiler, Interpreter, Flowcharts, Pseudo code and Algorithms, Characteristics of a Good Programming Language, Definition of Testing and Debugging, Types of Program Errors, Documentation, Need for Documentation.
Basic Structural Concepts of C Programming
History of C, The C standard library, C Compiler, C program Development Environment: Character set, C Tokens, Statements and Comments, Structure of Simple C program, Data Types, Operators & Expressions: Types of operators, Precedence and Associatively, Storage Classes and Scoping, C Formatted Input/Output: Streams, formatting output with printf, formatted input with scanf, Basic Built-in I/O functions, Preprocessor directives: #include, #define, Escape sequences.
Control Structures and Functions
Control Structures: Decision making with if-else statements, Nested if-else, Switch-case, for, while and do-while repetition structure, Counter Controlled and Sentinel Controlled Repetition, Nested control structures. break and continue statements.
Introduction to functions: Top-down approach of problem solving, modular programming and functions, prototype of a function: parameter list, return type, function call, passing arguments to a function: call by reference, call by value.
Arrays and String Handling
Arrays: One dimensional arrays: searching, swapping, insertion and deletion of an element from an array; two dimensional arrays, addition, subtraction and transpose in matrices, Multi-dimensional arrays, characters and Strings: Introduction, Fundamentals of Strings and characters, null terminated strings as array of characters, Character and String Handling Library.
Structures, Unions and Pointers
Structures and unions: Structure variables, initialization, structure assignment, structures and arrays, arrays of structures, structures containing arrays, unions.
Understanding Pointers: Accessing the address of variable, Declaring and initializing pointer variables, Accessing a variable through its pointer.
SUGGESTED READINGS:
e -RESOURCES:
JOURNALS