Annotation of capa/capa51/WhatsNew, revision 1.1.1.1

1.1       albertel    1: 
                      2: Parser
                      3:   1. Formula answer type 
                      4:      /LET p[1] = "0.001,0.2,0.3"  // this has to be a string because of multiple values. 
                      5:      /LET p[2] = "0.002,0.4,0.6"  // 
                      6:      /LET p[3] = "0.003,0.6,0.9"  // 
                      7:      /LET p[4] = "0.004,0.7,1.2"  // 
                      8:      
                      9:      /LET pt = "1.3,4.5,8.9,0.3,5.8"
                     10:      
                     11:      /LET pt2 = "1.2" + "," + pt  // "1.2,1.3,4.5,8.9,0.3,5.8"
                     12:      
                     13:      /ANS(fm, evaluate = <m,g,theta @ pt,p[4],p[1],p[2]> , STR=FML, TOL=0.001)
                     14:      
                     15:      /ANS(fm, Evaluate = < "x,y,z" @ pt1:pt2#5,p[4],p[1],p[2]> , STR=FML, TOL=0.00001)
                     16:      
                     17:      /LET v_str = "x,y,z"
                     18:      
                     19:      /ANS(fm, Eval = < v_str @ pt1:pt2#5,p[4],p[1],p[2]> , STR=FML, TOL=0.00001)
                     20:      
                     21:      
                     22:      // generate uniformly 5 pts fom pt1 and pt2
                     23:      
                     24:      /LET fm = "x^2 + y^2"
                     25:      /LET v_str = "x,y"
                     26:      /LET pt[1] = "0.5,0.5"
                     27:      /LET pt[2] = "1.0,1.0"
                     28:      
                     29:      
                     30:      
                     31:      //  TOL can be an absolute value, which indicates that the student input will be 
                     32:      //    combined with the exact answer to form a formula of the form
                     33:      //    (fm) - (input)  and evaluated at specified point coordinates. 
                     34:      //    the evaluated value is then compared against the tolerance specified
                     35:      
                     36:      /ANS(fm, Eval = < v_str @ p[1]> , STR=FML, TOL=0.00001)
                     37:      
                     38:      //  TOL can be a relative value, as indicated below, which specifies the way
                     39:      //     to evaluate the formula as
                     40:      //     (input)/(fm) 
                     41:      //     the absolute value of this formula is compared against 1.0001 
                     42:      // 
                     43:      
                     44:      /ANS(fm, evaluate = < "x,y" @ p[1],p[2]> , STR=FML, TOL=0.01%)
                     45:     
                     46:      // at this point, the number of variables in v_str MUST match the number of 
                     47:      // values specified in pt
                     48:      // 
                     49:      
                     50:      // There are two ways to specify a range of point coordinates:
                     51:      
                     52:      /LET five_points = "0.1,0.1:1.5,1.5#5"
                     53:      /LET pt_start = "0.1,0.1"
                     54:      /LET pt_end   = "1.5,1.5"
                     55:      /LET pt_cnt   =  5
                     56:      
                     57:      
                     58:      /ANS(fm, eval = < "x,y" @ five_points, pt_start : pt_end # pt_cnt > , STR=FML, TOL=0.01%)
                     59: 
                     60:      Example: 
                     61:      
                     62:      Enter the formula describing
                     63:       force between an object of mass m and an object of mass M with distance r meter apart:
                     64:      (Use G as the gravitational constant)
                     65:      
                     66:      /LET fm = "G*(1/r^2)*(m*M)"
                     67:      
                     68:      /LET pt1 = "0.2,0.3,9.806"
                     69:      /LET pt2 = "1.0,2.0,9.806"
                     70:      /LET pts_cnt = 20
                     71:      /ANS(fm,STR=FML,eval = <"m,M,G" @ pt1 : pt2 # 20>, TOL = 0.00001)
                     72:      
                     73: 
                     74: 
                     75: 
                     76:      
                     77:      
                     78:      
                     79:   2. 
                     80: 
                     81: 
                     82: 
                     83: 
                     84:   3. Installation script
                     85:      Assumption: 
                     86:         Grader 
                     87:         Quizzer
                     88:         capalogin
                     89:         capahtml
                     90:         capautils
                     91:         class directory
                     92:         
                     93:      
                     94: http://wmm.coe.ttu.edu/ieee_trans_ed/nov99/instructions.htm
                     95: 
                     96:    3. Item Response Annotation Syntax 
                     97:       For each problem, we need
                     98:         date and time
                     99:         class and school 
                    100:         
                    101:         # total number of students that should have tried this problem
                    102:         # of students who actually tried this problem
                    103:         # of correct
                    104:         # of incorrect
                    105:         
                    106:         raw score distribution of students that have correct answer of this problem
                    107:         raw socre distribution of students that have incorrect answer of this problem
                    108:         
                    109:         The syntax of item response analysis
                    110:         /IRA(DATE;)
                    111:         
                    112:         
                    113:         /IRA(1999/3/1,12:45;
                    114:         
                    115:         
                    116: 
                    117: 
                    118: July 15, 1999
                    119: 
                    120: 1. Web interface 
                    121:    Next link like top link
                    122:    equation answers use large text box
                    123:    -H works so that output can be viewed through web browser
                    124:    
                    125: 2. New functions
                    126:    is_open(), is_due(), is_answer(), due_date()
                    127:    open_date(), answer_date(), capa_id(), capa_id_plus()
                    128:    all take an argument which specifies which set the information is for
                    129:    to_string() work like /DIS()
                    130:    table()
                    131:    min(), max(), sort(), median() accept array variables
                    132:    first_name()
                    133:  
                    134: 3. CAPA syntax 
                    135:    /IF bug (which required all /ELSE)
                    136:    /MAP undefined variables
                    137:    /VERB /ENDVERB
                    138:    string answers are \begin{verbatim}...\end{verbatim}
                    139:    /MAP can have spaces
                    140:    0F format should output 90. not 90
                    141:    arbitrary number of problems
                    142:    /ANS type for condition satisfaction such as a=1, b=2, c=3, 
                    143:         satisfying ax + by +c = 0.0
                    144:    CR/LF
                    145:    /MAP(seed;out;in;num)
                    146:    missing /ENDIF
                    147:    /AND order indiscriminate option
                    148:    4x work as 4*x
                    149:    random seed based on student number, set number and prob number
                    150:    figure out the correct sig fig limitation automatically
                    151: 4. New features in utilities
                    152: qzparse hearder check 
                    153:         new option in -nopagebreak inhibits \newpage
                    154:         new option use \clearpage instead of \newpage
                    155:         new option to print students in alphabetical order, to select how many
                    156:             students to print at a time
                    157:         new option to control answer only output format
                    158:         don't seg fault on malformed options
                    159: capalogin capaweb
                    160:         submission file creation becomes an option
                    161:         set/weighted percentages per capa.config file
                    162:         zero as an answer when a sig fig limitation is set
                    163:         support anon quiz
                    164:         :p for view previous subhective 
                    165:         error message when letter answer is given for numerical answer
                    166:         equation answer using long editor
                    167:         incorrect answer switched to incorrect value, incorrect answer
                    168:         when student enters T/F for questions expecting A-E
                    169: GLabel.java 
                    170:         better way to implement? 
                    171: dateX.db 
                    172:         for dates on a per student basis
                    173: Classl editor 
                    174:         dropped section
                    175:         comments in classl
                    176:         
                    177: 5. Installing scripts
                    178:    automatic addition to class
                    179:    file structure diagram
                    180:    
                    181: 6. Meta structures
                    182:    xdvi config option
                    183:    quizzer access to capa.config more easily
                    184:    keywords for each problem
                    185:    
                    186: 7. Overall
                    187:    memory leaks  
                    188:    printout of whole library
                    189:    statistics on problem usage
                    190:    HTML equation 
                    191:    international characters
                    192:    

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>