0% found this document useful (0 votes)
10 views3 pages

DS File. Updates-2

Uploaded by

ishneet2012
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views3 pages

DS File. Updates-2

Uploaded by

ishneet2012
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

MAHARAJA SURAJMAL INSTITUTE

Affiliated to GGSIP University & NAAC ‘A’ grade accredited

DEPARTMENT OF COMPUTER APPLICATION

Data Structure and Algorithm using C


PRACTICAL FILE
SUBJECT CODE – BCA 174

Submitted by : Submitted to :- Ms.Usha Chhillar


Enrollment no : Assistant Professor , MSI
Sem : 2nd Sec : A (2nd shift) Sign :- ____________
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------

INDEX
S.No. Practical Sign

1. Write a program to print the sum of digits of


the given number.
2 Write a program to check if a number is
palindrome or not.
3 Write a program to find whether the given
number is prime or not.
4 Write a program to print the following
pattern:
ABCDE
BCDEA
CDEAB
DEABC
EABCD
5 Write a program to calculate addition,
subtraction, and multiplication of matrices.
6. Write a program to find the largest and the
smallest element of a matrix.
7 Write a program to calculate the sum of each
row and each column and total of all
elements of matrix.
8 Write a program to implement linear search.
9 Write a program to implement binary search.
10 Write a program to implement selection sort.
11 Write a program to implement bubble sort.
12 Write a program to implement insertion sort.
13 Write a program to implement merge sort.
14 Write a program to convert a matrix into
lower triangular sparse matrix.
15 Write a program to convert a matrix into
upper triangular sparse matrix.
16 Write a program to check whether the given
matrix is lower triangular sparse matrix or
not.
17 Write a program to check whether the given
matrix is upper triangular sparse matrix or
not.
18 Write a program to show a sparse matrix in
3-tuple form.
19 Suppose X, Y, Z are integer arrays of m, n and
m+n sizes respectively. The number in array X
appears in ascending order and the numbers
in array Y appears in descending order. Give
an algorithm to produce a third array Z,
containing all data of array X and Y in
ascending order.
20
21
22
23
24
25

You might also like