INTRODUCTION TO PROGRAMMING
(Common to All branches of Engineering)
- To introduce students to the fundamentals of computer programming.
- To provide hands-on experience with coding and debugging.
- To foster logical thinking and problem-solving skills using programming.
- To familiarize students with programming concepts such as data types, control structures, functions, and arrays.
- To encourage collaborative learning and teamwork in coding projects.
Course Outcomes: A student after completion of the course will be able to
CO1: Understand basics of computers, concept of algorithms and flowcharts. (Understand -L2)
CO2: Understand the features of C language. (Understand-L2)
CO3: Interpret the problem and develop an algorithm to solve it. (Apply-L3)
CO4: Implement various algorithms using the C programming language. (Apply-L3)
CO5: Develop skills required for problem-solving and optimizing the code (Apply-L3)
UNIT I Introduction to Programming and Problem Solving
History of Computers, Basic organization of a computer: ALU, input-output units, memory,program counter, Introduction to Programming Languages
Basics of a Computer Program-Algorithms, flowcharts (Using Dia Tool), pseudo code. Introduction to Compilation and Execution, Primitive Data Types, Variables, and Constants
Basic Input and Output, Operations, Type Conversion, and Casting.
Problem solving techniques: Algorithmic approach, characteristics of algorithm,
Problem solving strategies: Top-down approach, Bottom-up approach, Time and space complexities of algorithms.
UNIT II Control Structures
Simple sequential programs Conditional Statements (if, if-else, switch),Loops (for, while, do-while) Break and Continue.
UNIT III Arrays and Strings
Arrays indexing, memory model, programs with array of integers, two dimensional arrays, Introduction to Strings.
UNIT IV Pointers & User Defined Data types
Pointers, de referencing and address operators, pointer and address arithmetic, array manipulation using pointers, User-defined data types-Structures and Unions.
UNIT V Functions & File Handling
Introduction to Functions, Function Declaration and Definition, Function call Return Types and Arguments, modifying parameters inside functions using pointers, arrays as parameters. Scope and Lifetime of Variables, Basics of File Handling
Note: The syllabus is designed with C Language as the fundamental language
of implementation.
Textbooks:
1.The C Programming Language", Brian W. Kernighan and Dennis M. Ritchie,
Prentice- Hall, 1988
2. Schaum’s Outline of Programming with C, Byron S Gottfried, McGraw-Hill Education, 1996
Reference Books:
1. Computing fundamentals and C Programming, Balagurusamy, E.,McGraw-Hill Education, 2008.
2. Programming in C, Rema Theraja, Oxford, 2016, 2 nd edition
3. C Programming, A Problem Solving Approach, Forouzan, Gilberg, Prasad, CENGAGE, 3 rd edition
No comments:
Post a Comment