Skip to main content Skip to local navigation
Home » Category: 'eClass'

eClass

VPL: A Java Unit Test Example

VPL: A Java Unit Test Example

The following is an example of the files needed to create a working Virtual Programming Lab exercise for Java: vpl_run.sh vpl_evaluate.sh MainClass.java StudentSolution.java TeacherReferenceSolutions.java TheTestClass.java With this you can evaluate one student submission against a single reference solution. Two methods are run: one is the student's method and one is the teacher's method. The output […]

Automated Student Evaluations in C (part 5)

Automated Student Evaluations in C (part 5)

This is the fifth in the series of postings on automated grading in C. Here, I've modified the VPL exercise to include four possible flowcharts that the students can implement, but the particular flowchart now get assigned to the student based on the time of day. The VPL output (both "run" and "evaluate" looks like […]

Automated Student Evaluations in C (part 4)

Automated Student Evaluations in C (part 4)

In this fourth post, I'm going to modify the way the unit tests in C get picked up by the VPL "run" and "evaluate" scripts so that rather than look for a particular phrase returned by the unit test (something like "The unit test expected to see 5 but the student's function returned 1"), it's […]

Automated Student Evaluations in C (part 3)

Automated Student Evaluations in C (part 3)

This is the third post in the series on evaluating student assignments in VPL with C and unit testing. We're targeting using VPL on Moodle / eClass. Specifically, the bash scripts are based on the fantastic work of Smith College professor emeritus, Dr. Dominique ThiĆ©baut. He wrote about his VPL work here and while his […]

Automated Student Evaluations in C (part 2)

Automated Student Evaluations in C (part 2)

Here's a simple VPL exercise that can grade a simple student-submitted function. The idea is that there are two bash scripts, one for rough work and one for graded evaluation and these scripts will compile the C program, consisting of a main function that calls the student function, passing two integers to it and having […]

Automated student testing in Java (Part 1)

Automated student testing in Java (Part 1)

As with earlier posts for Matlab, I'm putting together a set of exercises for automated student testing in introductory programming classes, but this time for Java. The idea is to integrate this into Virtual Programming Lab or secure lab tests. In a future post I'll do a VPL version of this, but for now this […]

Automated Student Evaluations in C (Part 1)

Automated Student Evaluations in C (Part 1)

As with the Matlab and Java versions of this, I'm working on creating a set of C language exercises that can be assigned to students in an automated way, like on eClass (Moodle) using Virtual Programming Lab or the "lab test mode" that we use in the EECS department at York University. Here, I'm focusing […]

Automated student testing of Matlab code, Part 3

Automated student testing of Matlab code, Part 3

The assessment of student learning in the formative stage of a university programming class has become very challenging for a number of reasons: the pandemic has generally disrupted learning processes at the elementary and high school levels Prior to the pandemic, reading and note-taking habits had changed, possibly making them less effective. IDE-specific tools catch […]

It's time to watermark material on eClass

It's time to watermark material on eClass

One of my teaching assistants uploaded my instructional material to Course Hero without my permission. It didn't take me long to figure out who it was. I only had a handful of TAs and the TA used their university user ID as their Course Hero login. When I confronted the TA about it, the TA […]