1ST / 2ND SEM VTU C PROGRAMMING LAB | ALL IN ONE
This page includes all the C programming lab programs code, algorithm, output, VTU Viva Questions.
All these programs are according to the VTU 2018 scheme. Copy the code and test all the c programs. Click Here to Download C Programming Lab Manual.
Sr.No | Lab Program Description | Details |
---|---|---|
1 | Familiarization with programming environment, the concept of naming the program files, storing, compilation, execution, and debugging. Taking any simple C- code | Checkout |
2 | Develop a Program to solve simple computational problems using arithmetic expressions and use of each operator leading to the simulation of a Commercial calculator | Checkout |
3 | Develop a program to compute the roots of a quadratic equation by accepting the coefficients. Print the appropriate messages | Checkout |
4 | Develop a program to find the reverse of a positive integer and check for PALINDROME or NOT. Display appropriate messages | Checkout |
5 | 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 rupees 1 per unit. All users are charged a minimum of rupees 100 as a meter charge. If the total amount is more than Rs 400, then an additional surcharge of 15% of the total amount is charged. Write a program to read the name of the user, the number of units consumed, and print out the charges | Checkout |
6 | Introduce 1D Array manipulation and implement binary search | Checkout |
7 | Implement using functions to check whether the given number is prime and display appropriate messages | Checkout |
8 | Develop a program to introduce 2D array manipulation and implement matrix multiplication and ensure the rules of multiplication are checked | Checkout |
9 | Develop a Program to compute Sin(x) using Taylor series approximation. Compare your result with the built-in Library function. Print both the results with appropriate messages | Checkout |
10 | Write functions to implement string operations such as compare, concatenate, string length. Convince the parameter passing techniques | Checkout |
11 | Develop a program to sort the given set of N numbers using Bubble sort | Checkout |
12 | Develop a program to find the square root of a given number N and execute for all possible inputs with appropriate messages | Checkout |
13 | Implement structures to read, write, compute average- marks and the students scoring above and below the average marks for a class of N students | Checkout |
14 | Develop a program using pointers to compute the sum, mean and standard deviation of all elements stored in an array of n real numbers | Checkout |
15 | Write a Program to Convert a Binary Number into a Decimal Number | Checkout |