0% found this document useful (0 votes)
15 views

OSY Report

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

OSY Report

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

VIVEKANAND EDUCATION SOCIETY POLYTECHNIC

MICRO PROJECT
Academic year
2023-24

TITLE OF PROJECT:

Perform Basic Scientific Math Functions using Shell Script

Program: COMPUTER ENGINEERING Program code:CO5I-(B)

Course: OSY (Operating System) Course code: 22516


MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

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

academic year 2023- 2024 as prescribed in the curriculum.

Place: Chembur Enrollment No: 2100040224, 225, 227

Date: ……………………… Exam Seat No: ………………………….

Subject Teacher Head of the Department Principal


INDEX

Academic year: 2023-24 Name of the faculty: Mrs. Meena Talele

Program code: CO5I (B) Course& course code: 22516

Name of the candidate: Siddhesh Jathar, Tanisha Harjani, Ruchika Dingria

Roll No. 10, 11, 12 Enrollment No. 2100040224, 225, 227

Sr.No Content Page No.

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

1.0 Aim/Benefits of the Micro-Project


This Micro-Project aims at
1. Implementing the tools in an operating system to perform various functions
2. Calculating factorial using shell script
3. Demonstrating the concepts of Fibonacci series, Armstrong numbers using shell script

2.0 Course Outcomes Addressed


1. Install operating system and configure it. [✓]
2. Use operating system tools to perform various functions. [✓]
3. Execute process commands for performing process management operations. [ ]
4. Apply scheduling algorithms to calculate turnaround time and average waiting time. [ ]
5. Calculate efficiency of different memory management techniques. [ ]
6. Apply file management techniques. [✓]

3.0 Proposed Methodology

• 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

1 Finalization of project Title and


01/08/2023 08/08/2023
Scope

2 Project Definition and design


08/08/2023 23/08/2023
structure

3 Design procedure (algorithm) 30/08/2023 12/09/2023

4 Draw flowchart 18/09/2023 03/10/2023

5 Coding 04/10/2023 11/10/2023

6 Output 11/10/2023 17/10/2023

7 Report writing 17/10/2023 31/10/2023

8 Demonstration of project and final


01/11/2023 07/11/2023
submission

5.0 Resources Required


Sr.No. Equipment Name with Broad Specification Remark if any

1 Computer System – Windows 11

2 Cygwin

3 MS Word - 2019

Name of Team Members with Roll Nos.


1. Siddhesh Raghunath Jathar – 10
2. Tanisha Shankerlal Harjani - 11
3. Ruchika Amar Dingria - 12
Annexure – II

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.

Each math function has its own significance and applications:

• 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.0Aim of the Micro-Project


This Micro-Project aims at
1. Implementing the tools in an operating system to perform various functions
2. Calculating factorial using shell script
3. Demonstrating the concepts of Fibonacci series, Armstrong numbers using shell script
3.0 Course Outcomes Addressed
1.Install operating system and configure it. [✓]
2.Use operating system tools to perform various functions. [✓]
3. Execute process commands for performing process management operations. [ ]
4.Apply scheduling algorithms to calculate turnaround time and average waiting time. [ ]
5. Calculate efficiency of different memory management techniques. [ ]
6.Apply file management techniques. [✓]

4.0 Literature Review


A shell script is a computer program designed to be run by a Unix shell, a command-line interpreter.
The various dialects of shell scripts are considered to be scripting languages. Typical operations
performed by shell scripts include file manipulation, program execution, and printing text. Shell
scripting is an important part of process automation in Linux. Scripting helps you write a sequence
of commands in a file and then execute them. This saves you time because you don’t have to write
certain commands again and again. You can perform daily tasks efficiently and even schedule them
for automatic execution. Shell scripting is commonly used in data analysis and processing. By
implementing math functions in a shell script, you can perform various mathematical operations on
data sets, such as calculating averages, standard deviations, and other statistical measures. Shell
scripting is a powerful tool for automating tasks and performing calculations in a Unix-like
environment. By developing shell scripting skills, you can enhance your knowledge and expertise in
shell scripting and mathematical operations. These skills can be valuable in various fields such as
computer science, data analysis, and automation. Shell scripts are used to automate tasks in a Unix-
like environment. They are a series of commands that are executed in a specific order. Shell scripts
can be used to perform a wide range of tasks, from simple file manipulation to complex data analysis.
By using shell scripts, you can save time and increase productivity. You can write a script once and
then execute it multiple times, which is much faster than typing the same commands over and over
again. Shell scripts can also be scheduled to run automatically, which is useful for tasks that need to
be performed on a regular basis. Shell scripting is commonly used in data analysis and processing.
By implementing math functions in a shell script, you can perform various mathematical operations
on data sets. For example, you can calculate averages, standard deviations, and other statistical
measures. This is useful for analyzing large data sets and generating reports. Shell scripting is also
used in scientific computing and research. By using shell scripts, you can automate complex
calculations and simulations. In addition to data analysis and processing, shell scripting is also used
in automation. By developing shell scripting skills, you can automate tasks such as backups, system
maintenance, and software installations. This can save you time and reduce the risk of errors. Shell
scripting is also used in web development and server administration. By using shell scripts, you can
automate tasks such as deploying updates, managing users, and monitoring system performance. In
conclusion, shell scripting is a powerful tool for automating tasks and performing calculations in a
Unix-like environment. By developing shell scripting skills, you can enhance your knowledge and
expertise in shell scripting and mathematical operations. These skills can be valuable in various fields
such as computer science, data analysis, and automation.
5.0Actual Procedure Followed.
• 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.

6.0Actual Resources Used

Sr.No. Equipment Name with Broad Specification Remark if any

1 Computer System- Windows 11

2 Cygwin

3 MS Word - 2019

7.0Outputs of the Micro-Projects


CODE:
• Factorial:
read -p “please enter a number: ” n
fact=1
for((i=1;1<=n;i++))
do
fact=$((fact*i))
done
echo “Factorial of number is $fact”

• 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:

8.0 Skill Developed / learning out of this Micro-Project


a) Developed our scripting skills and improved our ability to automate tasks.
b) Improvement of ability to solve mathematical problems.
c) Learnt how to tackle complex problems.
d) Cultivated the ability to identify and fix issues in our code
e) Better understanding of Unix-like tools and commands

9.0 Applications of this Micro-Project


1. Automating tasks in a Unix-like environment
2. Performance of mathematical operations on data sets
3. Research and Scientific Computing
Annexure – III

Suggested Rubric for Assessment of Micro-Project


Poor Average Good Excellent
Characteristic to be
S. No.
assessed
( Marks 1 - 3 ) ( Marks 4 - 5 ) ( Marks 6 - 8 ) ( Marks 9- 10 )

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

Literature review Not more than At-least 5


At –least 7 relevant About 10 relevant
2 /information two sources very relevant sources,
sources, most latest sources, most latest
collection old reference at least 2 latest

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.

Well assembled and Well assembled with


Quality of Just assembled
Incomplete functioning parts. But proper functioning
Prototype/Model and some codeis
5 Programming no creativity in design parts.. Creativity in
not functioning
code and use of graphics design and use of
well.
function graphics function

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

Micro Project Evaluation Sheet


Name of Student: Siddhesh Jathar, Tanisha Harjani, Ruchika Dingria
Enrollment No: 2100040224, 225, 227
Name of Program: COMPUTER ENGINEERING CO5I-A Semester: 5th
Course Title: OSY Course Code:22516

Title of the Micro-Project: Perform basic scientific math functions using Shell Script

Cos addressed by Micro Project:


1. Install operating system and configure it. [✓ ]
2. Use operating system tools to perform various functions. [✓ ]
3. Execute process commands for performing process management operations. [ ]
4. Apply scheduling algorithms to calculate turnaround time and average waiting time. [ ]
5. Calculate efficiency of different memory management techniques. [ ]
6. Apply file management techniques. [✓ ]
Sr Characteristic to Poor
. be assessed ( Marks1- Average Good Excellent Sub
N 3) (Marks 4- (Marks ( Marks9- Total
o. 5) 6-8) 10)
(A) Process and Product Assessment (Convert Above Total marks out of 6 Marks)
1 Relevance to the
course
2 Information Collection

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

Group Micro Project Evaluation


Total Marks
Process and Product Assessment (6 Individual Presentation / Viva (4
Roll No.
Marks) Marks)
10

10

11

12

Comments/Suggestions about team work/leadership/inter-personal communication (if any)


The project was implemented with good leadership & teamwork with active co-operation of all the
team members. Everyone contributed equally and met with good outcome. Hence, overall project
was done with harmony with good team spirit.

Name and Designation of Teacher: Mrs. Meena Talele (Lecturer)


Dated Signature

You might also like