I've attached the previous assignment i did that this assignment is based off of plus the pdf which explains whats is needed.
Lab 3 - Student Record Search Instructions For our final lab we will be building on the application we created in Lab 2, using the Student class and the StudentRecordTracker class. We are going to create an interactive application that will allow a user to search student records. Please note this lab covers material from Unit 1 through to Unit 6. The guidelines below are a recommended approach to completing this final lab. Week 5: Read and analyze the problem and ensure that you have a complete understanding of the requirements. Refer back to Unit 2 - specifically the lesson on Do While Loops and implement the event controlled loop required to for the interactive component for your program. This code should go in your StudentRecordTracker.java class. At this stage simply implement the code that asks the user for a student number then prompt the user to enter 1 to continue or 2 to exit. We will be writing the searching logic in week 6. Week 6: After reviewing the material in Unit 6, create an array to store Student objects. Initialize your array with the student objects you created in Lab 2. Be sure that you have a method in your student class that returns the student number. You will need this in order to do your search. Implement the searching logic using a for loop. Week 7: Continue working on your searching logic if you haven't completed it yet. Be sure that you have followed the correct Java naming and style guidelines. Test your program and ensure that it is error free and produced the correct output. The Student Record Tracker - Requirements The requirements for this program are fairly straightforward. The program must allow the user enter a student number which will be used to search an array of Student objects. If a student record is found the program should display the student's first name, last name, their program and the final grade they received. You can simply display all this information on a single line - (Use the StringBuilder class to do this to make your job easier). If a student record is not found the program should display the appropriate message. When the search is complete the program should ask the user if they wish to continue searching or exit the program. Additional Notes: When working through this problem keep in mind the lesson on "Arrays of Objects" in unit 6. Remember that we can run object methods from an array. This will be a critical component of your searching logic. Also please refer to the lesson on "Parallel Arrays and Array Searching", looking specifically at the final ProductSearch.java example. In this case we aren't using parallel arrays rather a single array of objects however the searching logic is very similar. When you locate the matching student record be sure that you set your flag and set your index value so that you can locate that object in the array later on in your code. You may use the Scanner class or the JOptionPane class to accept input from the user. Submission Instructions Create a folder on your computer called C:\IntroToJava\Lab 3, place all your .java files required for this lab in that directory. Zip the contents of that directory and upload your file. Lab2/Student.class Lab2/Student.java Lab2/Student.java public class Student { private String position; private String studentNumber; private String lastName; private String firstName; private String gradDate; private String program; private String programLength; float studentGrade; //i tried to name everything in a way that was as specific as possible. // all data from the pdf is included even if it isn't used for the final output. public Student(String position, String studentNumber, String lastName, String firstName, String gradDate, String program, String programLength, float studentGrade) { this.position = position; this.studentNumber = studentNumber; this.lastName = lastName; this.firstName = firstName; this.gradDate = gradDate; this.program = program; this.programLength = programLength; this.studentGrade = studentGrade; } public void print(){ System.out.println(position + lastName + firstName + program + "final grade:" + getStudentGrade()); } public String getStudentGrade() { String a = "A"; String b = "B"; String c = "C"; String d = "D"; String f = "F"; if (studentGrade <= 100 && studentgrade >= 90) { return a; } else if (studentGrade < 90 && studentgrade >= 80) { return b; } else if (studentGrade < 80 && studentgrade >= 73) { return c; } else if (studentGrade < 74 && studentgrade >= 69) { return d; } else if (studentGrade < 70) { return f; } else { return "invalid"; } } } lab2/studentrecordtracker.class lab2/studentrecordtracker.java lab2/studentrecordtracker.java // mike mawson // june 1st, 2020 // lab2-student record tracker public class studentrecordtracker { // main method. public static void main (string[] args){ student student1 = new student("1. ", "1005487-", "wilson ", "dave ", "jan 15, 2009", "- computer science - ", "3", 74.5f); student student2 = new student("2. ", "1006987-", "davis ", "john ", "may 22, 2018", "- business admin - ", "3", 82f); student student3 = new student("3. ", "1007954-", "johnston ", "alison ", "june 30, 2019", "- graphic design - ", "2", 61f); student student4 = new student("4. ", "1001745-", "robinson ", "jodi ", "jan 11, 2018", "- accounting - ", "3", 92f); student student5 = new student("5. ", "1201159-", "valdez ", "juan ", "feb 15, 2018", "- mechanical engineering - ", "3", 65f); //student objects with data from tables. student1.print(); student2.print(); student3.print(); student4.print(); student5.print(); } } return f;="" } else {="" return "invalid";="" }="" }="" }="" lab2/studentrecordtracker.class="" lab2/studentrecordtracker.java="" lab2/studentrecordtracker.java="" mike mawson="" june 1st, 2020="" lab2-student record tracker="" public class studentrecordtracker {="" // main method.="" ="" public static void main (string[] args){="" student student1 =" new Student("1. ", "1005487-", "Wilson ", "Dave "," "jan 15, 2009", "- computer science - ", "3", 74.5f);="" student student2 =" new Student("2. ", "1006987-", "Davis ", "John "," "may 22, 2018", "- business admin - ", "3", 82f);="" student student3 =" new Student("3. ", "1007954-", "Johnston ", "Alison "," "june 30, 2019", "- graphic design - ", "2", 61f);="" student student4 =" new Student("4. ", "1001745-", "Robinson ", "Jodi "," "jan 11, 2018", "- accounting - ", "3", 92f);="" student student5 =" new Student("5. ", "1201159-", "Valdez ", "Juan "," "feb 15, 2018", "- mechanical engineering - ", "3", 65f);="" //student objects with data from tables.="" student1.print();="" student2.print();="" student3.print();="" student4.print();="" student5.print();="" }=""> 70) { return f; } else { return "invalid"; } } } lab2/studentrecordtracker.class lab2/studentrecordtracker.java lab2/studentrecordtracker.java // mike mawson // june 1st, 2020 // lab2-student record tracker public class studentrecordtracker { // main method. public static void main (string[] args){ student student1 = new student("1. ", "1005487-", "wilson ", "dave ", "jan 15, 2009", "- computer science - ", "3", 74.5f); student student2 = new student("2. ", "1006987-", "davis ", "john ", "may 22, 2018", "- business admin - ", "3", 82f); student student3 = new student("3. ", "1007954-", "johnston ", "alison ", "june 30, 2019", "- graphic design - ", "2", 61f); student student4 = new student("4. ", "1001745-", "robinson ", "jodi ", "jan 11, 2018", "- accounting - ", "3", 92f); student student5 = new student("5. ", "1201159-", "valdez ", "juan ", "feb 15, 2018", "- mechanical engineering - ", "3", 65f); //student objects with data from tables. student1.print(); student2.print(); student3.print(); student4.print(); student5.print(); } }> 74 && studentgrade > 80 && studentgrade > 90 && studentgrade >= 100 && studentgrade >