摘要
在心里测评中,由于问卷种类繁多、计算公式不确定,使得通过硬编码将逻辑固定在可执行程序中的处理方式难以适应。通过对项目功能的分析,采用原型法,先分析了几种类型的心理问卷及其分析方法,使用XML格式来描述目标数据格式。通过搭建原始的脚本模型,发现采用可Lua嵌入式脚本的方法能够满足该项目的要求。
There are many kinds of questionnaires in the psychology test and assessment. The computation formulae are always indeterminate, so it is not suitable that the logic is fixed in executive programs through hard-coding. According to the analysis of project function, several kinds of psychology questionnaires and their analysis methods were researched using prototype analysis method, and the target data were described with XML. Through the construction of the original script module, the embedded Lua script can satisfy the project demands.
出处
《辽宁石油化工大学学报》
CAS
2007年第2期69-71,共3页
Journal of Liaoning Petrochemical University