But from a programming stand point I am so lost... how is this put together? My teacher had us do textual analysis and some UML modeling but im still rather lost when i try to connect the dots. I just cant grasp the concept of how I tie this in together. I dont need any help with programming just the structure and set up!
So she gave us this text that basically describes whats supposed to happen
The class Driver (VIEW), class List (MODEL), and class Tests (CONTROLLER) such that an object of this class can store a student’s first name, last name, five test scores, average tests score, and grade. Add constructors and methods to manipulate data stored in an object. Among other things, your classes must contain methods to calculate test averages, return test averages, calculate grades, return grades, and modify individual test scores. The method toString must return test data (including student’s name, five test scores, average, and grade) as a string plus the class average.
I feel so lost when I try to implement this though, I made 3 classes, Driver(main), List, and Tests.
Im just not sure on what class to give what method. The only thing clear to me so far is that class List will hold the data!
I've looked up and in my book online and have seen many pictorial examples of MVC. But i just cant put it together in coding
can anyone dumb this down for me??
thank you!

New Topic/Question
Reply



MultiQuote






|