Top Banner

Click here to load reader

Dsa Lab Practical File

Jan 02, 2016

ReportDownload

Documents

DSA LAB PRACTICAL FILE FOR 3rd Semester ECE for MDU University

NARNAUL (HARYANA)PRACTICAL FILEOFDSA LABUSING C LAB

Submitted in Partial Fullfillment of the Requirment in

Electronics & Communication Engineering

(Session 2012-2015)Submitted to : Submitted by:Mrs.Mamta Yadav

Subhash Kumar Yadav

( Lectt. ) ECE 3rd Sem.

Roll No:12ECEL26

NARNAUL (HARYANA)CERTIFICATE

This to certify that Subhash Kumar Yadav has completed her practical lab file of DATA STRUCTURE LAB. OF COMPUTATIONAL PROGRAMMING LAB under my guidance and completed it to my total satisfaction submitted in partial fullfillment of the requirment in

Electronics & Communication Engineering

(Session 2012-2015)Submitted to : Submitted by:

Mrs. Mamta Yadav

Subhash Kumar Yadav

( Lectt. ) ECE 3rd Sem.

Roll No:12ECEL26DSA LAB

INDEX

Sr.NoProgram NamePage No.DateLectt. SignRemarks

1Program to search an element in a two dimensional array using Linear Search1-2

2Program perform Multiplication of two matrix3-4

3Program perform Addition of two matrix5-6

4Program to sort an array using Bubble Sort technique7-8

5Program to sort an array using Quick Sort technique9-10

6Program to sort an array using Selection Sort technique11-12

7Program to find factorial of a Number13

Program No. 1

Aim: Program to search an element in a two dimensional array using Linear Search#include

#include

void main()

{

int a[100],n,j,i,item,loc=-1;

clrscr();

printf("Enter no of element\n");

scanf("%d",&n);

printf("Enter the number\n");

for(i=0;i

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.