Parsons Practice
Parsons 1 (Line Based Grader)
Re-arrange the blocks below so they print out “Hello World!”
Parsons 2 (Variable Check Grader)
Construct a program that swaps the values of variables x and y using the helper variable tmp. You can change the names of the variables () by clicking them.
Parsons 3 (Unit Test Grader)
Your task is to construct a function which returns the index of the largest element in the array.
Parsons 4 (Language Translation Grader)
Print out “I am a Java program” three times using a for loop.
Parsons 5 (Turtle Grader)
Construct a program by dragging&dropping and reordering lines. The constructed program should draw a triangle like shown below.
Implementation Notes
When you host multiple Parson’s problems on a single markdown page, you need to add a unique prefix. You can easily do this in the Codio generator by typing a unique prefix into the “Prefix” textbox and pressing Enter/Return. Then you can simply copy-paste like normal.
If want each problem to be it’s own page, you can use relative path links at the bottom of each of your markdown pages as seen below. If you want students to be able to return to previous problems in this format, consider adding previous links or link to a table of contents like page.