Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Create an application called Registrar that has the following classes:
A Student class that minimally stores the following data ?elds for a student:¦ name¦ student id number¦ number of credits¦ total grade points earnedThe following methods should also be provided:¦ A constructor that initializes the name and id ?elds ¦ A method that returns the student name ?eld¦ A method that returns the student ID ?eld¦ A method that determines if two student objects are equal if their student id numbers are the same (override equals from the class Obj ect)¦ Methods to set and retrieve the total number of credits¦ Methods to set and retrieve the total number of grade points earned¦ A method that returns the GPA (grade points divided by credits)An Instructor class that minimally stores the following data ?elds for an instructor:¦ name¦ faculty id number¦ departmentThe following methods should also be provided:¦ A constructor that initializes the name and id ?elds ¦ Methods to set and retrieve the instructor's departmentA Course class that minimally stores the following data for a course:¦ name of the course¦ course registration code¦ maximum number of 35 students¦ instructor¦ number of students¦ students registered in the course (an array)The following methods should also be provided:¦ A constructor that initializes the name, registration code, and maximum number of students¦ Methods to set and retrieve the instructor¦ A method to search for a student in the course; the search should be based on an ID number.¦ A method to add a student to the course. If the course is full, then an exception with an appropriate message should be raised (try creating your own exception class for this). Also, be sure that the student is not already registered in the course. The list of students should be in the order that they registered.¦ A method to remove a student from the course. If the student is not found, then an exception with an appropriate message should be raised (use the same exception class mentioned above).¦ A method that will allow Course objects to be output to a ?le using object serialization¦ A method that will allow Course objects to be read in from a ?le created with Object serializtionYou will note that the Student and Instructor classes described above have some commonality. Create a Person class that captures this commonality and uses it as a base class for Student and Instructor. This class should be responsible for the name and id ?elds and also provide a toString method that returns a string of the form name, id. This will be the inherited toString method for the Student and Instructor classes.a. Draw a UML diagram for this application.b. Implement the previous classes in Java. Write a main program that can serve as a test class that tests all of the methods created and demonstrates that they are working.c. Write a second main program that provides a menu to allow the user to i. create a course, prompting the user for all of the course information,ii. add students to the course,iii. check to see if a student is registered in the course, andiv. remove a student from the course.d. Add to the previous menu the ability to save a course using object serialization. Also add a menu choice to read in a course from a file given the course code. Come up with a system of naming the file so that the user need only be asked the course code to load the course information from a file.
write a program that reads in a list of numbers from a file and adds up all those numbers. You may hard code in the name of the file, allowing the user to input the filename is not required
Sorting given an array with 100,000 entries to sort. Under what circumstances would you use each of the following: insertion sort,mergesort'quicksort
Word Counter Write a method that accepts a String object as an argument and returns the number of words it contains. For instance, if the argument is "Four score and seven years ago" the method should return the number
ASSIGNMENT 1- An echo client-server application, You are required to develop an application that allows clients running on MS Windows platforms to send sequences of strings to an echo server running on a windows platform
Compare the average completion times of all jobs for each scheduling algorithm. Output the details of each algorithm's execution. You need to show which jobs are selected at what times as well as their starting and stopping burst values. You can choo..
Create and execute a stringed musical instrument class.
Using Netbeans, use repetition to display a table of values showing x, the square of x and the cube of x. X is to go up to 5.
ou have to write a number guessing game in Java. The program should have three difficulty levels, each one having a different maximum number. After the user selects a difficulty,
Please consider the features of Java classes, and then define a Java class for a DNA sequence object to include instance variable names and methods that you can use to define a piece of DNA sequence
Implement a game called Bunko-Poker. The gameplay is an easily programmed version of the popular game Yahtzee. Your program will make use of the supplied static functions Dice.roll() and, in cases where you might need the string ordered, Dice.ordered..
Write a Java program that uses the elapsed time for an event in second and then outputs the elapsed time in hours, minutes and seconds. (For example, if the desired time is 9630 seconds, then the output is 2: 40: 30)
this is a client server monitoring system project design.first in the server side the 1a program is my own and i have
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!
whatsapp: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd