这是我们软件构造实验课的内容,就简单做了这么一个实验,话不多说直接上效果,是基于springboot实现的
可以轻松算出你的错题,并且整理错题(正确题目不会出现);
为了演示,只输入了一部分
关键代码如下:
package com.lrl.question.util;
import com.lrl.question.vo.Question;
import com.lrl.question.vo.Problem;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
@Configuration
pu