Anda di halaman 1dari 2

PRINCETON INSTITUTE OF ENGINEERING

& TECHNOLOGY FOR WOMEN


Affiliated to JNTU & Approved By AICTE
Chowadaryguda

(vill),

Ghatkesar

(mand).R.R.Dist

COMPUTER PROGRAMMING AND DATA STRUCTURES LAB


LIST OF EXPERIMENTS
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.

Write a c program to find sum of individual digits.


Write a c program for Fibonacci series
Write a c program for prime number generation
Write a c program to calculate sum=1-x2/2!+x4/4!-x6/6!.
Write a c program to find roots of quadratic equation.
Write a c program to calculate s=ut+1/2at2
Write a c program for switch statement.
Write a c program to find factorial using recursion & non recursion.
Write a c program to find GCD using recursion.
Write a c program to find the largest integer in a list of integers.
Write a c program for addition of 2 matrices
Write a c program for multiplication of 2 matrices.
Write a c program to insert substring into a given main string.
Write a c program to delete n characters from a given position in a given string.
Write a c program to check given string is palindrome or not.
Write a c program to display the position or index in a string.
Write a c program to counts the lines, words, characters in a given text.
Write a c program to generate Pascals triangle.
Write a c program to construct a pyramid of numbers.
Write a c program to convert roman numbers to its decimal equivalent.
Write a c program to perform reading, writing, addition & multiplication on

22.
23.
24.
25.
26.
27.
28.
29.
30.
31.

complex numbers.
Write a c program which copies one file to another.
Write a c program to reverse the first n characters in a file.
Write a c program to display the contents of a file.
Write a c program to merge two files into a third file.
Write a c program for linear search.
Write a c program for binary search.
Write a c program for selection sort.
Write a c program bubble sort.
Write a c program for to create a singly linked list of integer elements.
Write a c program that implements stack using a singly linked list to display a

given list of integers in the same order.


32. Write a c program that implements queue using a singly linked list to display a
given list of integers in the same order.
33. Write a c program to implement the linear regression algorithm.

34.
35.
36.
37.
38.

Write a c program to implement the polynomial regression algorithm.


Write a c program to implement the Lagrange interpolation.
Write a c program to implement the Newton-Gregory forward interpolation.
Write a c program to implement the trapezoidal method.
Write a c program to implement the Simpson method.

Lab Incharge

HOD

Principal

Anda mungkin juga menyukai