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

  Following names with an associated phrase

Name game (8 points). Match the following names with an associated phrase. Use each letter once and only once. A. Steve Cook _______ Incompleteness B. Alan Turing _______ Reductions

  Design and implement a small and simple email server

Design and implement a small and simple email server using the concept of web based information system (WBIS).

  Problem related to eclips

Goals: 1) Be able to work with individual bits in java. 2) Understand the serializable interface. 3) Understand the comparable interface.

  Write a java application to display the following gui

Write a Java application to display the following GUI. At this point you are only implementing the display. We are not ready to make the calculator actually do any calculations

  Java socket hello i need to this assignment done in net

hello i need to this assignment done in net beans . and i want comment in code .also screen shots of running program

  Implement savings account using locks and conditions

A savings account object holds a non-negative balance - Use a shared counter protected by test-and-test-and-set lock. Each thread locks the counter, increments it, releases the lock, and repeatedly reads the counter until it reaches n.

  Create a class to represent a rectangle

Create a class to represent a Rectangle. Your class should contain instance variables for length and width, as well as member method to calculate the area and perimeter

  Why do i not create a constructor for an applet

When should one use applets and when should one use servlets? Why do I not create a constructor for an applet? Why doesn't appletviewer appletclass.class work?

  Create a splash screen for the tgc application

To complete your splash screen please use the information below: Create a splash screen for the TGC application that displays: the application's name.

  Design a function named "falling distance"

Design a function named "fallingDistance" that accepts an objects falling time, in seconds, as an argument. The function should return the distance, in meters, that the object has fallen during that time interval. Design a program that calls the func..

  Write java classes for the class diagram

Write Java classes for the class diagram. You don't need to write any set and get methods for simplicity.

  Does the clean slate act apply to publications

Does the Clean Slate Act apply to publications of criminal convictions primarily overseas?

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