Parsons problems are a form of an objective
assessment
Assessment may refer to:
Healthcare
* Health assessment, identifies needs of the patient and how those needs will be addressed
*Nursing assessment, gathering information about a patient's physiological, psychological, sociological, and spiritual ...
in which respondents are asked to choose from a selection of code fragments, some subset of which comprise the problem solution. The Parsons problem format is used in the
learning
Learning is the process of acquiring new understanding, knowledge, behaviors, skills, value (personal and cultural), values, Attitude (psychology), attitudes, and preferences. The ability to learn is possessed by humans, non-human animals, and ...
and
teaching
Teaching is the practice implemented by a ''teacher'' aimed at transmitting skills (knowledge, know-how, and interpersonal skills) to a learner, a student, or any other audience in the of an educational institution. Teaching is closely related ...
of
computer programming
Computer programming or coding is the composition of sequences of instructions, called computer program, programs, that computers can follow to perform tasks. It involves designing and implementing algorithms, step-by-step specifications of proc ...
.
Dale Parsons and Patricia Haden of
Otago Polytechnic
Otago Polytechnic is a public Education in New Zealand#Tertiary education, New Zealand tertiary education institute, centred in Dunedin with additional campuses in Cromwell, New Zealand, Cromwell and Auckland. Otago Polytechnic provides career-f ...
developed Parsons's Programming Puzzles to aid the mastery of basic syntactic and logical constructs of computer programming languages, in particular
Turbo Pascal
Turbo Pascal is a software development system that includes a compiler and an integrated development environment (IDE) for the programming language Pascal (programming language), Pascal running on the operating systems CP/M, CP/M-86, and MS-DOS. ...
,
although any programming language may be used. Parsons' programming puzzles became known as Parsons puzzles
and then Parsons problems.
Parsons problems have become popular as they are easier to grade than written code while capturing the students problem solving ability shown in a code creation process.
Structure
Parsons problems consist of a partially completed solution and a selection of lines of code that some of which, when arranged appropriately, correctly complete the solution. There is great flexibility in how Parsons problems can be designed, including the types of code fragments from which to select, and how much structure of the solution is provided in the question.
Easier Parsons problems provide the complete block structure of the solution included in the question, and the provided lines of code simply need to be reordered and inserted into that structure.
In the Parsons problem exam question, the first example shown, there are 6 pairs of statements, one mark is deducted for each incorrectly chosen line from the pairs, two marks are deducted if more than 2 lines are out of place, and one mark is deducted if up to two things are out of place. One mark is deducted if opening and closing braces are incorrectly used, or are not included where necessary.
Variants
Two-dimensional
The two-dimensional variants require the student to also correctly indent the code instead of merely re-ordering the provided lines of code.
Faded
In the faded variants, the lines of code may additionally contain blanks that the student needs to fill in.
Advantages
The advantages of Parsons problems include:
* being a complement or alternative to traditional programming exercises like code-tracing and code-writing
[Du, Y., Luxton-Reilly, A., & Denny, P. (2020). A Review of Research on Parsons Problems. Paper presented at the Proceedings of the Twenty-Second Australasian Computing Education Conference. https://doi.org/10.1145/3373165.3373187]
* the design of Parsons problems is flexible
* there are many variants that are continuously refined to better address student needs
However, the effectiveness of Parsons problems, both as a question type and as a learning tool in CS education, remains uncertain due to a lack of replicated research in the field.
Automation
Parsons problems can be automated.
[Karavirta, V., Helminen, J., & Ihantola, P. (2012). A mobile learning application for parsons problems with automatic feedback. Paper presented at the Proceedings of the 12th koli calling international conference on computing education research.]
References
{{Reflist
External links
Faded Parsons Problemsjs-parsons - a JavaScript library for Parsons Problems
Computer science education