Professional Documents
Culture Documents
A
MICRO PROJECT REPORT
ON
“ QUICK SORT USING C ON LINUX PLATFORM ”
OF
Submitted By
Government Polytechnic,Washim
CERTIFICATE
Third year Student of Information Technology has submitted a MICRO PROJECT report on
awarded by
Maharashtra State Board of Technical Education, Mumbai.
Principal
Dr. B. G. Gawalwad
Government Polytechnic, Washim
Term I 2022-23
Page 2 of 15
ACKNOWLEDGEMENT
We would like to express my gratitude to all the people behind the screen who
helped me to transform an idea into a real application. We profoundly thank
Prof.Dr. B.G.Gawalwad principal of our institute who has been an excellent guide
and also a great source of inspiration to our work. We would like to thank our
Professors of Information technology branch for his technical guidance, constant
encouragement and support in carrying out my project at college.
The satisfaction and euphoria that accompany the successful completion of the task
would be great but incomplete without the mention of the people who made it
possible with their constant guidance and encouragement crowns all the efforts
with success. In this context, We would like thank all the other staff members, both
teaching and non-teaching, who have extended their timely help and eased our
task. Last, but not least, we would like to thank the authors of various research
articles and books that were referred to. …
Page 3 of 15
ABSTRACT
In this process amount of time is more as well as here occur manual work which
is increases man power. Also in current scenario aadhar card linking is must with
bank account and it is possible through the A but if in urgent we want to link
aadhar it may be not possible there is no are available in that case we provide this
facility throught our project
Page 4 of 15
INDEX
1 Introduction 6
2 Information Of Ubuntu 7
Page 5 of 15
INTRODUCTION
Page 6 of 15
Information Of Ubuntu
Page 7 of 15
Advantages of Operating System
• The operating system must make sure that the computer system convenient to use
• Operating system's software is quite expensive for small size organization which
adds burden on them. Example Windows
Page 8 of 15
Quick Sort Pivot Algorithm :-
Step 1 − Choose the highest index value has pivot
Step 2 − Take two variables to point left and right of the list
excluding pivot
Step 7 − if both step 5 and step 6 does not match swap left and right
while True do
//do-nothing
end while
while rightPointer > 0 && A[--right Pointer] > pivot do
Page 9 of 15
//do-nothing end while
if leftPointer >= rightPointer
break
end if
end while
return leftPointer
end function
Page 10 of 15
Quick Sort Algorithm :-
Step 1 − Make the right-most index value pivot
if right-left <= 0
return
else
quicksort(partition+1,right)
end if
end procedure
function quicksort() {
left=$1
right=$2
Page 11 of 15
if [[ $1 -lt $2 ]]
then
pivot=${array[$1]}
do
do
left=$(($left + 1))
done
do
right=$(($right-1))
done
then
temp=${array[$left]}
array[$left]=${array[$right]}
array[$right]=$temp
fi
done
temp=${array[$right]}
array[$right]=${array[$1]}
array[$1]=$temp
Page 12 of 15
temp=$right
fi }
read limit
for((i=0;i <$limit;i++))
do
read array[i]
done
for((i=0;i <limit;i++))
do
echo${array[$i]}
done
Page 13 of 15
Output :-
Page 14 of 15
Conclusion :-
In this project we have studied how to create a quicksort
References :-
• https://en.wikipedia.org/wiki/Operating_system
• https://en.wikipedia.org/wiki/Shell_script
Page 15 of 15