Docsity

Practice Makes Perfect: A Javascript Routine for Student Practice Tests, Lecture notes of Operating Systems

Toggle sidebar
bg1
Practice Makes Perfect:
A simple Javascript Routine for Student Practice
Tests that Anyone can Implement
Gary B. Randolph, Dewey A. Swanson,
Dennis O. Owen & Jeffrey A. Griffin
Purdue University School of Technology – Anderson/
Purdue University School of Technology – Columbus/
Purdue University School of Technology – South Bend
Abstract
Beginning in the spring 1999 semester and continuing, the authors have used a simple Javascript
routine to create web-based practice tests for students in various classes. Feedback from students
has been very positive. Students indicate that the question-feedback cycle helps them gauge their
readiness and feel more confident for the real exam.
This paper will discuss how the program works, how educators can enter customized test
questions for the program using a simple text editor, and provide a web link for educators to use
to download the program and customize it for their own classes.
I. Introduction
Computer software has been put to many different uses in education, including tutorials1,
instruction delivery2, simulations3, and practice tests4. With the growth of the Internet, on-line
practice tests have the advantage of allowing students to access the practice test at any time,
allowing students to progress at their own pace, providing instant feedback, and allowing
information to be constantly updated4. Students using online exams report that they appreciate
the immediate feedback on their performance as well as the “anytime / anyplace” capability5.
Javascript is a simple non-compiled programming language for creating web pages.6 Javascript
was used to create a practice test web page for students to use in preparing for exams. The fact
that Javascript is non-compiled means anyone can easily modify practice tests for their own
classes using a simple text editor program, as the authors have done. Being non-compiled also
means that the questions and answers are not secured; any user who knows how to view the
source can do so. But for the purpose of a non-graded practice test, that is of little concern.
Students run the practice test to learn and gauge their knowledge, not to get a grade.
II. Taking the Test
When students start the practice test program they will first see a welcome screen telling them
what to expect. When they click on the Start button they will then begin seeing questions as
shown in Figure 1. The program is set up to select a random group of questions for presentation
Session 1375
Page 5.500.1
pf3
pf4
pf5

Partial preview of the text

Download Practice Makes Perfect: A Javascript Routine for Student Practice Tests and more Lecture notes Operating Systems in PDF only on Docsity!

Practice Makes Perfect:

A simple Javascript Routine for Student Practice

Tests that Anyone can Implement

Gary B. Randolph, Dewey A. Swanson, Dennis O. Owen & Jeffrey A. Griffin Purdue University School of Technology – Anderson/ Purdue University School of Technology – Columbus/ Purdue University School of Technology – South Bend

Abstract

Beginning in the spring 1999 semester and continuing, the authors have used a simple Javascript routine to create web-based practice tests for students in various classes. Feedback from students has been very positive. Students indicate that the question-feedback cycle helps them gauge their readiness and feel more confident for the real exam.

This paper will discuss how the program works, how educators can enter customized test questions for the program using a simple text editor, and provide a web link for educators to use to download the program and customize it for their own classes.

I. Introduction

Computer software has been put to many different uses in education, including tutorials 1 , instruction delivery^2 , simulations^3 , and practice tests^4. With the growth of the Internet, on-line practice tests have the advantage of allowing students to access the practice test at any time, allowing students to progress at their own pace, providing instant feedback, and allowing information to be constantly updated 4. Students using online exams report that they appreciate the immediate feedback on their performance as well as the “anytime / anyplace” capability^5.

Javascript is a simple non-compiled programming language for creating web pages. 6 Javascript was used to create a practice test web page for students to use in preparing for exams. The fact that Javascript is non-compiled means anyone can easily modify practice tests for their own classes using a simple text editor program, as the authors have done. Being non-compiled also means that the questions and answers are not secured; any user who knows how to view the source can do so. But for the purpose of a non-graded practice test, that is of little concern. Students run the practice test to learn and gauge their knowledge, not to get a grade.

II. Taking the Test

When students start the practice test program they will first see a welcome screen telling them what to expect. When they click on the Start button they will then begin seeing questions as shown in Figure 1. The program is set up to select a random group of questions for presentation

Session 1375

Page 5.500.

from a larger universe of possible questions. This encourages students to take the practice test several times and to thus drill themselves on the information.

Figure 1. Sample Question

Students can click on any of the three answers. Their selection will lead them either to a “Wrong Answer” screen as shown in Figure 2 or a “Correct Answer” screen as shown in Figure 3. In either case they will be told what the right answer is and why.

Figure 2. "Wrong Answer" Screen

Page 5.500.

Figure 4. Javascript Program Heading

Practice Study Quiz

  • For AnswerA[x], AnswerB[x], AnswerC[x] enter the three possible answers. Currently the quiz is limited to multiple-choice questions with three possible answers. This keeps the quiz simple for practice situations.
  • For CorrectAnswer[x] enter either “A” or “B” or “C.” Notice that the answer is enclosed in quotation marks.
  • For Explanation[x] you can put in an explanation of why the correct answer is correct; this will be shown as feedback.
  • Qpic[x] and Apic[x] are optional. They are path and file names for jpgs or gifs that can be shown. Qpic[x] is shown with the question, Apic[x] with the answer. If you use them make sure they are installed on the web server in the correct directory. A good practice is to install the pictures in the same directory as the quiz document. Then you don’t have to include a path name with the file name.

Once the above modifications have been made, the file simply has to be saved, tested, and copied to a web server. Create a link to the practice test program from the class web page.

IV. Obtaining the Test Program

Instructors can run a sample version of the practice test program using a web browser and the address: http://www.purdue.anderson.edu/download/jquiz/quiz.htm. To download a copy of the quiz, go to http://www.purdue.Anderson.edu/download using a web browser and click on “Javascript web-based practice test.” You will need the Winzip program to unpack the files. A shareware version of Winzip can be obtained from a link on that same page. There are three files in the zip file: the HTML file containing the Javascript routine, another HTML file called Empty that is needed to set up the frames, and an exitbutton.jpg graphic that is used as an Exit button in the program. All files should be placed in the same directory on the web server.

V. Results

Informal feedback from all classes in which the quiz has been used indicates that it is popular with students. One of the authors surveyed students after using the quiz to prepare for an exam. Thirteen of the fourteen students in the class used the quiz, with seven of them running it ten or more times. All thirteen reported the quiz to be easy to use. Twelve of the thirteen said it was useful in reviewing for the exam.

VI. Ideas for Improvement

As easy as the Javascript program is to modify, it could still be easier. One idea for version 2 of the program is to allow instructors to enter the questions and answers into a companion Microsoft Access database with a function built in the database to automatically create the Javascript program. That would make the design process easier and more foolproof. Some students running the quiz found that the random assignment of questions repeated many of the same questions each time they ran the quiz and would like that repetition eliminated. Some students requested the inclusion of True/False and fill-in-the-blank questions. Page 5.500.