(a) the target
Math ability training system is the user's arithmetic ability training of independent system,
(2)
The system can random number, the user input the answer, after system to judge right and wrong conclusions,
System cover display student id, name and main function selection menu, select the relevant function, after the system according to user's choice, random within 50 integral method to calculate the addition, subtraction, multiplication, and division title, user solutions by the system after the judge right and wrong, the user input 1 stop training, increase the recording process to solve the problem, the statistical function of accuracy and time consuming, and suspension training, according to
Who can help me
CodePudding user response:
has written so many words, to give to me ,From when you describe user input input 1 is the end is the answer no longer accept test end of the training, the basic can be sure there is no need to use the GUI graphical interface for the client interface, it is ok to write a console application, basic can be designed as follows,
Analysis should have the following
Entity object
Students (being the test object), according to the requirement attributes can only include student id, name
Test, according to the requirement attributes should include the serial number (starting at 1), test content (consider giving visual structure of the tester so 45-34 + 12; + 20 (23)/4), the answer to questions (addition, subtraction, multiplication, division, add and subtract, battles, subtracting mix)
Questions can be set to constant class contains the addition, subtraction, multiplication, division, add and subtract, battles, subtracting mix these, this constant should be in the
Test of references by topic attribute identification test belong to what type
Functional class
Draw support classes, is mainly responsible for according to the choice of the tester (7) targeted randomly within 50 test
Assessment support class, responsible for testing the number of correct answer, accuracy assessment, the actual answer how many questions, how long did it take
Interface management, mainly responsible for the user to draw drawing output interface menu
System start the main class, starting to include the main method, the basic flow, call interface management class components related method output menu prompt operation, in turn, according to the user to select the execution, questions the answer, submit the answer, answer, record the user answer information, whether or not to continue testing, the end of the test, according to the answer as a result, the exit system, such as
Analysing business methods defined in the related functional components, basic can achieve this little application, so many detail questions, how to store items, how to calculate the correct overall and how much it should consider slowly gradually realize, there are still a lot of details need to pay attention to, no longer to detail here,