Professional Documents
Culture Documents
Scope of distribution
1. All members of LrnEnv project.
Revision history
Version By 1 Songrit Changes/comments Created Date dd/mm/yyyy
Version 1
Page 1 (23)
LrnEnv Project
1. Introduction
Table template Column Data type Description Possible values
Name of the curriculum in English Name of the curriculum in Thai First semester that the curriculum becomes effective Last semester that the curriculum is used Last update time of the curriculum, including course listing and TQF requirement Other information on Curriculum
Document filename LrnEnvDB.doc
Version 1
Page 2 (23)
LrnEnv Project
TQFState
char-1
State on TQF-related data of the course. The value here only applies to TQF related data of the course. Only the content manager of the department that hosts the course can change this state. This is to prevent the problem of locking/unlocking a
Document filename LrnEnvDB.doc
Either free text or integer (hrs/week) Either free text or integer (hrs/week) Either free text or integer (hrs/week) Either free text or integer (hrs/week) LrnEnv defined, FK. For example 'l' Laboratory style 't' Teach/lecture based 'p' Problem based 'l' Locked, only content manager can edit the TQF related data 'u' Unlocked, course owner can edit TQF related data
Version 1
Page 3 (23)
LrnEnv Project
general course in many curricula of many departments. Strategy of course evaluation by student (part of TQF.3) Strategy of teachning evaluation (part of TQF.3) Outcome standard review (part of TQF.3) Performance improvement review and plan (part of TQF.3) UnivId of the person who makes the last update to course or outcomes of to course Last update time
JoinPolicy
char-1
LrnEnv Project
Join password Number of registered students Number of other active students (e.g. sit-in)
'o' Self register, open to everybody 'p' Self register, using class password to join 'r' Self register, must be approved by instructor 16-bytes hash of password
The value of fields Dept, Code, Title, Type are derived from COURSE table for performance
Joining status Bit array of weeks that the instructor involves in the class Load of the instructor from 100% Last time instructor accessed the class Time instructor joined the class Time instructor left the class
Description
Document filename LrnEnvDB.doc
Possible values
Version 1 Page 5 (23)
LrnEnv Project
ClinkId ClassId
autoint int
Joining status Last time student accessed the class Time student joined the class Time student left the class
0 Not using day (using date) 1 Monday 2 Tuesday 3 Wednesday 4 Thursday 5 Friday
Version 1 Page 6 (23)
LrnEnv Project
6 Saturday 7 Sunday FromDate UntilDate Recur Location Activity Date Date char-1 vchar char-1 Start date range End date range Recurring pattern Location of the event Activity type
'o' One time 'w' Weekly Free text LrnEnv defined FK. For example, 'c' Class cancelled 'h' Office hour 'l' Laborary 's' Tutorial session 't' Lecture/Teach
LrnEnv Project
Material Id Class dependent description of the material Bit array of weeks that material is used in class Time the material is linked to the class Time the material is last updated Folder that material is contained
FK.MATERIAL.MatId Free text Bit array of 24 bits, first bit represents the first week 0 Not used 1 Used Must be >= Created FK.CLASS_MATERIAL_FOLDER.CFoldId
OS_CACHE[OsId, ] Information about caching information of a particular course Column Data type Description
Last modified on dd/mm/yyyy Document filename LrnEnvDB.doc
Possible values
Version 1 Page 8 (23)
LrnEnv Project
In this section, there are 2 other sets of tables with the same schemas, prefixing with OLD_ and ARC_ stands for old and archive. Old set stores information about courses in previous semesters but still visible for users. Archive set stores information about courses in long-past semesters and not visible to all users.
'f' Supporting staff 'i' Instructor 's' Student 'e' English 't' Thai 'a' Allow normal access, no block 'b' Blocked cannot login 'p' Partially blocked, can login and retrieve own profile, but cannot participate in any class
LastLogin*
DateTime
Version 1
Page 9 (23)
LrnEnv Project
UUID of the photo of user Permanent address Current address Primary email Secondary email Primary phone number Secondary phone number Social network link #1 Social network link #1
Free text
Description Material Id University Id Class Id, material can be accessed by either class-associated or user-associated page User Id, material can be accessed by either class-associated or user-associated page Time of last access Number of accesses Various flags on the material from user view
Document filename LrnEnvDB.doc
Possible values FK.MATERIAL.MatId FK.USER.UnivId 0 if accessing non-class-associated material FK.CLASS.ClassId 0 if accessing non-user-associated material FK.USER.UnivId Null If never accessed 0 Never access Positive integer bit encoded 0 means such flag is unset
Version 1 Page 10 (23)
LrnEnv Project
Rate Note
smallint vchar
1 means such flag is set 1st LSB Important 2nd LSB Get back later 3rd LSB Like 4th - 8th LSB bit LrnEnv defined FK. , all set to 0 -1 Not yet rated 0-5 0 to 5 stars
READ_CLASS_ANNOUNCE: Information about the class announcement that has been read by user
Column CAnnId UnivId Data type int int Description Class announcement Id University Id Possible values FK.CLASS_ANNOUNCE.CAnnId FK.USER.UnivId
Version 1
Page 11 (23)
LrnEnv Project
2.3 Material
MATERIAL: Information about a piece of material or object
Column MatId Title Desc MatType Size Path Revision NumLinks Created Updated Owner Data type autoint vchar vchar smallint autoint uuid smallint smallint DateTime DateTime int Description Material Id Title of material Additional description of the material Material type Size of the material (in KiloBytes) Path in the system to the material, it can be a single file or directory of files Revision of the material Number of links on this material Time the material (regardless of the revision) is created Time the material is last updated UnivId of the owner Possible values Positive integer
FK.MATERIAL_TYPE Positive number if material is stored as files 0 other types of materials (link, physical book, etc.) If material does not have associate files, uuid = all 0's Positive integer Non-negative Must >= Created
Possible values FK Bit array of 24 bits, first bit represents the first week
Version 1 Page 12 (23)
LrnEnv Project
Title Desc FileName FileSize FilePath URL Type MinMember MaxMember MaxSubmit MaxScore Weight Publish PublishOrder PostBy PostDate DisplaySince DisplayUntil DueDate
vchar vchar vchar-255 int uuid vchar char smallint smallint smallint fixed(4.2) fixed(3.2) char-1 smallint int DateTime DateTime DateTime DateTime
Probably covering assignment, progress report, submission, demo, etc. It is up to the instructor to which weeks to check Title of the assignment Description File name of the attached file (once user downloads it) File size information (in KiloBytes) File path in the system URL to external content or information Type of assignment Minimum number of members in a group Maximum number of members in a group Maximum number of submissions Maximum score on this assignment Weight of this assignment toward overall 100-points Whether the score is published, visible to students The published order that appears to users (sort order in score announcement page) UnivId of poster Timestamp of posting Start of announcement display End of announcement display Due timestamp of the assignment
0 Unassigned 1 Assigned Free text Free HTML text 255 character filename Positive integer UUID URL LrnEnv defined FK. (Self test, Homework, Exam, Quiz, ) 1-255 1-255 0 : no need to submit the assignment 1-255: number of submissions allowed Non-negative number Non-negative number 'y' Published, students will see own score 'n' No, only instructor(s) will see scores of students Positive integer FK.USER Must be >= PostDate Must be > DisplaySince Must be > DisplaySince
Description Assignment group Id Assignment Id Group name UnivId of group lead Submission flag
Document filename LrnEnvDB.doc
Possible values Positive integer FK.ASSIGNMENT Free text 0 if there is no lead (for example, when created by instructor) FK.USER 'y' Already submitted the assignment
Version 1 Page 13 (23)
LrnEnv Project
Version 1
Page 14 (23)
LrnEnv Project
UnivId of the instructor who grades this assignment Short note on the score Last update time of the score
Must be <= ASSIGNMENT.MaxScore of this assignment May be negative bit encoded 0 means not distribute to specific group 1 means distribute to group 1st LSB Special attention needed 2nd LSB Great job 3rd LSB Contact instructor 4th - 8th LSB bit LrnEnv defined FK. , all set to 0 FK.USER Free text
GRADE: Information about received grade for each class and each student
Column Student Class Grade Score AddBy Updated Comment Data type int int char-2 fixed(3.2) int DateTime vchar Description UnivId of the student who earns the grade Earned grade Final out of 100 score UnivId of the instructor who enters the grade Last update time of the grade Comment from instructor Possible values FK.USER Valid grade such as 'A', 'B+' FK. (meta data) 0 By auto grade generation FK.USER Free text
Version 1
Page 15 (23)
LrnEnv Project
2.5 Social
ANNOUNCE: Information about global announcement
Column AnnId TitleEn TitleTh DescEn DescTh URL PostBy PostDate DisplaySince DisplayUntil Scope Data type autoint vchar vchar vchar vchar vchar int DateTime DateTime DateTime char-1 Description Announce Id Title in English Title in Thai Detailed description in English Detailed description in Thai URL to the external content or information UnivId of poster Timestamp of posting Start of announcement display End of announcement display Scope of distribution Possible values Positive integer Free text Free text Free HTML text Free HTML text URL FK. Must be >= PostDate Must be > DisplaySince bit encoded 0 means not distribute to specific group 1 means distribute to group 1st LSB Student group 2nd LSB Instructor group 3rd LSB Guest group 4th - 8th LSB bit Undefined, all set to 0 LrnEnv defined FK. (System related, University related,) LrnEnv defined
Type Effect
char-1 char-1
Version 1
Page 16 (23)
LrnEnv Project
DefineDept Sharable UpdatedBy Updated Order L1Achieve L2Achieve L3Achieve L4Achieve L5Achieve
smallint char-1 int DateTime int vchar vchar vchar vchar vchar
Department and level of outcome definition. It affects the mandatory requirement. If it is defined at university level, it is mandatory for every curriculum, otherwise it is optional. If the outcome can be shared by other departments. If DefineDept = 0 (university wide), this column must be sharable UnivId of the person who makes the last update Last update time Order of outcome in group, new outcome is appended at the end (for displaying in list) Description of level 1 achievement of this outcome (lowest level of achievement) Description of level 2 achievement of this outcome Description of level 3 achievement of this outcome Description of level 4 achievement of this outcome Description of level 5 achievement of this outcome (highest level of achievement)
0 if it is at university wide level FK.DEPARTMENT.DeptId 'y' Yes, can be shared 'n' - No, cannot be shared FK.User.UnivId Positive number, order values unique within group Free text Free text Free text Free text Free text
0 if it is at university wide level FK.DEPARTMENT.DeptId 'y' Yes, can be shared 'n' - No, cannot be shared FK.User.UnivId Positive number, order values unique within group
Version 1
Page 17 (23)
LrnEnv Project
DEPT_OUTCOME_SET: Information about learning outcome selected by a department to be in its pool of outcomes
Column DeptId LrnOutId Data type smallint smallint Description Department Id Learning outcome Possible values FK.DEPARTMENT.DeptId FK.LEARN_OUTCOME.LrnOutId
Order
smallint
Description
Document filename LrnEnvDB.doc
Possible values
Version 1 Page 18 (23)
LrnEnv Project
Learning assessment Id Name of the assessment Description of assessment UnivId of the person who makes the last update Last update time
COURSE_OUTCOME: Information about learning outcome and its desired level in each course
Column COutId CrsId CurId LrnOutId Level Involvement Data type autoint int smallint smallint smallint smallint Description Course outcome Id Course Id Curriculum that outcome is defined. This column is needed since a course can be shared among different curriculums, each has different set of outcomes Required learning outcome. Expected level of learning outcome Involvement level of this course on this outcome. Corresponding to blank, hollowed circle, solid circle on report Possible values Positive integer FK.COURSE.CrsId FK.CURRICULUM.CurId FK.LEARN_OUTCOME.LrnOutId LrnOutId must be in a row of LEARN_OUTCOME_CUR that has the same CurId 1-5 where 1 is the lowest and 5 is the highest level 0 none 1 minor 2 major
CLASS_WEEK_OUTCOME: Information about which week(s) a desired learning outcome is achieved in class
Column ClassId LrnOutId WeekAchieved Data type int smallint char-3 Description Class Id Learning outcome. Should be one of outcomes defined in COURSE_OUTCOME that the Class belongs to. Bit array of weeks that the learning outcome is achieved in the class Possible values FK.CLASS.ClassId FK.LEARN_OUTCOME.LrnOutId Bit array (24 bits), the first bit represents the first week 0 Not archieved 1 Achieved
Version 1
Page 19 (23)
LrnEnv Project
CLASS_OBJECTIVE: Information about which an behavioral objective that student should achieve in class
Column CObjId ClassId Objective Week UpdatedBy Updated Data type autoint int vchar char-3 int DateTime Description Class objective Id Class Id Description of behavioral objective Bit array of weeks that objective is due to achieve by students UnivId of the person who makes the last update Last update time Possible values Positive integer FK.CLASS.ClassId Free text Bit array (24 bits), the first bit represents the first week 0 Not used 1 Used FK.User.UnivId
Last modified on
LrnEnv Project
3. Metadata, variables
3.1 Data, metadata used by other main concepts
MATERIAL_TYPE: Information about the properties of each material type
Column MTypeId TypeEn TypeTh Streamable Downloadable Sharable Printable Commentable Data type autoint vchar vchar char-1 char-1 char-1 char-1 char-1 Description Material type Id Name of material type in English Name of material type in Thai Whether the materials of this type can be streamed Whether the materials of this type can be downloaded Whether the materials of this type can be shared Whether the materials of this type can be printed Whether the materials of this type can be commented Possible values Positive integer
'y', 'n' Yes, No 'y', 'n' Yes, No 'y', 'n' Yes, No 'y', 'n' Yes, No 'y', 'n' Yes, No
LrnEnv Project
FK.FACULTY.FacId
Version 1
Page 22 (23)
LrnEnv Project
4. GUI
5. Activities, logging
Version 1
Page 23 (23)