This repository was archived by the owner on Jun 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import HParsonsFeedback from "./hparsonsFeedback" ;
22import BlockBasedGrader from "./blockGrader.js" ;
3+ import "../../parsons/js/parsons-i18n.en.js" ;
4+ import "../../parsons/js/parsons-i18n.pt-br.js" ;
35
46export default class BlockFeedback extends HParsonsFeedback {
57 createOutput ( ) {
Original file line number Diff line number Diff line change @@ -13,37 +13,14 @@ Randomized Block with Block Based Feedback
1313 :randomize:
1414 :blockanswer: 0 1 2 3
1515
16- This is a horizontal Parsons problem! Feedback is based on code execution .
16+ This is a horizontal Parsons problem! Feedback is based on block for this problem .
1717 The blocks are randomized, but cannot be reused ;)
1818 ~~~~
1919 --blocks--
2020 SELECT
2121 *
2222 FROM
2323 test
24- --unittest--
25- assert 1,1 == world
26- assert 0,1 == hello
27- assert 2,1 == 42
28-
29-
30- .. parsonsprob :: test_parsons_1
31- :adaptive:
32- :order: 0 1 2 3 4
33-
34- need some text ?
35- -----
36- def fib(num):
37- =====
38- if num == 0:
39- return 0:
40- =====
41- if num == 1:
42- return 1:
43- =====
44- return fib(num - 1) + fib(num - 2)
45- =====
46- return fib(num - 1) * fib(num - 2) #paired
4724
4825
4926Randomized Block with Execution Based Feedback
You can’t perform that action at this time.
0 commit comments