ITN 261: Gradebook – javaFX
Problem statement:
You are tasked with 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<Student> 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);
}
}
}
Sample output:
Gradebook name = John, gpa = 3.5, id = 700000001, class = Freshman name = Jane, gpa = 3.2, id = 700000011, class = Freshman name = Mike, gpa = 3.9, id = 700000012, class = Sophomore name = Mary, gpa = 4.0, id = 700000013, class = Junior name = Joseph, gpa = 3.1, id = 70000002, class = Senior
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
Our Services
Quality Essay Help has stood as the world’s leading custom essay writing services providers. Once you enter all the details in the order form under the place order button, the rest is up to us.
Essays
At Quality Essay Help, we prioritize on all aspects that bring about a good grade such as impeccable grammar, proper structure, zero-plagiarism and conformance to guidelines. Our experienced team of writers will help you completed your essays and other assignments.
Admissions
Admission and Business Papers
Be assured that you’ll definitely get accepted to the Master’s level program at any university once you enter all the details in the order form. We won’t leave you here; we will also help you secure a good position in your aspired workplace by creating an outstanding resume or portfolio once you place an order.
Editing
Editing and Proofreading
Our skilled editing and writing team will help you restructure you paper, paraphrase, correct grammar and replace plagiarized sections on your paper just on time. The service is geared toward eliminating any mistakes and rather enhancing better quality.
Coursework
Technical papers
We have writers in almost all fields including the most technical fields. You don’t have to worry about the complexity of your paper. Simply enter as much details as possible in the place order section.