Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A school is developing a student grade reporting system. The detailed requirements are listed below: The system manages a class of a certain number of

A school is developing a student grade reporting system. The detailed requirements are listed below:

  1. The system manages a class of a certain number of students
  2. For the class, the system should be able to:
    1. print a report of a list of students with the details of students listed one by one
    2. calculate the average GPA of all students
    3. query for a students GPA by their full name (assume no name conflict)
  3. For a student, the system should be able to:
    1. manage a students name and GPA
    2. create a student given a name and GPA
    3. set and get students name and GPA
    4. print a report on the details of the student (name and GPA)

Based on these requirements, please suggest possible decompositions of the problem as classes. List your classes in the following UML like format:

ClassName

+ type1 instanceVariable1

- type2 instanceVariable2

+ returnType1 function1(param list)

- returnType2 function2(param list)

The first cell holds the class name; the second cell holds instance variables; the third cell holds methods. Use the initial -/+ sign to represent private/public access specifiers of the class members. Make sure to provide readable names for the classes, variables and functions using UpperCamelCase or lowerCamelCase following our naming convention. Return type is not necessary for constructors and destructors. Use C++ types. For lists, you can use vector type or array type.

Keep it simple. Focus on required features. No need to add any extra functionality. Anything not listed in the requirements are not necessary.

Provide your answers in a word document or RTF document. You can insert tables with one column and three rows for each class. No need to draw arrows. Just list classes.

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_2

Step: 3

blur-text-image_3

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

Professional Android 4 Application Development

Authors: Reto Meier

3rd Edition

1118223853, 9781118223857

More Books

Students also viewed these Programming questions