📄 考文大学.txt
字号:
Title : Module Results Software
Using an object oriented approach , produce a piece of software, which displays the end of year results for a group of students.
The software must calculate and display the academic results for each moduleand then display the ‘year_result’ . The number of modules taken in each year is eight. For each module , the ‘ module_result ‘ can be calculated in 2 possible ways :
1,a combination of the coursework mark and the exam mark
2,coursework mark only
For the first of these options when the ‘ module_result ‘ is dependent on both the coursework mark and the exam mark then the ‘ module_result ‘ could be any of the following combinations :
exam_mark mean cw_mark
a) 70 30
b) 60 40
c) 50 50
The mean_coursework mark for any module is the average mark calculated from the marks of the individual pieces of coursework for that module. Note that there may be 1, 2 , 3 or 4 pieces of coursework for a module.
Displayed Results
1,For each module the software must display the following information :
module_title , module_code , exam_mark , coursework_mark , module_mark
2,For each student the information which must be stored and displayed , is as follows :
student_name
id_no
course_name
course_code
d_of_birth
year_of_study
fees_paid (t/f)
+ as stated above for each module :
the module name
the module id_no
the cousrework mark
the exam mark
the module mark
3,Finally a pass/fail mark is required for the year. Note that to pass a year a student requires a minimum of six module passes.
科目成绩程序:
进行一个有目的研究,编写一个程序,能够显示 一组 学生的年度总成绩。
这个程序必须 计算和显示 那学年每一个科目的年度总成绩,年度总成绩显示为‘year_result’
每年度的科目一共有八科!对于每一门科目 ,科目成绩‘ module_result ‘可以用以下两种方法计算:
1,平时成绩+ 考试成绩
2,考试成绩
而当科目成绩由 平时成绩 与 考试成绩 决定时(即第一种方法),科目成绩 可以由以下几种方法评定:
a, 考试成绩占70% 平时成绩占30%
b, 考试成绩占60% 平时成绩占40%
c, 考试成绩占50% 平时成绩占50%
平时成绩:
每一门科目 平时成绩 的评定则由 那一门科目的 作业 平均成绩决定。即它们可以为1——4篇 作业 的平均成绩决定。(篇数由你选择,1,2,3或者4篇都可以)
例:某科目的作业成绩为:作业1,70分 作业2, 50分 作业3, 60分
该科目的平时成绩则为:(70+50+60)/3=60分
成绩显示方式:
1,对于每一门科目 程序必须要显示下面的信息
module_title ,(科目的名字) 例:module_maths数学科 module_english 英语科
module_code ,(科目的代号) 例:module_a 1(代号a1) module_a 2(代号a2)
exam_mark , (科目的考试成绩)
coursework_mark ,(科目的平时成绩)
module_mark (科目的成绩)
2,对于每一位学生 以下信息 必须储存和显示:
student_name (学生姓名) 例:student_Tom , student_Jim
id_no (学生学号) 例:id_12, id_31
course_name (课程名字)
course_code (课程代号)
d_of_birth (出生年月)
year_of_study (学习年份)
fees_paid (t/f)( 需要交的费用)
+还要加上规定的上面所讲的每一门科目的信息
the module name (科目名称)
the module id_no (科目代号)
the cousrework mark(科目平时成绩)
the exam mark (科目考试成绩)
the module mark (科目成绩)
3,最后,必须显示每个学生的年度总成绩是 pass/fail (及格或者不及格) 一个学生如果要年度总成绩pass(及格),则他最低限度必须要有:六门科目的成绩pass(及格) 总共有八门科目。
注:pass(及格) 分数为40分,即每一门科目成绩取得40分以上就及格了。
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -