基于安卓 android studio的考试APP开发设计 前台和后台管理系统
2022-08-03 09:57:03
268
{{single.collect_count}}

一 项目概述

考试APP系统分为前台APP端和后台管理系统,前台APP可以注册,登录,试卷列表,开始测试,个人中心,试卷打分,试题解析,退出系统,后台管理系统 主要有 老师注册 登录,发布试卷,发布题型,试卷组卷,试卷阅卷,成绩管理,学生列表,日志管理 系统管理等等 功能太多。

二 开发工具

后台管理系统 采用流行的java技术 采用idea或者eclipse开发
APP端开发工具 采用 android studio工具开发
模拟器采用 逍遥模拟器 或者 夜神模拟器

三 项目功能结构

在这里插入图片描述

四 项目开发和设计

考试列表

在这里插入图片描述

首页功能实现:

页面通过ListView加载考试列表数据,通过Adapter去适配数据

ListView<ListViewandroid:id="@+id/paperListViewId" android:layout_width="match_parent" android:layout_height="wrap_content"> </ListView>AdapterPaperAdapter adapter=new PaperAdapter(getActivity(),R.layout.paperlist_item,paperList);listView.setAdapter(adapter);

项目内容很多,一篇文档无法概述所有内容 如果需要咨询的小伙伴 加Q Q 25 79 69 26 06

试题支持 "选择题,填空题 判断题 简答题 "

学生项目考试解析:
在这里插入图片描述

项目功能实现:

//从后台 查询学生的考试试题,然后加载到android 中// Q Q2579692606 public void initData() {//获取参数 paperIdIntent intent = getIntent();Long paperId = intent.getLongExtra("paperId",0L);StuPaperQuestion stuPaperQuestion = new StuPaperQuestion();stuPaperQuestion.setId(paperId); stuPaperQuestion.setStuId(Long.parseLong(CommonUtils.getLoginUser(getApplicationContext()).getId()+""));//发送请求根据paperId 查询试题createPresenter().findQuestionsJxByPaperId(stuPaperQuestion);}//上一题 下一题 效果//上一题@OnClick(R.id.preBtn)public void preQ(View view){num = num -1;setQuestionUI();}//下一题@OnClick(R.id.nextBtn)public void nextQ(View view){num = num +1;setQuestionUI();}

项目内容很多,一篇文档无法概述所有内容 如果需要咨询的小伙伴 加Q Q 2579692606

学生考试测试

从后台查询所有的数据,然后加载到页面中,在测试的时候,点击提交之后,会自动进入下一题的测试。如图
在这里插入图片描述

功能实现

protected void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);//获取参数 paperIdIntent intent = getIntent();Long paperId = intent.getLongExtra("paperId",0L);//发送请求根据paperId 查询试题createPresenter().findQuestionsByPaperId(paperId); }后台查询测试试题: @RequestMapping("/front/paper/popPaper") @ResponseBodypublic ResultResponse popPaper(Paper paper){try {PaperGengerateVO examPapersVO = paperService.genPreviewPaperByPaperId(paper.getId());return ResultResponse.ok().put("data", JSON.toJSON(examPapersVO).toString());} catch (Exception e) {e.printStackTrace();}return ResultResponse.fail("操作失败");}

谢谢大家 感恩有您的阅读, 祝愿您生活灿烂如花

回帖
全部回帖({{commentCount}})
{{item.user.nickname}} {{item.user.group_title}} {{item.friend_time}}
{{item.content}}
{{item.comment_content_show ? '取消' : '回复'}} 删除
回帖
{{reply.user.nickname}} {{reply.user.group_title}} {{reply.friend_time}}
{{reply.content}}
{{reply.comment_content_show ? '取消' : '回复'}} 删除
回帖
收起
没有更多啦~
{{commentLoading ? '加载中...' : '查看更多评论'}}