Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

*@return total marks (0 if 0 assessments) public double getTotal() 5 double result; return 0 *@return average marks (null if 0 assessments) public Double getAverage()

image text in transcribed

*@return total marks (0 if 0 assessments) public double getTotal() 5 double result; return 0 *@return average marks (null if 0 assessments) public Double getAverage() { return null; //to be completed @param assessmentNumber *@return true if assessmentNumber is valid, false otherwise. For example if there were 5 assessments, the valid assessment numbers are from 0 to 4 (including 0 and 4) public boolean isValidAssessmentNumber(int assessmentNumber) ( return false; //to be completed *@param assessmentNumber *@return mark in assessment with given index return null 1f no such assessment exISTS public Double getMark(int assessmentNumber) { return null; //to be completed

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

Fundamentals Of Database System

Authors: Elmasri Ramez And Navathe Shamkant

7th Edition

978-9332582705

More Books

Students also viewed these Databases questions

Question

Explain the chemical properties of acids with examples.

Answered: 1 week ago

Question

Write the properties of Group theory.

Answered: 1 week ago

Question

3. How frequently do the assessments occur?

Answered: 1 week ago