Parsons programming puzzles are a type of scaffolded program construction tasks where the learner is given a set of code fragments, blocks of a single or multiple lines of code, and the task is to piece together a program from these. Some references:
That could be an idea of exercise type for PremierLanguage. As a first crude approximation, we could add a line order randomizer in cpp-info111, with a syntax such as:
RANDOM_LINE_ORDER(
for (int i=0; i<t.size(); i++) {
if ( x == t[i] )
return true
return false
Parsons programming puzzles are a type of scaffolded program construction tasks where the learner is given a set of code fragments, blocks of a single or multiple lines of code, and the task is to piece together a program from these. Some references:
That could be an idea of exercise type for PremierLanguage. As a first crude approximation, we could add a line order randomizer in cpp-info111, with a syntax such as:
cc: @HuxoD142, @hivert