logo

Java Programming Project Report

   

Added on  2024-04-25

17 Pages2681 Words139 Views
ITECH1000
PROGRAMMING
ASSESSMENT 2
1

Contents
Introduction................................................................................................................................3
Stage 1: Design Documentation.................................................................................................4
Stage 2: Program Development.................................................................................................8
Stage 3: Testing........................................................................................................................12
Conclusion:..............................................................................................................................15
References................................................................................................................................16
Appendix..................................................................................................................................17
List of Figures
Figure 1: Logical structure of Program......................................................................................5
Figure 2: Initializing lawn mowing championship..................................................................13
Figure 3: Registering competitors in race................................................................................13
Figure 4: Displaying menu option............................................................................................13
Figure 5: Menu option 1...........................................................................................................14
Figure 6: Selection of menu bar 2............................................................................................14
2

Introduction
An object-oriented language is a programming language which is the collection of object.
Objects contain the data. Java is an object-oriented language which is used OOPs concept.
Here, I will be designed, develop and test a small Java program which is based on object-
oriented approaches. For the Java program, I will use Net Beans IDLE. IDLE is an Integrated
Development and Learning Environment. Here I will be managing the Championship results.
The report is divided into three sections.
In the First section, I will be explained Algorithm and logical structure. In the second section,
I will be explained development process of the program. In the third section, I will be
explained test case with their output.
3

Stage 1: Design Documentation
Algorithm: Algorithm is a process to solve a mathematical problem. It is beginning with
"START" word, ending with "STOP" word. The algorithm contains the finite number of steps
(BusinessDictionary, 2015).
Development of an algorithm:
1. START
2. In the programming, contest administration system is Initializing.
3. After that, the user enters rounds number which is completed in the race.
4. If the number of rounds is less than two and greater than five than create an error
message else the lawn movers and race value is Initialize in the program.
5. After that, it is built competitors and show the name of lawn movers and competitors.
6. Registration process Competitors, these conditions fulfill
a. In the Registration process, number of Competitors is less than or equal to
five.
b. If the name of competitor already exist, than Registration process for the
competitor (currently) is canceled.
c. If the number of lawn movers is greater than two than registration process for
all competitor are cancel.
7. After that, switch case is used for creating a menu system. In case value is
a. The case is one value than it is shown each round finish time of every
registered competitor.
b. The case is two value than the program is showed the result in high to a low
score of the competitor with the name.
c. The case is three value than it is showing the information of author.
d. Case in four value than program is terminate with a thank you message
8. STOP
4

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
ITECH1000 Programming 1 Assessment 2
|26
|2595
|67

ITECH1000 Programming Assignment 2
|22
|2739
|91

Genetic Algoritham Assignment 2022
|7
|731
|29