version 1.26, 2005/12/01 22:32:10
|
version 1.27, 2005/12/20 19:59:57
|
Line 2934 capa_check_ans(ai,ans, error) AnswerInfo
|
Line 2934 capa_check_ans(ai,ans, error) AnswerInfo
|
char *us; /* ans_unit_str */ |
char *us; /* ans_unit_str */ |
Unit_t *u_p; /* ans_unit */ |
Unit_t *u_p; /* ans_unit */ |
int input_len, all_alphabet = 1, idx, ii, type; |
int input_len, all_alphabet = 1, idx, ii, type; |
int outcome, result = INCORRECT; |
int outcome=-1, result = INCORRECT; |
int sig, corr_len; |
int sig, corr_len; |
int choice[ANSWER_STRING_LENG]; |
int choice[ANSWER_STRING_LENG]; |
char num_str[ANSWER_STRING_LENG], unit_str[ANSWER_STRING_LENG]; |
char num_str[ANSWER_STRING_LENG], unit_str[ANSWER_STRING_LENG]; |
Line 3103 capa_check_answer(p, answer, error) Prob
|
Line 3103 capa_check_answer(p, answer, error) Prob
|
char *fmt; |
char *fmt; |
int choice[ANSWER_STRING_LENG], correctans[ANSWER_STRING_LENG]; |
int choice[ANSWER_STRING_LENG], correctans[ANSWER_STRING_LENG]; |
int ii, idx, corr_len, input_len; |
int ii, idx, corr_len, input_len; |
int result = INCORRECT, sig, outcome, all_alphabet; |
int result = INCORRECT, sig, outcome=-1, all_alphabet; |
char fmted[FORMAT_STRING_LENG]; |
char fmted[FORMAT_STRING_LENG]; |
double given, target, ratio, fmted_target, target_u, target_l, scale=1.0; |
double given, target, ratio, fmted_target, target_u, target_l, scale=1.0; |
double delta; |
double delta; |