0% found this document useful (0 votes)
46 views

Princeton Institute of Engineering & Technology For Women

This document lists 38 experiments for a Computer Programming and Data Structures lab, including writing C programs to perform tasks like calculating sums and factorials using different methods, solving quadratic equations, adding and multiplying matrices, string manipulation, file handling, searching and sorting algorithms, and implementing data structures like linked lists, stacks, and queues. The experiments cover a range of fundamental programming concepts and data structures. The list of experiments is signed off by the lab in-charge, head of department, and principal of the Princeton Institute of Engineering & Technology for Women.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views

Princeton Institute of Engineering & Technology For Women

This document lists 38 experiments for a Computer Programming and Data Structures lab, including writing C programs to perform tasks like calculating sums and factorials using different methods, solving quadratic equations, adding and multiplying matrices, string manipulation, file handling, searching and sorting algorithms, and implementing data structures like linked lists, stacks, and queues. The experiments cover a range of fundamental programming concepts and data structures. The list of experiments is signed off by the lab in-charge, head of department, and principal of the Princeton Institute of Engineering & Technology for Women.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 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

You might also like