Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ITN 261: Gradebook - javaFX Problem statement: writing a program that will keep track of student grades and display them in a graphical program. Requirements:

ITN 261: Gradebook - javaFX

Problem statement:

writing a program that will keep track of student grades and display them in a graphical program.

Requirements:

Student information should be stored within a Student class object

We must keep track of each students:

Name - String

GPA - double

Id - int

Standing - int

0 corresponds to freshman

1 corresponds to sophomore

2 corresponds to junior

3 corresponds to senior

Grading details:

Correct usage of OOP concepts (80%)

Correct class design and usage of class instances (30%)

Correct usage of javaFX objects and classes (30%)

Other supporting code/logic (20%)

Program runs/correct results (10%)

Formatting/Indentation (10%)

Starter Code:

import java.util.ArrayList; import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.layout.VBox; import javafx.scene.text.Text; import javafx.stage.Stage; public class Gradebook extends Application { static ArrayList roster = new ArrayList<>(); public static void main(String[] args) { launch(args); } @Override public void start(Stage primaryStage) throws Exception { // TODO: Make the necessary changes to display the class // roster using a JavaFX window rather then the console. roster.add(new Student("John", 3.5, 700000001, 0)); roster.add(new Student("Jane", 3.2, 700000011, 0)); roster.add(new Student("Mike", 3.9, 700000012, 1)); roster.add(new Student("Mary", 4.0, 700000013, 2)); roster.add(new Student("Joseph", 3.1, 700000002, 3)); for (Student each: roster) { System.out.println(each); } } }

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

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions