Download as DOCX, PDF, TXT or read online from Scribd
Download as docx, pdf, or txt
You are on page 1of 1
B.Tech. CSE R23 Regulations I Year B.Tech.
CSE– I Semester
(23A05101T) INTRODUCTION TO PROGRAMMING
(Common to All branches of Engineering) Course Objectives: 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, 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 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, dereferencing 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, 2nd edition 3. C Programming, A ProblemSolving Approach, Forouzan, Gilberg, Prasad, CENGAGE, 3rd edition