求C#版做考试系统源码或实现原理

lqss20 2005-04-08 08:59:00
如题,希望谁能给发一个C#做的考试系统源码及实现原理,主要是数据库设计,及随机出题算法等,最好带说明,越细越好,
本人邮箱:lqss20@163.com!!
...全文
1334 22 打赏 收藏 转发到动态 举报
写回复
用AI写文章
22 条回复
切换为时间正序
请发表友善的回复…
发表回复
IT小旋风 2005-04-13
  • 打赏
  • 举报
回复
操作题也是以类库的形式写入的,保存到数据库中。当考生输入学号时,会自动调出考题。当考生点击开始作题时,会直接到考生考号目录下,考生可以在此作题:如题目一、新建命名为student1、student2两个文件夹;二、在student1文件夹下建立一个名字为student3的文件夹;三、在student3的文件夹下建立一个名为a.txt的文件;四、将a.txt文件拷贝到student1文件夹下;五、将文件夹student3下的a.txt文件拷贝到文件夹student2目录下,并更名为b.txt 。有了这样的思路怎么样做应该比较清楚了吧。
IT小旋风 2005-04-10
  • 打赏
  • 举报
回复
做这种考试系统,我也做过,是在学校时做的。现在学校里的计算机基础考试都是用我做的;是基于C/S的。主要是学生通过学号和姓名验证之后随机抽题,题目是自己写的类库倒入到数据库之中,包括选择题、操作题、word、Excel、Powerpoint和网页制作题。系统自动计时,到时就自动交卷;自动评分功能,交卷之后管理员就可以看到学生的成绩!如果需要合作请联系:QQ:125750486
_-_-_-_- 2005-04-10
  • 打赏
  • 举报
回复
发给俺一份,非常感谢!
tttick@163.com
hawk234 2005-04-09
  • 打赏
  • 举报
回复
hawk234@163.com
谢谢
linghe0709 2005-04-08
  • 打赏
  • 举报
回复
哥哥,也给兄弟一个吧
jiayongli@goalsyn.com.cn
wh8254 2005-04-08
  • 打赏
  • 举报
回复
lqss20@163.com 和mahui_3687@163.com

已经发到二位邮箱,请查收
lqss20 2005-04-08
  • 打赏
  • 举报
回复
wh8254(为了俺老婆,努力写程序):能不能给我发源码
wh8254 2005-04-08
  • 打赏
  • 举报
回复
班主任登陆后,可以对学员进行一个管理,包括查删增改,也可以查看那次考试,那个班绩的成绩,包括考试人数,最高分,最低分,平均分,及格人数,及格率等等!
wh8254 2005-04-08
  • 打赏
  • 举报
回复
首先,我的试题库里面的题目分3种难度,老师在老师之前可以配置试题,譬如C语言,老师可以选择ABC三种难度的试题各有多少道,每种难度的试题是多少分,而且及格线是多少,考试时间为多长!
然后就会随机产生试题,产生一个关于该配置的标题!
学员登陆后,点击该标题的链接就开始了考试!
系统自动计时,到时候就自动交卷,自动判分!
学员在考试后可以看到到自己的考试试题,包括对的错的!
老师可以对比较典型的试题发表一些解析,学员可以发表自己的意见!
另外还有些新闻之类的,垃圾数据处理之类的功能!
wh8254 2005-04-08
  • 打赏
  • 举报
回复
我的实现原理:

该系统的权限,学生,老师,班主任,校长(或者说是主任之类的)

我们以前是给一个培训中心做的,主要是培训的学员在机房考试用!

学员可以自己注册登陆进行练习,每个学员进了学校,班主任将为其设一个用户名和密码,以供考试,考试的成绩老师可以统计,可以开权限给学员的用户名(班主任注册的那个),规定只能在什么时候可以用(应为成绩要统计,这样保证了统计的真实性),但是学员自己注册的那个就不用限制,随便自己什么时候用都可以!班主任管理学员,老师管理学习课目!
lqss20 2005-04-08
  • 打赏
  • 举报
回复
表的字段有的不太明白,光有表也不行呀
wh8254 2005-04-08
  • 打赏
  • 举报
回复
我以前做的系统的数据库,给大家贴一个,现在看来那套系统不是很好,大家别见笑
create table usertable --创建普通用户表
(u_id int identity(1,1) primary key,
u_username varchar(20) not null,
u_pwd varchar(8) not null,
u_name varchar(10) not null,
u_class varchar(7),
u_sex char(2) not null check(u_sex='男' or u_sex='女'),
u_no varchar(10),
u_date smalldatetime not null,
u_estate int default(0) not null
)
go

create table admintable --创建管理员表
(a_id int identity(1,1) primary key,
a_adminname varchar(20) not null,
a_pwd varchar(8) not null,
a_name varchar(10) not null,
a_sex char(2) not null check(a_sex='男' or a_sex='女'),
a_status varchar(10) not null,
a_date smalldatetime not null
)
go

create table subject --创建科目管理表
(sub_id int identity(1,1) primary key,
sub_subject varchar(20) not null,
sub_grade varchar(20) not null,
sub_date smalldatetime,
a_id int,
foreign key(a_id) references admintable
)
go

create table theme --创建试题表
(t_id int identity(1,1) primary key,
t_question text not null,
t_answer text not null,
t_rightanswer varchar(10) not null,
t_diff char not null,
t_chapter varchar(30),
t_analyse text,
t_date smalldatetime null,
t_haveselect int default(0) not null,
sub_id int not null,
t_number int,
foreign key(sub_id) references subject
)
go

create table collocate --创建试题配制表
(c_id int identity(1,1) primary key,
a_id int,
c_title text not null,
sub_id int,
c_acount int,
c_bcount int,
c_ccount int,
c_acent int,
c_bcent int,
c_ccent int,
c_sum int,
c_pass int,
c_time int,
c_date smalldatetime,
c_themesum text,
c_estate int,
foreign key(a_id) references admintable,
foreign key(sub_id) references subject
)
go

create table idea --创建试题意见表
(i_id int identity(1,1) primary key,
t_id int not null,
i_idea text,
u_id int not null,
i_date smalldatetime not null,
foreign key(t_id) references theme,
foreign key(u_id) references usertable
)
go

create table headexam --创建考试表(主表)
(h_id int identity(1,1) primary key,
u_id int not null,
c_id int not null,
h_date smalldatetime not null,
h_grade varchar(8),
h_subject varchar(15),
foreign key(u_id) references usertable,
foreign key(c_id) references collocate
)
go

create table exam --创建考试表(从表)
(h_id int,
t_id int,
e_answer varchar(10),
e_cent int,
foreign key (h_id) references headexam,
foreign key (t_id) references theme
)
go

create table success --创建成绩表
(s_id int identity(1,1) primary key,
u_id int not null,
h_id int not null,
s_succ int,
foreign key(u_id) references usertable,
foreign key(h_id) references headexam
)
go

create table new --创建新闻表
(n_id int identity(1,1) primary key,
n_title text,
n_content text,
a_id int,
foreign key(a_id) references admintable
)

create table sheadexam --创建考试表2(自己注册的用户使用)
(sh_id int identity(1,1) primary key,
u_id int,
sub_id int,
sh_acount int,
sh_bcount int,
sh_ccount int,
sh_acent int,
sh_bcent int,
sh_ccent int,
sh_sum int,
sh_pass int,
sh_time int,
sh_themesum text,
sh_date smalldatetime,
foreign key(u_id) references usertable,
foreign key(sub_id) references subject
)
go

create table sexam --创建考试从表2(自己注册的用户使用)
(sh_id int,
t_id int,
se_answer varchar(10),
se_cent int,
foreign key(sh_id) references sheadexam,
foreign key(t_id) references theme
)
go

create table ssuccess --创建成绩表2(自己注册的用户使用)
(ss_id int identity(1,1) primary key,
u_id int,
sh_id int,
ss_succ int,
foreign key(u_id) references usertable,
foreign key(sh_id) references sheadexam
)
go

create table class --创建班级管理表
(cla_id int identity(1,1) primary key,
cla_name varchar(20),
a_id int,
cla_date smalldatetime,
foreign key(a_id) references admintable
)
go
tangyong12 2005-04-08
  • 打赏
  • 举报
回复
我以前用ASP做过一个在线考试系统,基本上跟你的需求差不多.其实随即算法应该算比较简单.你可以先把试题分成几类,比如容易题,较难题,难题等,然后根据随即函数分别从三类试题中抽取试题.
提交试卷马上得出分数应该也算是比较简单的.因为在设计数据库时肯定每一题都有分数及答案一一对应.
暗石绿 2005-04-08
  • 打赏
  • 举报
回复
Mark
lqss20 2005-04-08
  • 打赏
  • 举报
回复
要求是,C/S或B/S都可以,我主要是想知道实现原理,及具体设计,功能是:随机出题,交卷就出成绩,在没交卷时,可以查看并修改做过的题,不会的题可以做个标记,做完后可以再回过头做不会的。
maitianyou1 2005-04-08
  • 打赏
  • 举报
回复
我也正在做C#做的考试系统程序,不过不怎么会做。。。
如果有的话 ,也给我发一分。
万分感谢。。。
邮箱:mahui_3687@163.com

lqss20 2005-04-08
  • 打赏
  • 举报
回复
能不能给我发一份呢
wh8254 2005-04-08
  • 打赏
  • 举报
回复
楼主,我做过一套考试系统,B/S的,随机出题!不过很小的系统!
主要看你有些什么需求?
maitianyou1 2005-04-08
  • 打赏
  • 举报
回复
谢谢。。。
unp 2005-04-08
  • 打赏
  • 举报
回复
mr.liwg@tom.com
学习学习,谢谢!
加载更多回复(2)

110,536

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧