This fourth assignment will allow you to explore four different concepts in one
ID: 3805491 • Letter: T
Question
This fourth assignment will allow you to explore four different concepts in one program. You will be creating a program that makes use of: an abstract data type (ADT file input/output (IAO), classes & objects, and a UML diagram in an object-oriented (oo) programming language. For this assignment, you are tasked with the responsibility of reading in a list of students from a text file, creating a Student object for each student, pushing the Student object onto a Stack, and then providing an option to print the contents of the Stack by popping the students off the Stack one-by-one You should print each Student on a separate line in the console Sample output). This program will be written in Java and must compile and run on Tesla (tesla.cs.iupui.edu). Your program will be menu driven in which you will provide the following prompts to the user: l. Load Students (From File) 2. Print Stack 3. Exit Program We will assume the each student has the following data available: First name Last name Address o Address line 1 o Address line 2 City o o State o Zip Code Student ID GPA The text file containing sample student data will be provided to you. The filename will be students.txt this file can be found (and downloaded) on Canvas. The file will contain ten (10) students. The format of the file will be as follows: First Name, LastName, streetAddress, Address2, City, State, ZipCode, ID, GPAExplanation / Answer
One of these json files might look like this:
{
"draw_groups": [
"attribs": "bin/f_muscles/lambert6SG1_attribs.utf8",
"dimensions": [ 3, 3, 2 ],
"draws": [ {
"geometry": "L_Muscle_1",
"range": [ 0, 1716 ]
}, {
"geometry": "L_Muscle_2",
"range": [ 1716, 3600 ]
} ],
"indices": "bin/f_muscles/lambert6SG1_indices.utf8",
"material": "lambert6SG1",
"numIndices": 5316,
"semantics": [ "POSITION", "NORMAL", "TEXCOORD" ],
"texture": "textures/muscles_back_muscles_2.jpg"
} ]
}
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.