Computer Programming Laboratory detailed syllabus for Chemistry Group 2021 Scheme curriculum has been taken from the VTUs official website and presented for the Chemistry Group students. For course code, course name, duration, number of credits for a course and other scheme related information, do visit full semester subjects post given below.

For Chemistry Group 1st Sem scheme and its subjects, do visit Chemistry Group 1st Sem 2021 Scheme scheme. The detailed syllabus of computer programming laboratory is as follows.

#### Course Objectives:

- Explain problem statements and identify appropriate solutions
- Demonstrate the use of IDE, C Compiler, and identify and rectify the syntax and syntactic errors during programming.
- Development of algorithms and programs using constructs of C programming language
- Reporting the observations

#### Practise Programs

- Calculation of Simple Interest,
- Check whether the given number is even or odd
- Convert string case
- Check for palindrome, prime number, perfect square.
- Development of linear search algorithm Etc…

#### Part a – Practical Based Learning

List of problems moan pPicOi ptudogt should Pepelop program and execute in the yaboratoiy

- Simulation of a SimpleCalculator.
- Compute the roots of a quadratic equation by accepting the coefficients. Print appropriate messages.
- An electricity board charges the following rates for the use of electricity: for the first 200 units 80 paise per unit: for the next 100 units 90 paise per unit: beyond 300 units Rs 1 per unit. All users are charged a minimum of Rs. 100 as meter charge. If the total amount is more than Rs 400, then an additional surcharge of 15% of total amount is charged. Write a program to read the name of the user, number of units consumed and print out the charges.
- Implement Binary Search on Integers / Names.
- Implement Matrix multiplication and validate the rules of multiplication.
- Compute sin(X)/cos(X) using Taylor series approximation. Compare your result with the built-in library function. Print both the results with appropriate inferences.
- Sort the given set of N numbers using Bubble sort.
- Write functions to implement string operations such as compare, concatenate, string length. Convince the parameter passing techniques.
- Implement structures to read, write and compute average- marks and the students scoring above and below the average marks for a class of N students.
- Develop a program using pointers to compute the sum, mean and standard deviation of all elements stored in an array of N real numbers.
- Implement Recursive functions for Binary to Decimal Conversion.

#### Part B – Practical Based Learning

- A problem statement for each batch is to be generated in consultation with the co-examiner and student should develop an algorithm, program and execute the program for the given problem with appropriate outputs.

#### Course Outcomes:

(Course Skill Set) At the end of the course the student will be able to:

- Define the problem statement and identify the need for computer programming
- Make use of C compiler, IDE for programming, identify and correct the syntax and syntactic errors in programming
- Develop algorithm, flowchart and write programs to solve the given problem
- Demonstrate use of functions, recursive functions, arrays, strings, structures and pointers in problem solving.
- Document the inference and observations made from the implementation.

#### Suggested Learning Resources:

- YashavanthKanetkar, Let us C, Authentic Guide to C Programming Langauge, bpb publisher, 17th Edition, 2020.
- Herbert Schildt, C: The complete reference, Mc Graw Hill, 4th Edition, 2017
- Programming in C , Reema Theraja

#### Web links and Video Lectures (e-Resources):

- http://elearning.vtu.ac.in/econtent/courses/video/BS/14CPL16.html
- https://nptel.ac.in/courses/106/105/106105171/

For detailed syllabus of all other subjects of Chemistry Group, 2021 Scheme curriculum do visit Chemistry Group 1st Sem subject syllabuses for 2021 Scheme.

For all Chemistry Group results, visit VTU Chemistry Group all semester results direct link.