Subject Name & Code : JAVA PROGRAMMING Acadamic Year : 2021-22
Course Name: CO4I Semester: Fourth
A STUDY ON
Study on calculator in Java Programming
Submitted in mar/apr 2021-2022 by the group of 01 students
Sr.No Roll Full Name Of Students Enrollment Seat
No. No. No.
1 16 Shravani Suresh Sable 2009350161
Under the Guidance of
Prof. Naresh Shende
In 3 Years Diploma Programme in Engineering and Technology of
Maharashtra state Board of Technical Education
ISO 9001:2008(ISO/IEC-27001:2013)
SHIVAJIRAO S. JONDHLE POLYTHECHNIC,ASANGAON.
Maharashtra State
Board of Technical Education
Certificate
This is to certify that Mrs. Shravani Suresh Sable Roll No. 16 of Fourth Semester of Diploma in
Civil Engineering at institute Shivajirao S Jondhle Polytechnic Asangaon (Code:-0935) has completed
the micro project satisfactorily in Java Programming for the academic year 2021 to 2022 as prescribed
in the curriculum.
Place: Asangoan Enrollment No :- 2009350161
Date / /2021 Exam. Seat No :-
Subject Teacher Head of the Department Principal
Seal of
institution
Study on Calculator in Java Programming
Rationale (Importance of project, in about
30 to 50 words. Modified version of the
earlier one written after the work)
Java Programming (JPR) is a computer programming model that
organizes software design around data, or objects, rather than
functions and logic. An objectcan be defined as a data field that
has unique attributes and behavior.
JPR focuses on the objects that developers want to manipulate
rather than the logicrequired to manipulate them. This approach to
programming is well-suitedfor programs that are large, complex
and actively updated or maintained. This includes programs for
manufacturing and design, as well as mobile applications; for
example, JPR can be used for manufacturing system simulation
software.
The organization of an java programming also makes the
method beneficial to collaborative development, where
projects are divided into groups. Additional benefits of JPR
include code reusability, scalability and efficiency.
2.0 Aim/Benefits of the Micro-Project:-
A Calculator is a small electronic device used to perform various
arithmetic operations like addition, subtraction, multiplication,
division, percentage, etc. It makes our calculations easier and
faster. It is a portable device that can use anywhere to perform
simple mathematical operations. We use a scientific or
sophisticated calculator in some situations, where we need to solve
complex calculations like trigonometry functions, exponential
operators, degrees, radians, log functions, hyperbolic functions
etc.
Advantages of calculator:-
This technology allows students solve complicated problems quickly and in an efficient
manner. Additionally, it can reduce the problem to simpler tasks and allows the student to
devote more time in understanding the problem. Secondly, they are saved from monotonous
calculations and the same boring mundane procedure.
The above advantages help students to avoid boredom, and it does not demoralize their
mathematical understanding. If mathematics is not made entertaining, pupils can feel bored,
and it can demoralize their mathematical understanding. Thirdly, when teachers realize that
the mathematical capacity of some of their pupils are not so great, using this handheld device
or the online calculator platforms, helps them manage addition, subtraction, multiplication
and division problems in an efficient manner. Teachers understand that the student would
not have learned mathematical table of 20x, or would be well versed in solving the problem
without the help ofa mathematical device or paper. They would make fewer mistakes and
will be more comfortable in solving tough problems. If a student is confident about his or
her ability, then the problem seems halfway solved. Most handheld or online calculators are
relatively cheap, various designs and functionality suitable for various budgets. They are
also inexpensive to maintain once handled with care.
As a professional, in any field, the Calculator save time, energy and increases efficiency in
workplace.
3.0 Course Outcome Achieved (Add to the earlier list
if more cos isaddressed)
a. Develop ‘JPR’ program to search an element.
b. Develop 3 ‘JPR’ program to insert node at beginning,
in between and atthe end.
c. Develop 3 ‘JPR’ program to delete element
d. Develop 3 ‘JPR’ program for create, insert, delete, display elements
e. Develop codes and errorto solve problem logically.
4.0 Actual Methodology Followed (Write stepwise work
done,data collected and its Analysis (if any). The contribution
of individualmember may also be noted.)
First of all, all the group-members distribute the work because of
which it becameeasy to us to create our project. As the work was
distributed some students started collecting information from
internet websites and some from books. As the data get collected,
we went to our sir to guide us for the project. Ifsome something
is missing or some data is wrong. We discuss with our sir and get
some new points for our project. After this, we analysis our
project and then we arrange the data in sequence. After making
the sequence we again went to sirto show our raw project. After
this we started to make project and after completingproject, we
finally submitted project to our respected sir
5.0 Actual Resources Used (Mention the actual resources used).
Sr.No. Name of resource/material Specifications Qty Remarks
1. Java Programming TextBook
2. Tutorials Point 1
3. Data Structure Textbook 1
6.0 Skills Developed/ learning outcomes of this Micro-Project
a. Develop ‘JPR’ program to search an element.
b. Develop 3 ‘JPR’ program to insert node at beginning, in between and at
the end.
c. Develop 3 ‘JPR’ program to delete element
d. Develop 3 ‘JPR’ program for create, insert, delete, display elements
e. Develop codes and error to solve problem logically.
6.1 Applications of this Micro-Project
• There are some key skills we think we developedwhen tackling our
JAVA PROGRAMMING.
• Designing of micro project with minimum requiredresources at low cost.
• Learn to work in team and boost individualconfidence.
• At some point of time during project there is disagreement but
finally we manage to resolveconflict in positive manner.
• As it was a time bound task, we have to finish withinstipulated period we
could managed to finish by distribution.
Simple Calculator using Java switch Statement
import java.util.Scanner;
class Main {
public static void main(String[] args) {
char operator;
Double number1, number2, result;
// create an object of Scanner class
Scanner input = new Scanner(System.in);
// ask users to enter operator
System.out.println("Choose an operator: +, -, *, or /");
operator = input.next().charAt(0);
// ask users to enter numbers
System.out.println("Enter first number");
number1 = input.nextDouble();
System.out.println("Enter second number");
number2 = input.nextDouble();
switch (operator) {
// performs addition between numbers
case '+':
result = number1 + number2;
System.out.println(number1 + " + "…
[7:38 PM, 5/23/2022] Shravani: class Main {
// create a method
public void display() {
System.out.println("Calculating Method execution time:");
}
// main method
public static void main(String[] args) {
// create an object of the Main class
Main obj = new Main();
// get the start time
long start = System.nanoTime();
// call the method
obj.display();
// get the end time
long end = System.nanoTime();
// execution time
long execution = end - start;
System.out.println("Execution time: " + execution + " nanoseconds");
}
}