Upload
jemima-stone
View
213
Download
0
Embed Size (px)
Citation preview
Online Scoring System& Reference Table Updating
System for PE of NCU
Presented by Chung-lien Tseng
Date: 10/28, 2004
Online Scoring System 2
Outline Introduction Requirement Analysis Evaluation of Alternatives VBA Introduction Database Design Algorithm of Reference Table Problems and Solutions System Structure and System Display Limitations and Constraints Conclusion
Online Scoring System 3
Introduction It was a one-year project for MIS students of NCU Objectives
Provide an online system (for equipment & place management) for PE office
Facilitate the process of scoring Target users
Teachers of PE Students Administer of the system
My job-Online Scoring System
Online Scoring System 4
Outline Introduction Requirement Analysis Evaluation of Alternatives VBA Introduction Database Design Algorithm of Reference Table Problems and Solutions System Structure and System Display Limitations and Constraints Conclusion
Online Scoring System 5
Requirement Discovery
Teachers have to calculate the average score and then fill in the official form
Past grades can’t be saved and checked Some test items of PE don’t have real
scores, such as triple jump, running The reference table of converting test
grades into scores of percentage is difficult to be updated, and the data is old
Online Scoring System 6
Requirement Analysis
To maintain the reference table and take the ability of current students into account Reference Table Updating System
To facilitate the process of scoring and keep the past student grades on file Online Scoring System
Online Scoring System 7
Outline Introduction Requirement Analysis Evaluation of Alternatives VBA Introduction Database Design Algorithm of Reference Table Problems and Solutions System Structure and System Display Limitations and Constraints Conclusion
Online Scoring System 8
Evaluation of Alternatives
Use Internet Programming Language For Reference Updating System
Internet Programming LanguageASPASP.NET
For Online Scoring System Excel with VBA Internet Programming Language (ex: ASP, ASP.NET,
script languages)
Online Scoring System 9
Why Did I Choose Excel
Most of PE teachers are normal users, so the system must be easy to use
The scoring system needs lots of fields to be filled in grades, and some fields need to be frozen
The scoring system needs a mechanism to transform grades of test into percentage scores automatically
Online Scoring System 10
Why Did I Choose Excel (Cont’d))Excel with VBA ASP, Script
languages…
Easy to learn and use
Almost all PE teachers can use Excel
With good interface, it’ll be easy to use
Need many writable fields
Excel interface is composed of table
Insufficient knowledge to do that
Need to transform score automatically
Can use Excel’s formula function to achieve
Large volume in-time transformation takes lots of system resource
Online Scoring System 11
Outline Introduction Requirement Analysis Evaluation of Alternatives VBA Introduction Database Design Algorithm of Reference Table Problems and Solutions System Structure and System Display Limitations and Constraints Conclusion
Online Scoring System 12
VBA Introduction
VBA stands for Visual Basic Application Similar to VB Built in every AP of Microsoft Office (Word,
Excel…) What’s different with macro?
A VBA project may contains several macros Macro: a public sub-process with no parameter Macro can be created by either “macro
recorder” or “Visual Basic Editor”
Online Scoring System 13
Pros and Cons of VBA
Pros Facilitate the use of Microsoft Office
Record (compile) a repetitive job as macro, so that we only have to load the macro every time we need to do that job
Cons Macro may be a malicious program
To avoid being attacked, we can set the security level to “High” or “Medium”
Digital Signature
Online Scoring System 14
Outline Introduction Requirement Analysis Evaluation of Alternatives VBA Introduction Database Design Algorithm of Reference Table Problems and Solutions System Structure and System Display Limitations and Constraints Conclusion
Online Scoring System 15
ER Modelteacher
(account)
course
student
teach
enroll
test
testitem
refmeta
reftable
generate
include
containtake
link
teachclass
score
Online Scoring System 16
Database Design Online Score System
account teacherName, id, password
teachclass teacherName, courseName
course courseName, courseId, class
student studentNo, studentName, studentGender, studentDept, studentGrade
score studentNo, courseName, score
testitem courseName, itemNo, item, itemPercent
test courseName, studentNo, itemNo, testScore
Online Scoring System 17
Database Design (Cont’d)
Reference Table Updating System testitem
courseName, itemNo, item, itemPercent
reftableitem, result, gender, refScore
refmetaitem, gender, measure, refSize, refMean, refStd, refS
izeStd2, refSizeMean2, refSizeMean
Online Scoring System 18
Outline Introduction Requirement Analysis Evaluation of Alternatives VBA Introduction Database Design Algorithm of Reference Table Problems and Solutions System Structure and System Display Limitations and Constraints Conclusion
Online Scoring System 19
Reference Table Algorithm
Based on past data Average grades of current student have
most of percentage of new reference table Use the original algorithm of old system to
generate new reference table
Online Scoring System 20
Reference Table Algorithm (Cont’d)
Algorithm Input of algorithm: mean( ), std (S) of all grades To calculate joint and S of old and new data, we
need , , and for
i=I means the old reference table data
X
Xni
XnSnXn
nXn
newnewS
Xnew
i
iiii
i
ii
222
Xn ii Xn ii
2 Sn ii
2
Online Scoring System 21
Reference Table Algorithm (Cont’d)
Range of real score: 40~100 (40 is the lowest score of PE in NCU)
Slope: relation between test grades and scores>0triple jump; <0running
Set Upper Bound (UB): a range be deducting later
UB= 4* S (UB= if UB> ) st is a decided parameter for every score range
If the slope>0 between test grades and scores, i.e. direction ratio, st decreases when score increases; otherwise, st increases when score increases
X X
Online Scoring System 22
Reference Table Algorithm (Cont’d) Example
slope>0, i=score
for i=41 to 100if i>40 and i<51 then
st=0.135 * stdelseif i>50 and i<61 then
st=0.13 * stdelseif i>60 and i<66 then
st=0.125 * stdelseif i>65 and i<71 then
st=0.12 * stdelseif i>70 and i<76 then
st=0.115 * stdelseif i>75 and i<81then
st=0.11 * stdelseif i>80 and i<86then
st=0.105 * std
elseif i>85 and i<89 then st=0.1 * std
elseif i>88 and i<92 then st=0.095 * std
lseif i>91 and i<95 then st=0.09 * std
elseif i>94 and i<98 then st=0.085 * std
elseif i>97 and i<101 then st=0.08 * std
end if
ub=ub-stscore(i)=mean-ub
next
score
test grade
ub curve0
score(i) curvemean grade
65
4.6m
Triple jump
Online Scoring System 23
Outline Introduction Requirement Analysis Evaluation of Alternatives VBA Introduction Database Design Algorithm of Reference Table Problems and Solutions System Structure and System Display Limitations and Constraints Conclusion
Online Scoring System 24
System Flowchart
Online Scoring System
Log inChoose course & Scoring mode
resetmodify
Set test items and %
Enter Excel & start scoring
Save
Leave
Leave & scoring another course (re-log in)
Add or delete items
Online Scoring System 25
Problems
1. How to transform test grade into score immediately?2. How to tell whether a test item needs the reference table?3. How to renew the scores if relative reference table has
been updates?4. How to control or jump to a given field of column?5. How to transmit data (ex: teacher’s name, course name,
etc.) from webpage to Excel?6. Where to put the Excel program (at server or client)?
Online Scoring System 26
Solution 1
How to transform test grade into score immediately?
1. Save reference tables in database
2. Load required reference tables at the beginning and when needed
3. Use Excel’s built-in “VLOOKUP()” formula to convert test grade into score
Online Scoring System 27
Solution 2
How to tell whether a test item needs the reference table?
1. Use Combo Box to list all referenced test items when choosing test items
2. If the listed item is selected link to relative reference table
3. If the teacher types test item himself a normal test item
Online Scoring System 28
Solution 3
How to renew the scores if relative reference table has been updates?
1. Only record the original test grades when saving file
2. Auto-transform into percentage scores on scoring (i.e. open Excel)
3. Scores can’t be renew immediately if administer updates the reference while someone is scoring
Online Scoring System 29
Solution 4
How to control or jump to a given field of column?
1. Naming some special fields and every column
2. A column is named after item number or data type (stdno, gender…) it is filled
3. Use Excel’s ‘Range(“name”)’ function to control whole column
Online Scoring System 30
Solution 5
How to transmit data (ex: teacher’s name, course name, etc.) from webpage to Excel?
1. Record information needed into database while interface is changing from webpage to Excel
• Add a new table “scoreLog” with fields “ipAddress”, “teacherName”, “courseName”, “status”…
2. After opening Excel, running “ipconfig” command by Excel function to get IP address
3. According the IP of the teacher, retrieve required information from database
Online Scoring System 31
Solution 6
Where to put the Excel program (at server or client)?
1. The Excel program is saved at server1. Easy to maintain
2. Prevent Excel program from being destroyed
3. More mobility
2. Side effect“Read only” dialog shows when 2 teachers score at the same time
Online Scoring System 32
Outline Introduction Requirement Analysis Evaluation of Alternatives VBA Introduction Database Design Algorithm of Reference Table Problems and Solutions System Structure and System Display Limitations and Constraints Conclusion
Online Scoring System 33
Reference Table Updating System
Log in
Choose update mode (add item or update)
add new item
just update
Set new item information (ex: name, measure unit, slope)
Preview updated reference table
Update reference table
Choose items to be updated
Note: This system is available only with 2 weeks after school opens.
Online Scoring System 37
Online Scoring System
Log inChoose course & Scoring mode
resetmodify
Set test items and %
Enter Excel & start scoring
Save
Leave
Leave & scoring another course (re-log in)
Add or delete items
Online Scoring System 42
Outline Introduction Requirement Analysis Evaluation of Alternatives VBA Introduction Database Design Algorithm of Reference Table Problems and Solutions System Structure and System Display Limitations and Constraints Conclusion
Online Scoring System 43
Limitation and Constraints
System Online Scoring System can only be run in Excel 2002
and above Insufficient security for student data and scores The VBA won’t work if user doesn’t agree it to run—
need trusted digital signature The transfer process between webpage and Excel is
rough Data of reference table are not abundant enough
Online Scoring System 44
Limitation and Constraints (Cont’d)
External Environment Can’t integrate with system of Office of
Academic Affairs Communication with end user is not enough Immature programming technique
Online Scoring System 45
Outline Introduction Requirement Analysis Evaluation of Alternatives VBA Introduction Database Design Algorithm of Reference Table Problems and Solutions System Structure and System Display Limitations and Constraints Conclusion
Online Scoring System 46
Conclusion
It an unfinished project In the future
Move all scoring system on the Internet Emphasize on the security of system and
database Enhance system performance