## 设计理念
- 管理员和用户登录与退出
- 用户注册功能
- txt文件作为题库,并且支持增删改查
- 用户考试随机抽取题目,题目数量由用户决定,并且给出判卷分数
- 记录用户的个人信息以及答题记录
主要是依靠的学生类和试题类进行处理。
![](https://www.writebug.com/myres/static/uploads/2022/3/1/9f9578749af36be0f3340ae0ee8756c0.writebug)
本考试系统可以用数字选择,也可以利用上下键+回车进行选择(光标在选项上)
![](https://www.writebug.com/myres/static/uploads/2022/3/1/d24aded10b816f7564feca5728c5c37d.writebug)
![](https://www.writebug.com/myres/static/uploads/2022/3/1/3494a5399443e409468de31b4626aa4f.writebug)
## 逻辑流程
![](https://www.writebug.com/myres/static/uploads/2022/3/1/886790f8fe226c82de11b4ae43e64f65.writebug)
## 代码结构
![](https://www.writebug.com/myres/static/uploads/2022/3/1/b5d2ffeb0786cd05b82db2a27125e4f1.writebug)
用两个类来构造题目和用户
![](https://www.writebug.com/myres/static/uploads/2022/3/1/376610240006c39c9b3df3ad1926b3a2.writebug)
move_1(4,menuPrint)是打印出txt界面,并且可以通过移动光标来选择
通过不同的选项进入不同的程序
![](https://www.writebug.com/myres/static/uploads/2022/3/1/6300d717465d90165d649803a753b913.writebug)
通过bool值来确定用户是否被注册
![](https://www.writebug.com/myres/static/uploads/2022/3/1/cc39985ef66683868e44515a337ebb8f.writebug)
利用vector来匹配账户密码来实现登录
![](https://www.writebug.com/myres/static/uploads/2022/3/1/1acc5672129e623dcd7854061b830012.writebug)
登录成功后选择选项 考试还是查看信息
![](https://www.writebug.com/myres/static/uploads/2022/3/1/5e8d476684285cc7a98da492278cbc5b.writebug)
考试前的随机排序
![](https://www.writebug.com/myres/static/uploads/2022/3/1/2eac7934ae1be97df88936aed4aafc46.writebug)
考试评分系统,通过匹配vector的rightAnswer
![](https://www.writebug.com/myres/static/uploads/2022/3/1/358e7d2d3a1271d9d433f3d676efbe05.writebug)
管理员登录
![](https://www.writebug.com/myres/static/uploads/2022/3/1/b845a156f9b27dc54d5e608aa7819936.writebug)
管理员的不同选项
![](https://www.writebug.com/myres/static/uploads/2022/3/1/14d76ceb7fcbcbcae9a0a01c4c9be07e.writebug)
修改密码
![](https://www.writebug.com/myres/static/uploads/2022/3/1/9bf1106558881daa0b4330d3bff6f6f7.writebug)
成绩统计
![](https://www.writebug.com/myres/static/uploads/2022/3/1/9e143dd20d2bb0747906fcefd3a91f52.writebug)
查找试题
![](https://www.writebug.com/myres/static/uploads/2022/3/1/34b9573a78f570e4d125b45b57b571de.writebug)
用一个函数来表达打印txt文件
![](https://www.writebug.com/myres/static/uploads/2022/3/1/d872125f48fee05eecaf041db2a6f22e.writebug)
试题的管理
![](https://www.writebug.com/myres/static/uploads/2022/3/1/c2cdfd2d84b06b20e4c629553dfcbc59.writebug)
删除试题
![](https://www.writebug.com/myres/static/uploads/2022/3/1/b66fe1d9976be9ffeb2dfa8ca7f91a8d.writebug)
![](https://www.writebug.com/myres/static/uploads/2022/3/1/938930a9bdcd2a3d70276918a401849c.writebug)
修改试题
## 运行测试
![](https://www.writebug.com/myres/static/uploads/2022/3/1/204d9c6ed7dbfc7141d084b4a2e2417f.writebug)
这是考试系统初始界面
![](https://www.writebug.com/myres/static/uploads/2022/3/1/b131ff62a0711b33c701764e0ba485c6.writebug)
用户注册,注册需要一定的条件,需要10位数字,并且不可以重复注册
![](https://www.writebug.com/myres/static/uploads/2022/3/1/c402202df7551347fdbae125a01fcec6.writebug)
![](https://www.writebug.com/myres/static/uploads/2022/3/1/18c8c230c491267b525fe1030f8e1e20.writebug)
重复注册则注册失败
![](https://www.writebug.com/myres/static/uploads/2022/3/1/9d52c9c82c52dcc45c33bde7d9d59397.writebug)
学生登录界面
![](https://www.writebug.com/myres/static/uploads/2022/3/1/97d56d9ab5fde27646cd5b969c5e8d0d.writebug)
学生界面
![](https://www.writebug.com/myres/static/uploads/2022/3/1/ff6b6a2a08607aad0105bee85397e57b.writebug)
学生可以查看个人信息
![](https://www.writebug.com/myres/static/uploads/2022/3/1/453ee070b13f36f2a43c5596bea80b85.writebug)
输入题目能够随机抽取
![](https://www.writebug.com/myres/static/uploads/2022/3/1/fb8e87e2fe73f62d7f1316e943f644c5.writebug)
自动判分
![](https://www.writebug.com/myres/static/uploads/2022/3/1/0a23bd94cfd39c28e15f9d79b3361a97.writebug)
管理员登录
![](https://www.writebug.com/myres/static/uploads/2022/3/1/3b78759eb9eaf336911055254cb66e42.writebug)
![](https://www.writebug.com/myres/static/uploads/2022/3/1/0a0b877be5d2887708c1547ad0cdd76b.writebug)
管理员可以修改密码
![](https://www.writebug.com/myres/static/uploads/2022/3/1/a03b35b23acb9a9d0faa53d34a93a1e0.writebug)
管理员可以查看每个人的考试信息
![](https://www.writebug.com/myres/static/uploads/2022/3/1/b648d4d41fa7f757fc7183231b60bb09.writebug)
管理员可以对试题进行增删改查
![](https://www.writebug.com/myres/static/uploads/2022/3/1/5f7054a31aaa946622d22ed25abb7cb7.writebug)
查询所有试题
![](https://www.writebug.com/myres/static/uploads/2022/3/1/b3fcb80504a70cbd6235d52a0bbbd75f.writebug)
查询单个
![](https://www.writebug.com/myres/static/uploads/2022/3/1/a1195ad8729a540b696c12d13f905857.writebug)
![](https://www.writebug.com/myres/static/uploads/2022/3/1/91054b9647fa7b3a1e3d74058d83e1e3.writebug)
添加后的试题多了一道题目
![](https://www.writebug.com/myres/static/uploads/2022/3/1/d6e222b4feb43ce336b0a8fc1a61521d.writebug)
![](https://www.writebug.com/myres/static/uploads/2022/3/1/f7c4289721320550cf45ee95b63d1be5.writebug)
将刚刚添加的试题更改
![](https://www.writebug.com/myres/static/uploads/2022/3/1/c1101643ba6738db7b719d4794fc200c.writebug)
![](https://www.writebug.com/myres/static/uploads/2022/3/1/c3fb90124da41cb73ea436df7b9ff457.writebug)
删除刚刚增加的题目后,题库就没有了
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
资源包含文件:设计报告word+源码及可执行exe文件 管理员和用户登录与退出 - 用户注册功能 - txt文件作为题库,并且支持增删改查 - 用户考试随机抽取题目,题目数量由用户决定,并且给出判卷分数 - 记录用户的个人信息以及答题记录。 详细介绍参考:https://biyezuopin.blog.csdn.net/article/details/123271187
资源推荐
资源详情
资源评论
收起资源包目录
基于C++的考试试卷成绩管理系统.zip (56个子文件)
exam-system
testSystem
main.cpp 362B
学生注册.txt 153B
mu2.txt 247B
admin_user.cpp 2KB
用户注册1.txt 346B
user.cpp 5KB
user1.txt 72B
menu_2.txt 300B
test.txt 1KB
head.h 2KB
testSystem.vcxproj.filters 2KB
menu_7.txt 536B
成绩统计.txt 17B
成绩统计1.txt 734B
answer.txt 15B
admin.cpp 2KB
学生登录1.txt 299B
testSystem.vcxproj 7KB
testSystem.vcxproj.user 165B
Debug
find_info.obj 292KB
funmain.obj 220KB
testSystem.exe.recipe 298B
testSystem.tlog
link.read.1.tlog 4KB
testSystem.lastbuildstate 174B
link.command.1.tlog 2KB
CL.command.1.tlog 5KB
CL.write.1.tlog 3KB
CL.read.1.tlog 235KB
link.write.1.tlog 1KB
testSystem.Build.CppClean.log 1KB
vc142.pdb 700KB
vc142.idb 619KB
testSystem.exe 140KB
testSystem.vcxproj.FileListAbsolute.txt 66B
testSystem.log 1KB
admin.obj 249KB
admin_user.obj 298KB
main.obj 46KB
testSystem.ilk 1.13MB
question.obj 318KB
user.obj 469KB
testSystem.pdb 924KB
menu_1.txt 486B
学生登录.txt 309B
question.cpp 4KB
admin.txt 5B
find_info.cpp 1KB
testSystem.sln 1KB
menu_3.txt 353B
funmain.cpp 1KB
mu1.txt 247B
mu3.txt 247B
user.txt 47B
README.md 6KB
LICENSE 1KB
设计报告.docx 670KB
共 56 条
- 1
shejizuopin
- 粉丝: 1w+
- 资源: 1288
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 电赛数据集-数字5,6,7,8识别
- 基于Vue的长沙理工大学Java大作业设计源码
- matlab基于线性准则的考虑风力发电不确定性的分布鲁棒优化机组组合
- 基于C语言+stm32f4的modbus tcp上下位机通信项目+上位机由LabVIEW编写+源码+开发文档+视频教程(高分项目
- 基于Python的Struts2漏洞扫描器设计源码
- HTML+CSS制作的个人博客网页.zip
- 基于htmlde 爱心代码,但HTML网页源码.zip
- 51单片机实现LED流水灯
- 基于Python的obEspoir分布式游戏框架设计源码
- 基于python的机械设计实用计算器,可计算电动机,传动装置,V带轮,齿轮,轴,轴承的几何或者力,运动学参数数值+源码+开发文档
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页