Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please follow instructions and fill up the code in picture number 4 and pass all the tests given below 3.1. Method getMyID0 This method that

please follow instructions and fill up the code in picture number 4 and pass all the tests given below image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
3.1. Method getMyID0 This method that is called getMyID0, accepts no parameter and returns your student number. The return type must be a string. Please make sure that you return a correct student number, otherwise we are not able to calculate your grade. The method signature should look like below: public static string getMyID () 3.2. Method getLetterGrade 0 This method accepts a double number, which represents a grade and return the letter grade equivalent of the input. The letter grade is computed using the following table: This method accepts a double number, which represents a grade and returns the letter grade equivalent of the input. The letter grade is computed using the following table: The name of the method is getLettergrade () and the return type is string. The method signature is: public static string getlettergrade (double grade) Important Note: It is extremely important that the identifiers that you choose for the class and methods are the same as what is given in this description. Otherwise, our tester cannot read your code and you will lose the mark for this lab. 4. Testing your code You should be able to use JUnit to test your code. Although we do not want you to submit your tester, we expect you to write your own tester, as this is part of the objective of this lab. Since we assume that you have tested your code, using Junit, your code should not contain the main method. When you write a tester, make sure that you choose a test case that is representative of each group (e.g. one test case when 90

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Semantics In Databases Second International Workshop Dagstuhl Castle Germany January 2001 Revised Papers Lncs 2582

Authors: Leopoldo Bertossi ,Gyula O.H. Katona ,Klaus-Dieter Schewe ,Bernhard Thalheim

2003rd Edition

3540009574, 978-3540009573

More Books

Students also viewed these Databases questions

Question

=+ Do I come across as reliable, honest, and helpful?

Answered: 1 week ago