pairing partner
- Student ID: 20172317 20172327
- Name: Jiang Zixing Ma Ruifan
- Partner's first week blog address:
- Role: Driver: Jiang Zixing Co-
pilot: Li Wenzhou and Ma Ruifan
demand analysis
- Automatically generate four arithmetic problems
- Integers, true fractions supported
- Supports the use of multiple operators and parentheses
- Able to judge right and wrong and count the correct rate
- Topics cannot be repeated
Design ideas
- UML class diagram
- Generate classes for 3 questions of varying difficulty
- Create a class that generates true scores
- Convert infix expressions to postfix expressions
- Calculate automatically generated questions using postfix expressions
- Create test class
Some code screenshots
The class that generates the question
Difficulty 1
Difficulty 2
Difficulty 3
The class that generates the score
PSP time statistics:
PSP2.1 | Personal Software Process Stages | Estimated time (minutes) | Actual time (minutes) | |
---|---|---|---|---|
Planning | plan | 60 | 60 | |
Estimate | Estimate how long this task will take | 100 | 100 | |
Development | develop | 800 | ||
Analysis | Requirements analysis (including learning new technologies) | 100 | ||
Coding Standard | Code Specifications (to develop appropriate specifications for current development) | 30 | ||
Design UML | Design project UML class diagram | 50 | ||
Coding | specific code | 30 | ||
Code Review | code review | 50 | ||
Test | Testing (self-testing, modifying code, committing changes) | 30 | ||
Size Measurement | Computational workload (actual time) | 30 | ||
Postmortem & Process Improvement Plan | Post-event summary, and propose a process improvement plan | 30 | ||
total | 1240 |