Replit And Account Setup

Assignments On Replit

I’m getting an error when using .label and .goto, what do I do?

You need to add the csinsc.py file to the assignment manually. You can find the code for csinsc.py by downloading the file from another assignment that uses it (for example, 06.01 – Easiest Game in the World). Select the csinsc.py tab above the code editor and click the Download file button beneath the code editor.

Edit the assignment you wish to add the functionality to and click the Add new file button underneath the three dots at the top left of the code editor. You will be prompted with a message welcoming you to Project mode; click continue. You should now see main.py as a tab above the code editor. Click the Add new file button again; this will create a tab called file1.py. Click the three dots on this tab and click Rename and enter csinsc.py. Copy the contents of the csinsc.py file into the code editor of this tab. Go back to the main.py tab.

Try running the code below. If it works, you have edited the assignment correctly. If it doesn’t work, read through these instructions again and carefully check that you have completed each step. If you are still unsure, contact Zach Wingrave at zach@csinschools.com for assistance.

from csinsc import *

print(Colour.green + "Import successful." + Colour.reset)

label .test

answer = input("Type 'q' to quit:")

if answer != "q":
  goto .test

print(Colour.green + "Test complete." + Colour.green)

How can I share my students’ work with parents/other teachers?

Have students export their assignment to a public Repl, and share the link from there. Above the Run button on a given assignment, click the export to repl button. In the page that loads, students can share their Repl in a variety of ways from the Share button at the top of the page. The simplest option is Share link, which can be sent via email or uploaded to an LMS. Students can also share just the output of their program (and not the code) by copying the link ending in .repl.run at the top of the ouput terminal on the right hand side of the page.

Can I add my own assignment to the Repl.it classroom?

Yes! Once you have imported our version of the classroom, you are free to alter it however you like to suit your needs. You may add your own assignments, edit existing ones, make use of projects, or experiment with automatic marking.

To add your own assignment, simply click the Create Assignment button on the right hand side of the classroom page. Write up your instructions on the right hand side (be sure to use the formatting options available) and provide any startup code in the code editor on the left hand side. Click Next and select your publishing and marking options. If you publish the assignment immediately, it will be available for students the next time they load the classroom page.

For more information on assignments, consider the official Repl.it documentation.

Replit And The Classroom

I can’t find my Repl.it classroom, what do I do?

Your Repl.it classrooms can always be found at repl.it/teacher. This page lists all classrooms that you have created, and those which you have been added to as a collaborator. As a teacher, you should have created the classroom on your Repl.it account, following the instructions found in the teacher preparation slides in Lesson 1.

If you cannot see the classroom listed on your teacher dashboard at repl.it/teacher, check with your volunteer to see if they have set up the classroom on their account. If you have multiple Repl.it accounts, ensure you are logged in with your CS in Schools email. You can check this by navigating to repl.it/account and checking the email address listed under the My Account menu underneath your profile information.

For more information on managing classrooms, consider the official Repl.it documentation.

How do I add my volunteer to the classroom?

From the classroom page, scroll down to the Teachers section. Click the Collaborate button on the right hand side and enter your volunteer’s CS in Schools email address. They will receive an email at this address inviting them to join the classroom. Once your volunteer follows this link they will be listed as a teacher and will be able to find the classroom at repl.it/teacher on their account.

For more information on managing classrooms, consider the official Repl.it documentation.

How can I use Repl.it in my reporting/LMS?

Repl.it classrooms provide a structure for assessment using assignments. You can read more about assignment submission workflow here. You may still wish to reflect these results in your school’s own reporting or learning management system. How you do this is entirely up to you as a teacher. We make the following suggestions (note that these suggestions are neither exhaustive nor prescriptive):

  • Download a spreadsheet (.csv) of student results from Repl.it and upload into your LMS for whole-class progress. You can then select individual student rows for student-specific information. The spreadsheet is available from the classroom page under the Student Overview section. Click the Enrolled link to show the list of students who are enrolled, and click the Export as CSV button above the list of names. You will receive an email to your Repl.it registered email address containing the .csv attachment.
  • Capture student submission URLs for references to individual assignment attempts. These can be found by navigating to student submissions via the classroom page, either per student or per assignment. The URL will be of the form repl.it/teacher/submissions/<submission_id>. Note that this URL will only be visible to you if you are logged in as a teacher and have access to that classroom; other teachers and parents will not be able to view this link.

For more information on exporting classroom data, consider the official Repl.it documentation.

Can I set up multiple classrooms on Repl.it?

Yes! This is done by cloning an existing classroom. From repl.it/teacher, click the three dots on the bottom right hand corner of the classroom you wish to clone, and click the Clone option. Give your new classroom a name and click Okay. Repeat this process for as many classes as you need.

We recommend you rename each classroom you create so that you can easily differentiate between them. You may also which to change the picture and description of each class for your own benefit. To do this, click the three dots on the bottom right hand corner of the classroom you wish to edit, and click the Edit option. Change whatever values you want here and click Save.

For more information on managing classrooms, consider the official Repl.it documentation.

Can I enrol myself into the classroom as a student?

Yes! In fact, we highly encourage you to do this. Simply follow the steps for enrolling students from the teacher preparation slides in Lesson 1, but when you get to the step of copying the invitation URL, just paste it into a new tab instead.

Since you are already logged into a Repl.it account, this link will automatically redirect you to repl.it/student, where you will see the new classroom that you’ve just enrolled into. You can always alternate between the teacher and student views by switching between repl.it/teacher and repl.it/student. You may want to ask your volunteer if they can provide feedback to your assignment submissions as you complete each task.

You may see other classrooms here, you can either ignore these or unenrol from them by clicking the Unenrol button from the three dots menu on the bottom right hand corner of the classroom.

For more information on managing classrooms, consider the official Repl.it documentation.

Contact

For more information, please contact Zach Wingrave at zach@csinschools.com.