🎧 New: AI-Generated Podcasts Turn your study notes into engaging audio conversations. Learn more

Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Full Transcript

23CSE201 PROCEDURAL PROGRAMMING USING C Contents Course Overview Syllabus Text books and References Course outcomes and CO-PO Mapping Materials Lecture-1 Course Outcome CO1: Understand the typical programming constructs: data (primitive and compound), contro...

23CSE201 PROCEDURAL PROGRAMMING USING C Contents Course Overview Syllabus Text books and References Course outcomes and CO-PO Mapping Materials Lecture-1 Course Outcome CO1: Understand the typical programming constructs: data (primitive and compound), control, modularity, recursion etc. thereby to understand a given program. CO2: Analyze a given program by tracing, identify coding errors and debug them. CO3: Apply the programming constructs appropriately and effectively while developing computer program. CO4: Develop computer programs that implement suitable algorithms for problem scenarios and applications. Syllabus Unit 1 Review of Physical Computing, Understanding Arduino Hardware and Software Architecture - Verifying Hardware and Software – Loading and Running your First Program Introduction to C - Structure of C programs - Data types - I/O - control structures. Unit 2 Arrays - Functions - Storage Classes and Scope - Recursion - Pointers: Introduction, pointer arithmetic, arrays and pointers, pointer to functions, dynamic memory allocation. Unit 3 Structures, Unions and Data Storage - Strings: fixed length and variable length strings, strings and characters, string manipulation functions - Files and Streams - C Preprocessor - Command line arguments. Textbooks Jack Purdum, “Beginning C for Arduino”, Second Edition, APress, 2015. Reference(s) Peter Linz and Tony Crawford, “C in a Nutshell: The Definitive Reference”, Second Edition, O’Reily Media, 2016. Jens Gustedt, “Modern C”, Manning Publications, 2019. Robert C. Seacord, Effective C - “An Introduction to Professional C Programming”, No Starch Press, 2020. Daniel Gookin, “Tiny C Projects”, Manning Publications, 2022. Evaluation Plan Components Weightage Max. Marks Midterm Test 20 50 Continuous Assessment – Theory (CAT) (10) Quiz 1 5 10 Quiz 2 5 10 Continuous Assessment – Lab (CAL) (40) Lab Evaluation 1 10 10 Lab Evaluation 2 10 10 Project 20 20 Internal Marks 70 End Semester (Lab-based 30 (50 Marks 30 Examination) – 2 hours) Total Marks 100 Procedural Programming Procedural programming in C involves breaking down a program into smaller, manageable blocks called functions or procedures. Each function performs a specific task, and the program logic flows through these functions in a sequential manner. Key aspects Sequence, Selection, Iteration: Core components that direct the flow of execution. Modularity: Breaking code into reusable pieces for easier maintenance. Data and Procedure Separation: Keeping data and procedures distinct, unlike object-oriented programming. Global State: Use of global data accessible by any part of the program, which can be powerful yet risky. Examples: Includes languages like C, Fortran, and Pascal.

Use Quizgecko on...
Browser
Browser