CAI教学软件中数据的分割

时间:2020-08-28 17:01:13 计算机毕业论文 我要投稿

CAI教学软件中数据的分割

摘要: 本文使用面向对象的高级语言Visual Basic6.0设计了一套既能编辑,又能应用于教学演示的高级CAI软件。使用本软件,用指定的格式输入CAI数据,并在其中设置断点;同时,用本软件进行播放,可实现模拟教学目的。本文着重论述了如何输入数据、分割数据和显示数据的算法。

Abstract:Using the advanced language Object Oriented -Visual Basic 6.0, the author developed a set of advanced CAI software, which can be used in data editing and teaching. This software can be used to input CAI data in assigned format and set breakpoints. At the mean time, it can be used to display data in order to realize the objective of simulated teaching. This article emphasizes on the algorithm of data input, data split and data display.

随着计算机的普及和网络技术的发展,计算机辅助教学(CAI)越来越受到人们的重视。但纵观目前流行的CAI软件,大多只能进行简单的放映,而不具备编辑能力,为数很少的几个能够编辑的软件,操作又很复杂,不能针对教学特点。基于此,作者设计了一个既能编辑,又能放映的CAI软件,该软件高度集成,易学易用。
1 数据的输入
数据的输入采用了类似超文本语言的方法,规定了若干关键字。如:“\”表示一个特定的指令的开始;又如:“\titl^2、光的`性质^”,titl:表示后边的内容是一条标题,位于“^……^”之间的数据为标题的内容,“^”为范围限定符。
所有的符号都可以在编辑状态下的屏幕上找到。如图一是编辑状态的一角,左边 图 1 编辑状态
为文字区,右边为指令区。 Fig.1 edit status 2 数据的分割
数据的分割分为两个步骤进行:
第一步:把文章以字形为根据分解成段落。字形的标识与命令标识相关。
程序如下:
'把整个一页分成若个段落
Public Sub FunDivide(ByRef SourceStr As String, ByRef Destination As String, ByRef Position As Integer, ByRef propName As String)
Dim ControllCode As String
Dim codCommand As String
1
Dim ss As String
Dim SourceLen As Long

SourceLen = Len(SourceStr)
Destination = ""

ControllCode = Mid(SourceStr, Position, 1)
If (ControllCode = "\") Then
Position = Position 1
codCommand = Mid(SourceStr, Position, 4)
propName = codCommand
Position = Position 4
codCommand = Mid(SourceStr, Position, 1)
If codCommand = "^" Then
Position = Position 1
ss = Mid(SourceStr, Position, 1)
Do While ss

【CAI教学软件中数据的分割】相关文章:

1.CAI技术在美术教学中的应用的论文

2.办公软件Excel中几个快速录入数据技巧

3.浅谈CAI在物理课堂教学中的优势论文

4.在《会计基础》教学中应用CAI的实践与探索论文

5.浅谈CAI对物理教学的影响

6.对中学地理CAI软件之设计和应用的思考论文

7.蒙医教学CAI运用论文

8.工业造型设计教学中CFD软件的应用

9.数控仿真软件在实习教学中的作用