Grading Made Easy using Apps Script

Friday, April 1, 2011 | 10:43 AM


Editor’s Note: Guest author Dave Abouav is a Google employee who is a part-time instructor for a night class in physics. He created Flubaroo as a 20% time project at Google based on his own teaching experiences.

As an instructor for a night class in physics at De Anza Community College, I didn't have enough time to grade assignments. Because it was a survey course, multiple choice assignments seemed like a viable option. So I used Google Forms to collect homework assignments. But I needed a way to grade the collected submissions and perform some useful analysis. The idea for Flubaroo was born and is now ready to share with other teachers thanks to Google Apps Script!

Flubaroo is designed as a simple grading solution for teachers using existing tools they're already comfortable with. It allows automated grading of quizzes and assignments administered via Google Forms. Beyond just grading, Flubaroo also provides analytics such as a histogram of grade distribution and identification of questions that many students missed. Flubaroo’s most popular feature is its ability to email each student their grade, along with the answer key if desired.

Here are the key reasons I chose Google Apps Script to implement Flubaroo:

  1. I wanted to build a simple application which can be easily integrated with Spreadsheets without the need to compile and deploy code.
  2. I liked its ability to integrate right into the spreadsheet as a menu, easily giving teachers access to all of Flubaroo's features.
  3. Apps Script provided UI Services which allowed me to build UI applications very easily from within a browser. I did not have to install complex tools to create a UI.
  4. Apps Script Services makes it very easy to integrate other Google APIs such as Google Charts API for the grade histogram.
  5. A JavaScript syntax is easy to program and without the need to learn more complex languages like Java and Python.
  6. Apps Script gave me the ability to easily share my grading technique with other teachers through the Apps Script Gallery. It is very easy for anyone to install the Flubaroo script in their Apps Script editor.

It was easy to get started with Apps Script, and the examples already provided in the Apps Script Documentation further helped me get it working quickly. Flubaroo is about 2300 lines of code. I used Spreadsheet Services to process and grade assignment submissions. I extensively used Ui Services to create the grading flow. In addition, Flubaroo makes use of the Google Chart API to create the grade distribution chart. Integration with Apps Script with Google Chart API was very easy. Below is an example of the types of charts I was able to generate using Apps Script’s integration with Google Chart API.

One of the great features of Apps Script is the availability of Triggers and Events. Events helped me provide a menu to the users. I created an onOpen function which installed a menu on the spreadsheet every time the spreadsheet is opened by a user. This allows users a menu based access to the various functions in the script.

If you’d like to give it a try then please install the script from the Apps Script gallery. You can also visit Flubaroo website to go through a full tutorial of the script. Thanks to Apps Script, grading assignments is no longer a chore for me.

Want to weigh in on this topic? Discuss on Buzz


Roni Habib said...

I'm a teacher at Gunn High School in Palo Alto, and just started using Flubaroo this week in my AP Econ classes. It not only made my job easier, it also provided immediate feedback to my students on their performance on the quiz they took. This lead to a much more targeted and fruitful discussion in class the day after the quiz was given. Flubaroo is Extremely helpful for teachers!!

Silvester said...

Dear Dave Abouav,

Flubaroo looks very promising. It would be really worthwhile if some psychometricians were to be involved with this project in order to implement Test- and Itemanalysis based on Classical Test Theory would become available.

Maybe you could turn to for more ideas? Or maybe I could post your Google App Script somewhere into the Educational Assessment Arena?

Kind regards,

Silvester Draaijer

| ir. Silvester Draaijer | Managing Director e-Assessment VU | Onderwijscentrum VU Amsterdam | Centre for Educational Training, Assessment and Research (CETAR) | Vrije Universiteit Amsterdam | Postadres: De Boelelaan 1105, 1081 HV Amsterdam | Bezoekadres: Prof. E.M. Meijerslaan 2, 1183 AV Amstelveen | +31-(0)20-5985479 | | said...

This is really helpful thanks Google.

Prof Iyer said...

Hi Dave, Thank you for Flubaroo. I would like one more extension to Flubaroo- the ability to create the quiz from a spreadsheet rather than having to create each question in the Form.

Pls advise.