Create a student class and driver

Assignment Help JAVA Programming
Reference no: EM131207606

"Student Class and Driver"

This Student Class will be the data that will be used for each of the projects assigned and graded this semester.

Your Student Class will consist of:
Student Attributes:
First Name
Last Name
ID Number (6 digit number, generated as a random integer, assigned as a string)
List of Courses Taken (you may use an ArrayList type, or a linked list)
Total number of credits (calculated, not entered as data)
GPA (calculated, not entered as data)

Student Methods / Functions:
usual "sets and gets"
comparison based on lastName
equality test based on idNo
toString (formatted as shown below)
Your Course Class will consist of:
Course Attributes:
Course Number (4 digit used as a string)
Number of Credits (double)
Grade received (string ‘A', ‘B+', etc)
Course Methods:
usual "sets and gets"
toString (courseID, credits, grade)
equality test based on idNo

Your driver program should consist of an array of Student.

LoadData: the student data should be read in from a text file and stored in the array. A course code of -999 will mark the end of the course list.

AddStudent: the user will input the new student (name only) and add to the rear of the array

Display: will display all of the students in the formatted form.

StoreData: the student array will be stored to the text file.

Student Data will be formatted:

Last name, First Name, IDNo

Course1 code, credits, grade

Course2code, credits, grade etc.

Total Credits, GPA.

Reference no: EM131207606

Questions Cloud

Determine the current is : For the network of given figure: -  Find the total impedance ZT.  -  Determine the current Is. - Calculate IC using the current divider rule.
Create a program that will ask for gallon used : Create a program that will ask for both gallon used and mileage travelled; calculate the MPG. Create a program that ask for a radius of a circle and has the ability to return both the Area and Circumference.
Identify and solve complex organisational problems : Identify and solve complex organisational problems creatively and practically to increase the effectiveness of management processes through the development of a security program for an organisation.
Implement a java application that reads tweets : Description: The goal of this assignment is to implement a Java application that reads tweets from both the Twitter Streaming API and preloaded log file and finds the trending topics for a given set of languages and periods
Create a student class and driver : Create a Student Class and Driver. List of Courses Taken (you may use an ArrayList type, or a linked list). will display all of the students in the formatted form.
Find the total impedance zt and the total admittance yt : Find the total impedance ZT and the total admittance YT. - Find the current Is. - Calculate I2 using the current divider rule. - Calculate VC.
What are your recommendations on choice of country : What is the new cost of goods sold percent of sales for each of the countries?
Find total impedance zt and power factor of the network : For the network of given figure: -  Find the total impedance ZT. -  Calculate the voltage V2 and the current IL. - Find the power factor of the network.
Does one personality always predict one behavior : This module addressed research methodologies used to better understand the construct of personality. Which of these methods produces the most valid information in the real world of personality research? Why?

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd