Skip to main content Skip to local navigation
Home » Category: 'eClass' (Page 2)

eClass

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)

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)

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

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

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 […]

Automated student testing of Matlab code, Part 2

Here I'm going to outline an exercise in Matlab that combines the following features: A text file with four variants of the question Random selection of the variant Visual component in the form of an ASCII-art equation, like this: 2 ⋅ s + 4 ⋅ t a = ───────────── s + t The objective is […]

Virtual Programming Lab: Basic Examples

Heard about Virtual Programming Lab (VPL) and eClass at York and want to "kick the tires" a little? If you haven't already, VPL is a plugin for Moodle (eClass at YorkU) that allows instructors to create interactive programming activities for students. Here is some introductory material. [this may need an update after the update in […]

Update to VPL for Java on EECS at YorkU

The VPL server in the YorkU EECS department was recently updated (2022/23). This had a small impact on existing VPL scripts. With Java, any script that uses JUnit needs to have its vpl_run.sh and vpl_evaluate.sh scripts updated. Here, I have the run script do the JUnit test directly. The evaluate script does JUnit through the […]

Ad-hoc unit testing on simAVR and VPL

In the previous post I showed you how to use VPL and simAVR together to write a basic activity that would test to see if a student could change or assign the value of a register in the simulated microcontroller using the C programming language. While it was the most straight-forward way that I could […]

Simulated Microcontrollers in VPL Exercises

In Computer Architecture classes or Embedded Systems classes, it can be really useful to allow for students to be graded on assignments that allow them to interactively explore the inner workings of a microprocessor. One way is to have the students create programs in a hardware description language like Verilog or VHDL. Another way is […]