CodeHS Practice problems are Unit Tests activities, where students are usually asked to write a specific function or small unit of code. Unit Tests have Test Cases which pass values through the student's function and compare the outputs to the outputs when the values are passed through the exercise solution. You can make custom CodeHS Practice problems for students to complete from your Practice page or from the Create page!
Creating a Practice Problem From Your Create Page
Navigate to your Create page.
Click Create New Assignments and choose Practice Problem.
Title your activity, include instructions, and the solution code.
You can now add your Test Cases!
Creating a Practice Problem in Python 3:
Creating a Practice Problem in Java:
Creating a Practice Problem From Your Practice Page
Navigate to My CodeHS Practice by clicking Practice in the top banner and click the green Create New button.
When finished, you can preview the activity or assign it directly to one of your Sections.
You can always view or edit these problems from your Practice Problems page. You can assign, edit, or delete any custom problem by clicking the three dots to the right of an problem's name:
Creating Practice Problems from the Practice Page:
Still have questions? Contact our team at email@example.com to learn more!