fix: 添加批量导入题目通能 #1

This commit is contained in:
Yakumo Hokori
2026-03-07 19:20:09 +08:00
parent b71a358ed2
commit b53743a68b
6 changed files with 249 additions and 14 deletions

44
test_import.json Normal file
View File

@@ -0,0 +1,44 @@
[
{
"title": "Java中以下哪个关键字用于定义接口",
"type": 1,
"answerA": "class",
"answerB": "interface",
"answerC": "extends",
"answerD": "implements",
"rAnswer": "B",
"score": 5
},
{
"title": "Spring框架的核心特性是什么",
"type": 1,
"answerA": "AOP面向切面编程",
"answerB": "IOC控制反转",
"answerC": "MVC设计模式",
"answerD": "以上都是",
"rAnswer": "D",
"score": 5
},
{
"title": "简述Java中Exception和Error的区别。",
"type": 2,
"rAnswer": "Exception是程序可以处理的异常通常由程序逻辑错误引起Error是严重错误如内存溢出程序无法处理。",
"score": 10
},
{
"title": "MySQL中如何优化慢查询",
"type": 2,
"rAnswer": "1. 添加索引2. 优化SQL语句3. 使用EXPLAIN分析查询计划4. 避免全表扫描5. 适当分表分库。",
"score": 15
},
{
"title": "以下哪个不是Java的基本数据类型",
"type": 1,
"answerA": "int",
"answerB": "String",
"answerC": "boolean",
"answerD": "double",
"rAnswer": "B",
"score": 5
}
]