logo

Object Oriented Design and Programming

   

Added on  2023-04-21

13 Pages1834 Words182 Views
Running head: OBJECT ORIENTED DESIGN AND PROGRAMMING
Object Oriented Design and Programming
Name of the Student
Name of the University
Author’s note:

1OBJECT ORIENTED DESIGN AND PROGRAMMING
Table of Contents
Pseudo Code:...................................................................................................................................2
Testing:............................................................................................................................................3
User Guide:......................................................................................................................................6
Assumptions:...................................................................................................................................7
Bugs/Errors:.....................................................................................................................................7
Suggestions:.....................................................................................................................................7
Codes:..............................................................................................................................................7
Bibliography:.................................................................................................................................11

2OBJECT ORIENTED DESIGN AND PROGRAMMING
Pseudo Code:
Initialize the private scanner variable as x
Initialize another scanner variable as input
Initialize the array of object called a
Initialize variable i and z
Assign value 1 to z
Create a method named execute
Initialize the read.txt file to be read by java private scanner x
Initialize to write into the file named new.txt using FileWriter’s object fw
Initialize PrintWriter as pw to the object called fw
While the read.txt file will have value in each line the array of objects will store it
If z is 0 then fourth and fifth position values will be task4 and grade
Then increase z
If the z is greater than 1
Then user will provide fourth and fifth position values
Each loop will store the data into new.txt using pw object
After loop is complete, the new.txt file will be closed
Now all the values stored in new.txt will be read using array of objects

3OBJECT ORIENTED DESIGN AND PROGRAMMING
Instead of storing it, the values will be shown in each loop to the java console
The read.txt file will be closed
Testing:
Test Case 1:
Input Data are as following
Student Task1 Task2 Task3
1 9.5 18.0 25.5
2 9.0 19.0 20.0
3 5.0 12.5 18.0
4 8.5 16.0 22.0
5 7.0 11.0 25.0
The following data has been inputted into the system.

End of preview

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

Related Documents
JAVA PROGRAMMING Java Program
|3
|289
|374

IT Focussed Business Analysis
|19
|4471
|18