You are on page 1of 4

OrganicPad: A Tablet PC Based Chemistry Tool

Sam Bryfczynski
Clemson University
School of Computing
Clemson SC, 29631
(770) 973-2514
sbryfcz@clemson.edu

ABSTRACT students to complete stand alone exercises as well as engage with


This paper describes a software tool that provides a natural user the teacher and other students in interactive quiz exercises.
interface through the use of a Tablet PC to provide interactivity Teachers are then able to get instant feedback and discover
between an instructor and her students in an organic chemistry concepts that may need to be reinforced to the class.
course. The teacher and all students are equipped with wireless The contents of this paper are as follows. Section 2 is used to
internet access and either a Tablet PC or a WACOM [3] slate describe why a program such as OrganicPad is needed. In section
device. Our software tool, called OrganicPad, enables an 2, we describe the current status of the project. We describe the
instructor to engage their students in the classroom by sending main features and workings of both the stand alone program and
them problems to solve. Students then develop answers to those the interactive program. Section 3 describes some of the inner
problems. The tool may provide students tips and hints to help workings of OrganicPad and how they can be expanded and
them arrive at an answer. All communication is through the web, applied to other fields of study. Finally, section 4 of this paper
using the HTTP communication protocol. At any time, the closes with a summary and a discussion of the future of
instructor can automatically evaluate student submissions and can OrganicPad and its technology.
quickly understand where students are having difficulty.
Furthermore, the instructor can hide the identities of the students
and anonymously use the submissions pedagogically. Finally, the 2. STATEMENT OF NEED
instructor can develop tutorial exercises that students can work on Organic chemistry is a very technical and advanced field of study.
outside of class. We present how we have used OrganicPad and Students who fail to understand the introductory material will
our plans to extend its functionality in the future. never be able to succeed in later courses. Furthermore, the
majority of introductory chemistry classes contain several
Categories and Subject Descriptors hundred students and teachers cannot take the time to work with
J.3 [Software Applications]: Physical Science and Engineering – each student individually. Organic chemistry teachers have no
Chemistry. real way of knowing how well students are grasping concepts
until the test results come back and by then it is too late. A
Keywords chemistry program is needed that is able to evaluate student’s
Tablet PC, Graph Isomorphism, Organic Chemistry, Lewis understanding of the material quickly.
Structures
Students are also taught to create molecules through drawings
using a pen and paper. Together a pen and paper provide
1. INTRODUCTION chemists with great flexibility in their drawings. Currently the
Tablet PCs are becoming more popular in the academic majority of organic chemistry programs on the market strip away
environment. Proof of this is from increased submission count at this flexibility by utilizing a drag and drop user interface and
ACM SIGCSE and IEEE FIE and new conferences such as restricting the length and angle of the chemical bonds. For
WIPTE 2007 [1] (Workshop on the Impact of Pen Technology in example, Figure 1 demonstrates how a simple freehand drawing
Education) and PLT 2007 [2](International Workshop on Pen- can look quite different in a commercial program.
based Learning Technologies). Tablet PCs are largely popular in
academics because of ease of use. Students of all ages use Tablet H H
PCs in the classroom. From the time children learn to hold a pen,
they are able to utilize a Tablet PC’s functionality.
We have developed an application that uses the Tablet PC’s H C C O
unique features for use in organic chemistry. OrganicPad enables
H H H
Permission to make digital or hard copies of all or part of this work for
Figure 1. (a) A free-form Lewis structure on the left. (b) The
personal or classroom use is granted without fee provided that copies are
same molecule drawn using ChemDraw.
not made or distributed for profit or commercial advantage and that
copies bear this notice and the full citation on the first page. To copy There are numerous tools and programs to study molecules and
otherwise, or republish, to post on servers or to redistribute to lists, their interactions. These tools assume that chemists are very
requires prior specific permission and/or a fee. familiar with the chemical rules. This leaves a gap with students
ACM-SE ‘08, March 28–29, 2008, Auburn, AL, USA. who are just learning organic chemistry and have yet to master all
Copyright 2008 ACM ISBN 978-1-60558-105-7/08/03…$5.00. the chemical properties. Students need software to help them

162
learn the common properties of chemical molecules. Current formation. Teachers may find this useful while discussing
software is just far too complex for introductory students to use. stereochemistry which is a field of organic chemistry that focuses
on the three dimensional structure of molecules and how they
3. CURRENT WORK interact with one another. Furthermore, OrganicPad provides a
Our solution to this learning gap in organic chemistry is tool to generate the scientific name, elemental composition, and
OrganicPad. OrganicPad utilizes Tablet PC functionality to exact mass of the molecule.
allow students to freely create molecular drawings without
imposing predefined formats like so many other chemistry
programs. Furthermore, OrganicPad allows a chemistry
instructor to interact with their students during lecture, exercise
their student’s understanding of the course material by sending
out word problems, collect student-developed answers to a
problem, evaluate student submissions, and conduct lecture after
the exercise using the students’ own submissions as examples.
The instructor can also develop step-by-step tutorials which
students can follow on their own time. The tutorials are designed
so that the student must provide the correct answer at each step;
otherwise, OrganicPad will not allow the student to continue.

3.1 Drawing Molecules


Because students are taught about molecule construction through
pen and paper, the Tablet PC makes the perfect medium for
students to gain extra interactivity in the drawing process.
OrganicPad has the ability to translate the strokes users draw on Figure 3. OrganicPad has correctly recognized that the
the screen into a fully interactive molecular structure. By Carbon highlighted has too many bonds.
breaking the strokes down into segments, OrganicPad can
recognize a growing number of handwritten atoms such as 3.2 Error Checking
One of the main features of OrganicPad is the ability to analyze
molecules drawn. By clicking the “Check” button, OrganicPad
will check for common errors in drawn molecules that do not
agree with specific chemical properties such as Octet rules.
Figure 3 shows an example of a user create molecule. Once the
“Check” button was clicked a red rectangle has indicated that this
Carbon has too many bonds attached to it. This is one of the most
common errors students make.
Figure 2. (a) An example of some of the molecules that can be 3.3 Student-Teacher Evaluation
created using OrganicPad (b) A molecule that has been Teachers and students can also interact in real time inside the
converted to 3D. classroom through quiz sessions. OrganicPad allows teachers to
Hydrogen, Carbon, Oxygen, Nitrogen, and the Halogens. For set up a server on their computer so that all the students may
example, users who write an “H” on the screen will have that connect to it. At this step, OrganicPad has created an ad hoc
letter converted to an interactive atom which can be further built network for the students to connect. OrganicPad will display the
upon. Connecting these atoms is as easy as on a piece of paper. instructor’s IP address for the students to use as way of
Simply drawing a line between two atoms will transform the connecting to the instructor’s machine. The instructor will then
stroke into a bond. By following these simple steps, users can display this IP address and the students will enter it into an
quickly build a molecule for further analysis. OrganicPad prompt window along with their name. Next,
OrganicPad also provides functionality for more advanced OrganicPad will connect to the instructor’s machine so that data
students. OrganicPad allows for chemists to draw structures in may be sent back and forth between the instructor and students. It
line notation. This form of drawing molecules removes the need is important to note that all of this is done through HTTP. This
to draw Carbon and Hydrogen atoms and is easier to use for more allows for these sessions to be created anywhere there is internet
complex molecules. access. This allows for interaction between students and
instructors that are not physically together. Once students have
Some areas of chemistry challenge students to see molecules in connected they are able to receive questions from the instructor as
three dimensions. In order to represent the third dimension on well as respond with answers. While the students have been
paper, special bonds are drawn to indicate atoms going into the working on their solutions, the instructor would create the correct
paper or back out towards the student. OrganicPad has the ability answer and add it to the solution bank. Once all of the solutions
to recognize these special bonds structures and display the have been gathered, OrganicPad will then use graph isomorphism
molecule correctly. algorithms to determine if the molecules are equal to that of the
Once a molecule is drawn, further analysis can be made on the instructor. Following this comparison, OrganicPad will give
molecule. By clicking the 3D button, OrganicPad will create a feedback to the students indicating to them whether their solution
three dimensional model of the molecule and display it on screen. was found to be correct or incorrect.
Users can then manipulate the model and learn about its structural

163
automatically determine this through graph comparisons. Once
the student’s current drawing structurally matches the one the
teacher provided as the solution, the tutorial will automatically
proceed on to the next step. Figure 6 shows what a student could
expect from a tutorial.

3.5 Graph Isomorphism


The main driving force behind the interactive features of
OrganicPad is graph comparisons. OrganicPad handles these
comparisons using an algorithm called graph isomorphism. This
algorithm simply detects if two graphs are logically equivalent.
Formally, given two graphs, is there a bijection between the nodes
of the graphs preserving edges? The graph isomorphism problem
is unusual in algorithm complexity theory as it defies
conventional classification: it is known to be NP but is
conjectured not to be NP-complete [5].
In OrganicPad, the molecule that has been drawn can be thought
of as a graph. The number of nodes (atoms) and the degree
(maximum bond) in any one graph (molecule) will rarely exceed
Figure 4. Student about to submit an Incorrect answer to the 20 and 3, respectively. Hence, although the graph isomorphism
teacher's request. algorithm for a general graph problem is potentially time-
consuming for large graphs, the graphs in OrganicPad are small
and bounded allowing for fast and efficient comparison of each
student’s molecule submission and the instructor’s solution list.
This small size also makes it possible for the graph to contain
many cycles which is common in molecular drawings. Usually
cycles are a time consuming problem in graph comparisons but
because of the small size of the graph all of the comparisons can
be handled without any slow down for the user.
This comparison algorithm is even simpler than the standard
graph isomorphism algorithm because unlike the regular
algorithm, no relabeling of the student’s solution is necessary.
The approach OrganicPad takes is to work with one of the
teacher’s solutions at a time. By holding the solution fixed,
OrganicPad uses a backtracking algorithm to test for equality. If
an atom match is found is found, mark it, and continue matching
Figure 5. Teacher has checked the student’s submission the solution key’s subsequent atoms with the student’s remaining
against the solution given. atoms. The student’s node names (atoms) must match those of the

One of the key features to note is the ability to have multiple


solutions to the same problem. This idea was first brought to our
attention in a trial we ran on a group of chemistry students. The
instructor asked a question and to her surprise several students
responded with different molecules that met the requirements and
were both equally correct. OrganicPad has the ability to mark
those student submissions that were initially marked incorrect as
correct. The molecules will then be added to the solution list and
OrganicPad will compare all of the incorrect solutions against the
newly added solution(s).
3.4 Tutorials
One of the easiest and versatile ways for interaction is through
tutorial lessons. Teachers are given an authoring tool to create
tutorial lessons which can step students through the process of
creating specific molecules. Teachers then have the ability to
upload these lessons online. Students then may download any of
these lessons and proceed through them at their own pace.
Tutorials are essentially a series of steps that are used to lead the
student to a final molecular creation. Students must complete Figure 6. Student completing various steps of a tutorial on
each step before proceeding to the next. OrganicPad will
drawing a Benzene molecule.

164
instructor exactly, so although some backtracking may be grasping concepts like simplification and expansion. Both of
necessary to investigate alternative bijections, no renaming of these fields could use software such as this to help identify
student nodes is necessary. Once this backtracking discovers that common errors students make.
a student’s graph matches the solution, the student’s submission is
marked as correct. If no match is found the submission is marked 4. SUMMARY AND FUTURE WORK
as incorrect. OrganicPad has steadily been improving since it was initially
created in the Fall of 2006. Several papers have been submitted
Our algorithm is fully compatible with cyclic graphs as well. This already using OrganicPad as the premise. Notably a paper has
is especially important in organic chemistry where many of the been accepted at PLT 2007 and a poster was accepted at WIPTE
structures drawn are of a cyclic nature. 2007. In addition, a proposal for grant funding was submitted to
3.6 Evaluation NSF [6] and was accepted. With this grant, we plan on
OrganicPad is currently being tested in an organic chemistry class purchasing a server to help improve OrganicPad’s features. This
at Clemson University. Feedback from the students and instructor server will enable us to store user information and chemical
are helping strengthen its functionality and improve its usability. drawings into a database. The structure of our database entries
will contain: unique id, timestamp, molecular structure
In initial trials with student volunteers using a WACOM drawing represented as an adjacency list, and the various steps the user
tablet attached to a desktop computer (rather than a tablet PC), all took in creating the submission. With these drawings, we will try
the students were able to access the software and draw a given to find common student errors in the molecule creation process.
structure within five minutes of the beginning of the trial. Not only will analysis of the final structures be able to help a
Subsequently all students were able to connect to the instructor’s teacher identify problems, but since we store each step of the
PC, receive assignments, and send answers back to the instructor creation process we will be able to identify at which points the
on each attempt. The instructor could access each student’s student got off course. Teachers could then go back and correct
structure – evaluate and store comments for each student. certain repeated errors by reinforcing them in classroom activities.
Students who participated in these trials were asked to complete a Most of our future work will surround using OrganicPad in the
short survey on their experience. In this informal evaluation, all of classroom. We are planning on using OrganicPad in a lab section
the students strongly agreed (average 5.0 on a Likert scale where to get a better feel for student ease of use and statistical evidence
5 is strongly agree and 1 is strongly disagree) that the software that OrganicPad can be used to improve learning. Furthermore
would be very useful in learning to draw Lewis structures, they unlike the first trial for the software, we now are equipped with
thought the interface was intuitive and easy to use and get started. enough Tablet PC’s for a small class of students. By using a
Since the initial trial, we have had another one with updated Tablet PC instead of WACOM slates, we believe students will
software. This trial was a little more challenging than the first respond even better. In subsequent evaluations, we will design
one. Students were generally asked to create more complex studies to investigate whether the software improves a student’s
molecular structures than the first trial. In addition, the number of ability to draw accurate structures, and ultimately whether they
students increased from 22 students to 36 students. Our software can use this skill to predict physical and chemical properties.
had no trouble passing information back and forth between the
instructor and students. We again used a Likert scale in a survey
5. ACKNOWLEDGEMENTS
to evaluate the students’ impressions of the software. On average, OrganicPad is funded by Clemson University. A special thanks
students who participated in this trial felt that OrganicPad was goes to Dr. Melanie Cooper and Dr. Roy Pargas. Dr. Melanie
easy to use, OrganicPad would be useful to help students learn to Cooper is a head in the Chemistry department and has helped give
draw Lewis Structures, and OrganicPad allows you to draw direction and motivation to the project. Dr. Roy Pargas is a
structures in the same manner that you would draw structures with teacher in Computer Science. He teaches a class on Tablet PC
a paper and pencil. Development. He has helped give guidance throughout this
project. This project has been supported in part by a 2005 Tablet
3.7 Expansion PC and Computing Curriculum Grant from Microsoft Corporation
Because of the flexibility of the core structures and algorithms, (Jane Prey, Program Manager). HP has provided a large number
the principles of OrganicPad can be applied to other academic of Tablet PCs which are currently being used to evaluate the
fields such as computer science and mathematics. The software on a large scale. NSF is also supporting this project
relationship to computer science is probably the more obvious through a grant which will allow us to continue to work on
expansion since the structure of a molecule could be stripped OrganicPad for years to come.
down to just represent a graph. The main features of OrganicPad
would remain in place as well since they are all based on flexible
6. References
graph isomorphism algorithms. 1. WIPTE: http://www.itap.purdue.edu/tlt/conference/wipte/
2. “OrganicPad: A Tablet PC Based Interactivity Tool for
We have already started to create a computer science version of Organic Chemistry”, Pargas, Cooper, Williams, and
OrganicPad called GraphPad. The GraphPad software was used Bryfczynski, PLT 2007: http://plt2007.ing.unict.it
frequently last semester during a section of CpSc 212: Advanced 3. WACOM: http://www.wacom.com
Structures. Students responded very positively to the software. 4. ChemDraw:
We are also currently looking into a similar program to be used http://www.cambridgesoft.com/software/ChemDraw/
with mathematics. Algebraic expressions can be transformed into 5. Toran, J. (2000), “On the Hardness of Graph Isomorphism”,
a tree structure. Once in this tree form, expressions can be SIAM J. Comput. 33(5), pp. 1093-1108
compared to one another. This could allow teachers to quiz 6. “OrganicPad: A Tablet PC Based Interactivity Tool for
students in real time and get a better feel of how students are Organic Chemistry”, co-PIs Cooper, Williams, and Pargas,
NSF Award Number DRL-0735655

165

You might also like