Your comprehensive resource for Programming in C Lab - BPOPS103/203
Complete Lab Programs & Resources
Develop a program to simulate a simple calculator that performs basic arithmetic operations including addition, subtraction, multiplication, and division with proper error handling for division by zero.
Compute the roots of a quadratic equation by accepting the coefficients. Print appropriate messages for real, imaginary, and equal roots using discriminant analysis.
Calculate electricity charges based on tiered pricing: first 200 units at 80 paise, next 100 units at 90 paise, beyond 300 units at Rs 1 per unit, with minimum Rs 100 meter charge and 15% surcharge if total exceeds Rs 400.
Write a C Program to display a symmetric number pattern by reading the number of rows as input. Pattern shows: 1, 1 2 1, 1 2 3 2 1, 1 2 3 4 3 2 1, etc.
Implement Binary Search algorithm on integers. Demonstrate the efficient searching technique with sorted arrays and display the search process with appropriate messages.
Implement Matrix multiplication and validate the rules of multiplication. Check matrix dimensions compatibility and perform multiplication with proper error handling and result display.
Compute sin(x)/cos(x) using Taylor series approximation. Compare your result with the built-in library function and print both results with appropriate inferences and accuracy analysis.
Sort the given set of N numbers using Bubble sort algorithm. Demonstrate the step-by-step sorting process with comparisons and swaps, showing the array state after each pass.
Write functions to implement string operations such as compare, concatenate, and find string length. Use parameter passing techniques to demonstrate modular programming concepts.
Implement structures to read, write and compute average marks of students. List students scoring above and below the average marks for a class of N students with detailed analysis.
Replay !
Share Your Thoughts