(23A05101T) INTRODUCTION TO PROGRAMMING
(Common to All branches of Engineering)
Course Objectives:
1. To introduce students to the fundamentals of computer programming.
2. To provide hands-on experience with coding and debugging.
3. To foster logical thinking and problem-solving skills using programming.
4. To familiarize students with programming concepts such as data types, control
structures, functions, and arrays.
5. 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, the concept of algorithm and algorithmic thinking.
CO2: Analyse a problem and develop an algorithm to solve it.
CO3: Implement various algorithms using the C programming language.
CO4: Understand more advanced features of C language.
CO5: Develop problem-solving skills and the ability to debug and optimize the code.
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
ProgramAlgorithms, flowcharts (Using Dia Tool), pseudo code. Introduction to Compilation and
Execution,Pre defined preocessors, Primitive Data Types, Variables, and Constants, Basic Input
and Output, Operations, Type Conversion, and Casting, Command Line Argument
Problem solving techniques: Algorithmic approach, characteristics of algorithm, Problem solving
strategies: Top-down approach, Bottom-up approach, Time and space complexities of
algorithms. Storage classes(auto,static,extern, register)
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, String handling functions
UNIT IV Pointers & User Defined Data types
Pointers, dereferencing and address operators, pointer and address arithmetic, Argument
passing using pointers, array manipulation using pointers, User-defined data types-Structures
and Unions, Dynamic Memory Allocation
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, File handling functions
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, 2nd edition
3. C Programming, A ProblemSolving Approach, Forouzan, Gilberg, Prasad, CENGAGE, 3rd
edition
Course Outcomes: A student after completion of the course will be able to
CO1: Understand basics of computers, the concept of algorithm and algorithmic thinking.
CO2: Analyse a problem and develop an algorithm to solve it.
CO3: Implement various algorithms using the C programming language.
CO4: Understand more advanced features of C language.
CO5: Develop problem-solving skills and the ability to debug and optimize the code.
Program Outcomes:
1) Engineering knowledge
2) Problem Analysis
3) Design/Development of solutions
4) Conduct investigations of complex problems
5) Modern tool usage
6) The Engineer & Society
7) Environment & Sustainability
8) Ethics
9) Individual & Team Work
10) Communication
11) Project management & finance
12) Life long learning
CO & PO Mapping:
The CO–PO mapping table with numerical values for the strength of mapping
3 = High correlation
2 = Medium correlation
1 = Low correlation
0 = No correlation
CO / PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12
PO
CO1 3 2 1 1 1 1 1 1 1 2 0 2
CO2 2 3 2 2 1 1 1 1 2 2 0 3
CO3 2 2 3 2 2 1 1 1 2 2 0 3
CO4 2 2 3 2 2 1 1 1 2 2 0 3
CO5 2 3 3 2 2 1 1 1 2 3 0 3
HOD PRINCIPAL