it is not a graded questions. It is a practice and I'm stuck
Smith
Jones
Australia
5.0 4.9 5.1 5.2 5.0 5.1 5.2 4.8
4.3 4.7 4.8 4.9 4.6 4.8 4.9 4.5
lennon
murray
england
2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8
3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8
gusto
petitot
italia
4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8
5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8
lahaie
petit
france
1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8
5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8
bilodeau
bernard
canada
2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8
4.1 4.2 4.3 4.8 4.9 4.6 4.0 4.5
lahore
pedro
mexico
3.2 3.1 3.8 3.9 3.0 3.6 3.9 3.3
5.9 5.8 5.8 5.8 5.9 5.6 5.0 5.5
maliak
kolikov
russia
4.2 4.1 4.8 4.9 4.0 4.6 4.9 4.3
1.9 1.8 1.8 1.8 1.9 1.6 1.0 1.5
Mina
Yian
china
5.2 5.1 5.8 5.9 5.0 5.6 5.9 5.3
2.9 2.8 2.8 2.8 2.9 2.6 2.0 2.5
gates
brown
U.S
1.2 1.1 1.8 1.9 1.0 1.6 1.9 1.3
3.9 3.8 3.8 3.8 3.9 3.6 3.0 3.5
joe
charlie
switzerland
2.2 2.1 2.8 2.9 2.0 2.6 2.9 2.3
4.9 4.8 4.8 4.8 4.9 4.6 4.0 4.5
The final score for each skater is the sum of the average of the two categories of the scores. In this case,
calculate the average of each column. For the first column average (5.0+4.3)/2=4.65. For the second column
average (4.9+4.7)/2=4.8. Finally Calculate the sum of these average values.
1. Design UML diagram for a class named Skaters to hold the above data and calculate the final score.
2. Implement the Skaters class.
3. Write a driver class called SkatersDemo to read the data in from pairs.txt and calculates the
final score for each pairs of skaters.
This class should:
• Create an array named skatersArray with elements of type Skaters.
• Read the data about each skater from pairs.txt and create an object of type Skaters and
store it in the skatersArray.
• Sort the elements of the skatersArray in descending order based on the final score.
• Display the results on the screen.
• Give the special prominence to the medal winners (Gold, Silver, Bronze).
I know it will be long but can you do it with the values please
Step by stepSolved in 3 steps with 4 images
- Active buzzer project: Write an algorithm for the below code. I uploaded another picture to show you an example how to write the algorithm for the code . After looking at the example, write an algorithm in the similar way for the active buzzer code. Thanks.arrow_forwardcan you please do this in java eclipse idearrow_forwardI am a freshman and new to Java. I am making an Elevator Simulation as my project but don't know how it works. I tried to upload the code I had but I was having format problem. So on the bottom, I wrote some classes and wrote what I am planning to write inside. It would be helpful if any of you can tell me what I need to improve or add. Instructions: The goal is to create an elevator simulation using object-oriented programming and polymorphism. The simulation involves 8 elevators, each of which can be one of 4 types with different percentages of requests, and 4 types of passengers with different percentages of requests. The elevator types include Standard, Express, Freight, and Glass elevators, while the passenger types include Standard, VIP, Freight, and Glass passengers. The simulation starts with a specified number of passengers added to different floors of the building, and during the simulation, the elevators will move up and down the building, picking up and dropping off…arrow_forward
- can you please do this in java eclipse ide thank youarrow_forwardImplement the one-time pad encryption scheme in Microsoft Excel. Your worksheet should look as follows: For Encryption: - Have the message occupy adjacent cells in one row, with one bit of the message in each cell. Align the key (the one-time pad) with the message in the next row. Note that the key should be of the same length as the message. In the next row, enter a formula that computes the ciphertext. Decryption is similar: - Have the ciphertext occupy adjacent cells in one row, with one bit of the ciphertext in each cell. Align the key (the one-time pad) with the ciphertxt in the next row. Note that the key should be of the same length as the ciphertext. In the next row, enter a formula that computes the plaintext (message). .arrow_forwardDevelop an interactive GUI-Tkinter Calculator of 2x2 matric operation such as addition, multiplication and division.arrow_forward
- Using comments within the code itself, can you provide an line by line explanation of the below JavaScript file? The file itself deals with WebGl and if that helps you. Please & thank you JavaScript File: function inverse2(m) { var a = mat2(); var d = det2(m); a[0][0] = m[1][1]/d; a[0][1] = -m[0][1]/d; a[1][0] = -m[1][0]/d; a[1][1] = m[0][0]/d; return a; } function inverse3(m) { var a = mat3(); var d = det3(m); var a00 = [ vec2(m[1][1], m[1][2]), vec2(m[2][1], m[2][2]) ]; var a01 = [ vec2(m[1][0], m[1][2]), vec2(m[2][0], m[2][2]) ]; var a02 = [ vec2(m[1][0], m[1][1]), vec2(m[2][0], m[2][1]) ]; var a10 = [ vec2(m[0][1], m[0][2]), vec2(m[2][1], m[2][2]) ]; var a11 = [ vec2(m[0][0], m[0][2]), vec2(m[2][0], m[2][2]) ]; var a12 = [ vec2(m[0][0], m[0][1]), vec2(m[2][0], m[2][1]) ]; var a20 = […arrow_forwardCould you do this, please? I really need help on this. in Javaarrow_forwardWrite code that outputs variable numCats as follows. End with a newline.arrow_forward
- Hi! can ya solve this for me pls? i want it just as same as this GUI output shown in the image.arrow_forwardCreate a gui in Java using swing or jframe Sample example is herearrow_forwardTHIS IS MEANT TO BE IN JAVA. What we've learned so far is variables, loops, and we just started learning some array today. The assignment is to get an integer from input, and output that integer squared, ending with newline. But i've been given some instructions that are kind of confusing to me. Please explain why and please show what the end result is. Here are some extra things i've been told to do with the small amount of code i've already written... Type 2 in the input box, then run the program so I can note that the answer is 4 Type 3 in the input box instead, run, and note the output is 6. Change the output statement to output a newline: System.out.println(userNumSquared);. Type 2 in the input box Change the program to use * rather than +, and try running with input 2 (output is 4) and 3 (output is now 9, not 6 as before). This is what I have so far... import java.util.Scanner; public class NumSquared {public static void main(String[] args) {Scanner scnr = new…arrow_forward
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY