This week, I did something that I never did before in my 18 years of teaching in the College! I sent an email (via our Content Management System: Moodle) to my on-line class summarising all that we had covered in the previous evening's class. Even though it was the first week of the new semester, and it was also the first week for my students who were just starting their course this January - I was surprised at how much we had covered.
The module is a programming module, for many students it was their first time writing any code. Here's is (part of) what I sent to my class the next day:
Following last evening's class, you should be able to do the following (which is a lot for your first day!):
- Install R
- Install and run RStudio
- Explore the RStudio interface (4 quadrants)
- Create and save a new R script
- Use hashtags to insert comments/note in an R script
- Display a simple message in the console ("Hello World")
- Navigate and Set your Working Directory every time you start RStudio
- Watch out for syntax errors (the typos of programming) - as you have already found out, a misplaced comma can cause havoc
- Try to make sense of error messages so that you can fix code that does not work
- Use functions - we used print(), read.csv(), head(), tail(), plot(), and ggplot()
- Install an R library (we installed ggplot2)
- Run/load an R library
- Open a file (.CSV) in R and display its contents
- Read the contents of a file into a vector (diamondData in our example)
- Use R to refer to individual variables (eg, "carat" in the diamondData file)
- Be a programmer!
This is not an innovative thing to do - it's very simple, and I'm sure many other educators already do this. I chose to do this the day after to try and motivate students who were subjected to a four hour class in which many had frustrating technical difficulties, plus of course plenty of errors that first time programmers always get. I felt that a "look what you have done already..." message might be useful (as well as motivating) for them.
But when I was compiling the list, I think I'm probably the most surprised person - it is only when I see a list like this that I realise that far from being an introductory class, we did actually cover a lot of material. Obviously, I could put this on a slide for review at the end of a class, but I think that a separate communication rather than a simple slide works better - especially for on-line students. Hopefully I will do a few more of these in future classes.
No comments:
Post a Comment