Add a Virtual Programming Lab
The creation of VPL activities can be divided into three different phases:
- Creating the activity
- Creating the automatic evaluation of the submission
- Testing the automatic evaluation / creating a sample solution
This tutorial describes how to create a VPL assignment. The other tutorials explain how to set up the automatic evaluation of submissions using two sample tasks.
Table of contents
- Activate the edit mode by clicking on "Turn editing on"
- Click "Add an acticity or resource" in the section where you wish to add the H5P Activity to appear.
- Select the "Virtual programming lab" option.
The VPL activity is created. You will now be taken to the settings page of the activity and can make the appropriate settings.
- Name - Give the VPL assignment a descriptive name.
- Short description - Write a short description of the assignment here. This will be displayed to the students later in the online editor where they write their program.
- Full description - Enter the assignment description here. This description will be displayed to the students in the editing view or - if the option "Display description on course page" is selected - directly in the course. Example: "Write a Python program that outputs the text "Hello World!" in the console, without the quotation marks and with an empty line after the output.
Please note: The description is immediately visible after saving the VPL assignment. Students can therefore already read the assignment description, even if due to the selected availability date (see setting option "Submission period") a submission should only be possible in the future.
2.2. Submission period
- Due date - Set a date in the future by which submissions should be allowed. The date will automatically be entered into the Moodle Calendar.
- Available from - Set a date in the future when submissions should be allowed. The assignment description in the "Description" field is already visible to students, regardless of the availability date.
2.3. Submission restrictions
- Maximum number of files - Number of files that students are allowed to submit as a submission.
- Type of work - Decide whether students work and submit individually or as a group. In a group work, all members can make changes to the code to be submitted.
- Disable external file upload, paste and drop external content - Disables uploading code and inserting code from other sources.
- This activity acts as example - If you do not want to grade this activity, check this box. The VPL assignment will then not be transferred to the course gradebook. It will be used for practice purposes only. This also means that students will not be able to modify or save code, but will only be able to execute code provided by the instructors in the "required files". This should enable the lecturers to demonstrate running code examples.
- Maximum upload file size - Limits the size of the submission file. Values between 16KiB and 1MiB are available.
- Password - Regulates access to the assignment with a password. This must be entered when the assignment is accessed.
- Allowed online submission -
- SEB browser required and SEB exam Key/s - These options refer to the "Safe Exam Browser". This limits the options available to students when they work on the assignment. This is only relevant in face-to-face exam scenarios and is not used in RWTHmoodle.
- Grade type - You can either use point grading (default) or use a scale. This allows you to assign non-numerical gradings. If you want to assign points, enter the maximum number of points that can be achieved for the submission in the "Maximum grade" field. If you choose the "Scale" type of grading, choose an appropriate scale. You can create your own scales via the grader report of the course room and use them here. If you don't want to assign grades for the activity, select "None" as the type of grading.
- Grade category - If you have created a separate grade category in the gradebook of the course room in which the VPL assignments should be bundled, assign it here.
- Grade to pass - Enter here the required minimum grade for passing the activity. The value is used in activity and course completion. In addition, pass grades in the gradebook are highlighted in green and fail grades in red.
- Reduction by automatic evaluation - Determines the reduction (value or percentage) of the final score for each automatic evaluation requested by the student.
- Free evaluations - Determines how often students can have an automatic evaluation of their program that do not reduce the final score.
- Visible - Set if the grade should be visible to students or not.
If you have enabled Outcomes to be used in your course, you can select here which outcomes should be linked to this activity. These will be listed in the gradebook together with the activity and can be graded separately with the scale assigned to them.
2.6. Common module settings
- Availability - Choose whether the VPL activity is immediately visible to students or hidden from them.
- ID Number - The ID number is used to assign a label that can be used in the gradebook for purposes such as overall grade calculation or custom reporting. If the VPL activity is not needed for grade calculation, the field can be left blank.
- Group Mode - Choose between the options "Separate Groups" and "Visible Groups". This activates a filter in the submissions list that allows you to filter the submissions by group. It does not matter whether you select separate or visible groups for the visibility of the submissions. Group members can per se only see and access the submissions of their own group.
- Grouping - This option is only displayed when a group mode is selected. Select whether only the groups in a particular grouping should be included in the submissions list.
2.7. Restrict access
Here, managers can control the visibility and availability of the resource or activity to students according to certain conditions. Please read the article Restrict access.
2.8. Activity completion
Activity completion allows managers to set completion criteria or conditions when an activity is considered completed (i.e.: successfully processed). You can find detailed information in the article Activity completion settings.
Click on "Save and Display" to save the selected settings and open the activity and define test cases.