Você está na página 1de 3

DATA STRUCTURE LAB ASSIGNMENT

1. Write a Program to print the size of all


primitive data types in C.
Source code and output
2. Pattern 1
Source code and output
Pattern 2
Source code and output
3. Write a program to print the binary pattern of
a give number.
Source code and output
4. Write a program using function to add two
matrix of size m*n and return the added
matrix.
Source code and output
5. Write a program to generate the Fibonacci
sequence of number up to nth terms.
Source code and output
6. Print the address of stored value of a matrix.
Source code and output
7. Write a program to solve the quadratic
equation.
Source code and output
8. Write a program to perform linear Search.
Source code and Output

9. Write a Program to count the prime numbers


between two given numbers.
Source code and output
10.
Write a word processing program.
Source code and output
11.

Write a string matching program.


Source code and output
12.
Write a function to traverse using lower
bond and upper bond in an array.
Source code

13.
Write a function for inserting an item at given
position k into linear array.
Source code
14.
Write a function to deleting an item of given
position k from a linear array.
Source code
15.
Write a Bubble sort function to sort the element
in linear array.
Source code
16.
17.

Write a program in C to implement Stack.


Source code and output

Write a program in C to implement Queue.


Source code and output
18.
Write a menu driven program that implement
singly linked list for its various operation.
Source code and output

20.
Write a menu driven program that
implement singly circular linked list for its
various operation.
Source code and output
21. Write a program in C for sorting.
(i)Bubble sort
Source code and output
(ii)
Insertion sort
Source code and output
(iii)
(iv)

Selection sort
Source code and output

Merge sort
Source code and output
22.
Write a program in C to perform various
operations with binary search tree.
Source code and output

Você também pode gostar