OSY Report
OSY Report
MICRO PROJECT
Academic year
2023-24
TITLE OF PROJECT:
Certificate
This is to certify that Mr. /Ms. Siddhesh Jathar, Tanisha Harjani, Ruchika Dingria Roll No. 10, 11, 12
of 5th Semester of Diploma in Computer Engineering of Institute, VES POLYTECHNIC (Code: 0004)
has completed the Micro Project satisfactorily in Subject –OPERATING SYSTEM (22516) for the
1 Project Proposal 1
2 Action plan 2
3 Resource required 2
4 Introduction 3
5 Actual Procedure 5
6 Output 5-8
7 Skill developed 8
8 Evaluation sheet 11
Annexure – I
Micro-Project Proposal
Perform basic scientific math functions using Shell Script
• Discussion about topic with among the team members of our group
• Command survey
• Operating System features survey
• Submission of project proposal.
• Information collection.
• Analysis of Data.
• Discussing about concepts to be used and taken into consideration.
• Execution of commands
• Representation.
• Editing and revising the content.
• Report Preparation.
4.0 Action Plan
SR. Details of activity Planned Start Planned Name of Responsible
No. date Finish date Team Members
2 Cygwin
3 MS Word - 2019
Micro-Project Report
Perform basic scientific math functions using Shell Script
1.0 Rationale
The project aims to implement basic scientific math functions using a shell script. The shell script
will include functions for factorial, Fibonacci series, palindrome, prime numbers, even/odd
numbers, and Armstrong numbers. Implementing these math functions in a shell script showcases
the versatility and efficiency of shell scripting in solving mathematical problems. Shell scripting
is a powerful tool for automating tasks and performing calculations in a Unix-like environment.
The project relates to the field of operating systems as operating systems often involve complex
calculations and mathematical operations. By implementing these math functions in a shell script,
you can demonstrate the practical applications of shell scripting in an operating system
environment.
• Factorial: The factorial function calculates the factorial of a given number and can be used
in various mathematical and statistical calculations.
• Fibonacci series: The Fibonacci series has applications in various fields such as computer
science, finance, and biology. Implementing the Fibonacci series function in a shell script can
showcase its significance.
• Palindrome: Palindrome numbers have applications in number theory and cryptography.
Implementing the palindrome function in a shell script can highlight their importance.
• Prime numbers: Prime numbers have applications in number theory, cryptography, and
computer science. Implementing the prime numbers function in a shell script can
demonstrate their significance.
• Even/odd numbers: Even and odd numbers are relevant in various mathematical operations
and algorithms. Implementing the even/odd numbers function in a shell script can showcase
their relevance.
• Armstrong numbers: Armstrong numbers have applications in number theory and computer
science. Implementing the Armstrong numbers function in a shell script can illustrate their
concept.
2 Cygwin
3 MS Word - 2019
• OUTPUT:
• Fibonacci
read -p “Enter a number: ” n
a=0
b=1
echo “ The Fibonacci Series: ”
echo $c
a=$b
b=$c
done
• OUTPUT:
• Prime number
read -p “Enter a number: ” n
for((i=2;i<=$n/2;i++))
do
if [&=$((n%i)) -eq 0]
then
echo “Number is not prime”
exit
fi
done
echo “Number is Prime”
• OUTPUT:
• Even-Odd
read -p “Enter a number: ” n
rem=expr $n%2
if [$rem -eq 0]
then
echo “$n is even number”
else
echo “$n is odd number”
fi
• OUTPUT:
• Armstrong number
read -p “Enter a number: ” x
c=$x
sum=0
r=0
n=0
while [$c-gt 0]
do
r=expr $c%10
n=expr $r \*$r\*$r
sum=expr $sum+$n
c=expr $c/10
done
if [$sum -eq $x]
then
echo “$x is Armstrong number”
else
echo “$x is not an Armstrong number”
fi
• OUTPUT:
• Palindrome
read -p "Enter A Number: " n
temp=$n
rev=0
while [ $n -gt 0 ];
do
a=expr $n % 10
n=expr $n / 10
rev=expr $rev \* 10 + $a
done
echo $rev
if [ $temp -eq $rev ]
then
echo "Palindrome Number"
else
echo "Not Palindrome Number"
fi
• Output:
Relevance to the Relate to very Related to some Take care of at-least Take care of more than
1
course few LOs LOs one CO one CO
Completion of the
Completed less Completed 50 to Completed more than
3 Target as per project Completed 60 to 80%
than 50% 60% 80 %
proposal
Sufficient and
Data neither Sufficient and
appropriate
organized nor appropriate enough data Enough data collected
Analysis of Data and enough data
presented well generated which is and sufficient and
representation generated but not
4 organized and but not presenting data.
organized and not
used.
presented well.
Nearly sufficient
Very short, Detailed, correct and
and correct details
Details about clear description of Very detailed, correct,
about methods,
methods, and methods and clear description of
6 Report Preparation and conclusion.
conclusions methods, and
but clarity is not Conclusions. Sufficient
omitted, some conclusions.
there in Graphic Description.
details are wrong
presentation.
Major
Includes major
information is Includes major Well organized,
information but
Presentation of the not included, information and well includes major
7 not well
micro project information is organized but not information ,well
organized and not
not well presented well presented
presented well
organized.
Replied to
Could not reply
considerable Replied properly to
to considerable Replied most of the
8 Viva number of considerable number of
number of questions properly
questions but not question.
question.
very properly
Annexure – IV
Title of the Micro-Project: Perform basic scientific math functions using Shell Script
Completion of the
3
Target as per project
proposal
Analysis of Data
4
and
representation
Quality of
5
Prototype/Mod
el
6 Report Preparation
(B) Individual Presentation / Viva (Convert above total marks out of 4 marks)
7 Presentation
8 Defense
10
11
12