博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
模拟1亿注册用户时在线考试场景
阅读量:3949 次
发布时间:2019-05-24

本文共 366 字,大约阅读时间需要 1 分钟。

简介:

本项目简单模拟学生在线考试的过程
从用户表(mycat_user)随机选取一个学生,
读取试卷表(mycat_paper)生产随机考试试卷
模拟学生提交答案,后台阅卷后更新考试成绩到学生试卷表(mycat_user_paper)

效果截图:

每次刷新页面模拟一次学生在线考试
在这里插入图片描述在这里插入图片描述

代码地址

https://github.com/bones4/mycat-project.git
数据库
数据库备份文件网盘链接
链接:https://pan.baidu.com/s/1XNT11PdTgs5z5NNA-oGK5g
提取码:ren3

数据库还原命令

mysql -u root -P 3308 -p admin@123#
show databases;
use mocksystem
source d:/test.sql

数据库截图

在这里插入图片描述

转载地址:http://evhwi.baihongyu.com/

你可能感兴趣的文章
Running Your App (android)
查看>>
Starting Another Activity
查看>>
Starting an Activity
查看>>
Stopping and Restarting an Activity
查看>>
Using the Support Library
查看>>
Creating a Fragment
查看>>
Building a Flexible UI
查看>>
Communicating with Other Fragments
查看>>
Saving Key-Value Sets
查看>>
Saving Files
查看>>
Saving Data in SQL Databases
查看>>
Sending the User to Another App
查看>>
Getting a Result from an Activity
查看>>
Allowing Other Apps to Start Your Activity
查看>>
Using the Location Manager
查看>>
Obtaining the Current Location
查看>>
Displaying the Location Address
查看>>
Connecting to the Network
查看>>
Managing Network Usage
查看>>
Parsing XML Data
查看>>