Annotation of capa/capa51/Historic/bubbler.h, revision 1.2
1.2 ! albertel 1: /* scantron control progam header
! 2: Copyright (C) 1992-2000 Michigan State University
! 3:
! 4: The CAPA system is free software; you can redistribute it and/or
! 5: modify it under the terms of the GNU Library General Public License as
! 6: published by the Free Software Foundation; either version 2 of the
! 7: License, or (at your option) any later version.
! 8:
! 9: The CAPA system is distributed in the hope that it will be useful,
! 10: but WITHOUT ANY WARRANTY; without even the implied warranty of
! 11: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! 12: Library General Public License for more details.
! 13:
! 14: You should have received a copy of the GNU Library General Public
! 15: License along with the CAPA system; see the file COPYING. If not,
! 16: write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
! 17: Boston, MA 02111-1307, USA.
! 18:
! 19: As a special exception, you have permission to link this program
! 20: with the TtH/TtM library and distribute executables, as long as you
! 21: follow the requirements of the GNU GPL in regard to all of the
! 22: software in the executable aside from TtH/TtM.
! 23: */
! 24:
1.1 albertel 25: /*Get Form Errors*/
26: #define GFSUCCESS 100
27: #define GFFAILED 101
28: #define GFEOF 102
29: #define GFSPACES 103
30:
31: /*Check Form Errors*/
32: #define ESTID 201
33: #define ECLASSL 202
34: #define EPIN 203
35: #define ECLASS 204
36:
37: /*findPID Errors*/
38: #define ENONE 301
39: #define ENOONE 302
40:
41: /*questions array size*/
42: #define MAXQUEST 40
43:
44: /*grading stryles*/
45: #define KASHYMETHOD 1
46: #define MRTMETHOD 2
47: #define STRICT 3
48:
49: typedef struct
50: {
51: char answerPID[10];
52: char questionPID[10];
53: char class[9];
54: char SetId[6];
55: char PIN[7];
56: char Answers[50][6];
57: } Student;
58:
59: typedef struct
60: {
61: char type;
62: int leafs;
63: int points;
64: } Question;
65:
66: typedef struct
67: {
68: char PID[MAX_STUDENT_NUMBER];
69: int PIN;
70: } PIDPINlist;
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>