IA 2018
Report of C# Advanced
Scientific Calculator
Rapid Application Development
Group Assignment
Works of: Group 3
Department of Instrumentation & Automation Technology
Table of 4 Contribution
Contents
The spirit behind the
1 Introduction hardwork.
Elaboration of the objective 5 References
of this group project.
Resources used to carry out
2 Basic the project
Features
Appearance and functions
of the calculator.
3 Coding
Process
The procedure of building
the calculator.
Report of Advanced Scientific Calculator 1
Introduction
Constructing software always needs proper planning to bring the best out of the
product. The best way to do it is to go along with the Rapid Application
Development model, which includes analysis, design, build and test phases into a
series of short, iterative development cycles.
According to the requirement, the advanced scientific calculator was developed as
an MDI (Multiple Document Interface) model, with the use of the visual studio.
Visual Studio is an Integrated Development Environment (IDE) developed by
Microsoft to develop GUI (Graphical User Interface), console, Web applications, web
apps, mobile apps, cloud, and web services, etc. Since it is not a language-specific
IDE as we were able to use this to write code in C# to code. C# is a modern,
general-purpose, object-oriented programming language, which is designed for
Common Language Infrastructure (CLI), which consists of the executable code and
runtime environment that allows the use of various high-level languages on
different computer platforms and architectures. The output of the process will be
defined through this report.
Report of Advanced Scientific Calculator 2
Basic
Features
Our Modern Scientific Calculator has the capacity to perform the following tasks.
Standard - For general mathematical purposes.
Scientific - For advanced operations which involve trigonometric functions
and logarithms.
Temperature - For conversions among Celsius, Fahrenheit, and Kelvin.
Multiplication - To get the multiplication table of a given number.
Unit Converter - For conversions among Gram, Kilogram, and liter, milliliter
under the weight sector, as well as the conversions among kilometer, meter,
centimeter, Feet and inches under the length sector.
The way how the above forms are defined in C# will be elaborated on next
thoroughly.
Report of Advanced Scientific Calculator 3
Coding Process
The coding process was done by sharing the parts among the team. Altogether
there are 9 parts of coding merged together to build the calculator. The codes and
the output interfaces are represented below.
1 - Splash Screen
This is what represents the system name, version, and names with index numbers
of the group members.
The code:
Report of Advanced Scientific Calculator 4
The interface:
2 - Scientific
This is how to define the size of scientific form of the calculator.
The code:
The interface:
Report of Advanced Scientific Calculator 5
3 - Standard
In this phase, the size of the standard form of the calculator is arranged to perform
basic mathematical operations.
The code:
The interface:
Report of Advanced Scientific Calculator 6
4 - Basic Buttons
The following codes will create the basic buttons required to build the calculator.
The code:
Report of Advanced Scientific Calculator 7
The interface:
5 - Scientific Buttons
The given codes will create the basic buttons required to build the scientific form
of the calculator.
The code:
Report of Advanced Scientific Calculator 8
Report of Advanced Scientific Calculator 9
The interface:
6 - Temperature
Separate codes for radio buttons, convert and reset buttons work together to
perform the conversions among temperatures.
The code for radio buttons:
Report of Advanced Scientific Calculator 10
The code for convert button:
The code for reset button:
The interface:
Report of Advanced Scientific Calculator 11
7 - Multiplication
Here's where the multiplication table generate for a given number.
The code for convert button:
The code for reset button:
The interface:
Report of Advanced Scientific Calculator 12
8 - Unit Converter
The basic weight unit conversion and length unit conversion process are presented
here.
The code for radio buttons:
The code for convert button part 1:
Report of Advanced Scientific Calculator 13
The code for convert button part 2:
The code for reset button:
Report of Advanced Scientific Calculator 14
The interface:
9 - About
This is the way that the child form 'about' has been constructed.
The code for form 1:
Report of Advanced Scientific Calculator 15
The code for form 2:
The interface:
Report of Advanced Scientific Calculator 16
Contribution
The process of writing the software itself involves the planning required for
developing the product. Therefore, it's a must to thoroughly analyze the
requirement in order to prepare a perfect plan to design the software. Then
the path is clear to build and test the required software. On that count, our
team gathered together via zoom platform and divided the main task into
sub-tasks to combine and construct a well-functioning advanced scientific
calculator. Here's how we did it.
INDEX NO. NAME CONTRIBUTION
2018T00191
2018T00192 SUDEESHA Coded the Multiplication form.
2018T00193 DEEMANTHA
2018T00194 Completed the report and coded
2018T00197 SHERON the standard calculator.
2018T00189 DEVARAJAN
2018T00196 Coded the Unit Converter.
THARINDU
DILASHAN Designed and coded the splash screen
and coded the child form - About
KALINDU
DISSANAYAKE Coded the basic buttons.
DANANJAYA
GARUSINGHAE
J D CHATHURANGA Coded the Temperature form.
I H GANGABADA Coded the Scientific form of the
calculator
Report of Advanced Scientific Calculator 17
References
The following videos guided us to complete the project successfully.
https://youtu.be/Y-gr_M5cSz8
https://youtu.be/wZ4BkPyZllY
https://youtu.be/-D0UoCAYG28
https://youtu.be/oY3k-9qzRRk
https://youtu.be/G2CQdccTEx0
Report of Advanced Scientific Calculator 18