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

  Calculates the total annual compensation of a salesperson

Write a Java application using NetBeans Integrated Development Environment IDE that calculates the total annual compensation of a salesperson.

  Generate and display the polynomial

Design and write the methods calculate Brute Force and calculate Horner for calculating the polynomial value for an integer value of x by using the brute force approach and respectively Horner's technique. Each method should take two parameters: t..

  Problem regarding the protocol conformance

We can compare Smalltalk interfaces to classes that use protocols, which are lists of operation names (selectors). When a selector allows parameters, as in at: put: , the selector name includes the colons but not the spaces.

  The bookstore wants you to make an object-oriented model

student bookstore at pleasant creek community college situation the bookstore staff at pleasant creek community college

  Write a recursive function that finds and returns the sum

Write a recursive function that finds and returns the sum of the elements of an int array. Also, write a program to test your function.

  Concept of time in javascript

In JavaScript a time is dened as a Date Object. Each date object stores its state as a time value,which is a primitive number that encodes a date.

  User session mgr - socket and thread programs

User Session Mgr - Socket and Thread Programs

  Paper on mobility-cdma and gsm

Discuss a minimum of three mobile web applications that are familiar or that you used regularly.

  Write java application to demonstrate the behavior

The source code is patterned after a similar example that was taken from Joyce Farrell's textbook, Java Programming.

  Uses a loop to populate a one-dimensional array

Write the following program that creates and uses a loop to populate a one-dimensional array that holds the even numbers between 1 and 12; creates and uses a loop to populate a second one-dimensional array that holds the odd numbers between 1 and 12;..

  Survey conductor application

Survey Conductor Application: You have been asked by your manager to create a user-friendly application that will present a survey to your customers

  Create java program to simulate the operation of a bank atm

write a Java program to simulate the operation of a bank ATM (cashpoint) system for payment and deposit on an account. In order to make the system fairly simple there is only one bank account and there are 5 cards that can be used to deposit or wi..

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