-
Notifications
You must be signed in to change notification settings - Fork 3
/
enter.html
94 lines (87 loc) · 4.17 KB
/
enter.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.js'></script>
<script type='text/javascript' src='enter.js'> </script>
<link type="text/css" href="enter.css" rel='stylesheet'/>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-46912289-1', 'au.dk');
ga('send', 'pageview');
</script>
<title>Multiple Choice Answer Entering</title>
</head>
<body>
<div>
A tool for entering answers for the multiple choice sets described at <a href='http://users-cs.au.dk/mis/Multiple/'>http://users-cs.au.dk/mis/Multiple/</a>
</div>
<div>
Bug reports and feature requests: <a href='https://github.com/esbena/enter/'>https://github.com/esbena/enter/</a>
</div>
<hr/>
<div class='quote'>
<div>
<div>
...
</div>
After the test, the answers are collected. Now follows a manual process of typing the answers into a file in the following format:
<pre>
20060001 7948 1bc2d3-4bc5a
20060002 8087 1b2ab3-4-5ab
20060003 9294 1a2a3b4ad5d
20060004 1063 1d2ac3b4ab5b
</pre>
<span>There is one line for each student, consisting of the student ID, the 4-digit code for the given copy of the test, and a string that notes the marks. For redundancy, the number of each question must be written, followed by the letters corresponding to selected answers (if no answers have been selected, write a "-").
Admittedly, this is a bit tedious; the best strategy is if one person reads the marks and another writes the file.</span>
<div>
<span class='obsolete'>The file enter.jar contains a small application for making this task easier. It is invoked once for each student and generates a single line that can be appended to the score file. Thus, for the first student above, use the Unix command:</span>
<div><tt>java -classpath enter.jar Enter 20060001 7948 >> scores.txt</tt></div>
</div>
<div>
<span class='newmethod'>Use this page instead: <tt>enter</tt> to create a new solution line, <tt>space</tt> to submit the answers to a question.</span>
</div>
And proceed to enter the characters:
<div><tt>b c space d space space b c space a space return</tt></div>
In practice, this approach seems to be 4 times faster than using a text editor. The tool provides you with a nice, friendly status window, where you can see the current question number and edit the latest entered characters:
</div>
<div>
...
</div>
</div>
<div id='tool'>
<h2>State</h2>
<div>
<textarea rows='20' id='out'></textarea>
</div>
<h2>Input</h2>
<div class='quote'>
Example usage:
<ol>
<li>Place cursor in the "student id" field</li>
<li>Type the student id <SPACE></li>
<li>Type the question set id <SPACE></li>
<li>Type the answers to question 1: <a><c>, followed by <SPACE></li>
<li>Type the answers to question 2: <b>, followed by <SPACE></li>
<li>...</li>
<li>Type the answers to the last question: <a><b>, followed by <ENTER></li>
<li>Continue from step 2</li>
</ol>
</div>
<div>Play sound for typed answers: <input type='checkbox' id='sound'/></div>
<div id='newarea'>
<input id='student' type='text' placeholder='student id'/>
<input id='id' type='text' placeholder='set id'/>
</div>
<div id='input'>
<input id='number' type='text'/>
<input id='answer' type='text' placeholder='Answer'/>
</div>
<h2>Pretty print</h2>
<div>
<div id='out-pretty'></div>
</div>
</div>
</body>
</html>