# STACK question type

STACK question type | |
---|---|

Type | question type |

Set | N/A |

Downloads | https://moodle.org/plugins/qtype_stack |

Issues | https://github.com/maths/moodle-qtype_stack/issues |

Discussion | https://moodle.org/mod/forum/view.php?id=752 |

Maintainer(s) | Tim Hunt |

**Note:**You can find the most up-to-date English documentation for this plugin in the authors' GitHub webpage at https://github.com/maths/moodle-qtype_stack. This page is intended for users that click on the 'Moodle Docs for this page' link and for Moodle users of languages other than English (IN OTHER LANGUAGES link at the bottom of this page).

- Managing questions
- Question behaviours
- Question types
- Calculated
- Simple Calculated
- Drag and drop into text
- Drag and drop markers
- Drag and drop onto image
- Calculated Multichoice
- Description
- Essay
- Matching
- Embedded Answers (Cloze)
- Multiple Choice
- Random Short Answer Matching
- Select missing words
- Short-Answer
- Numerical
- True/False
- Third-party question types

- Questions FAQ

STACK stands for System for Teaching and Assessment using a Computer algebra Kernel.

## Contents

## Overview

STACK is an open-source system for computer-aided assessment in Mathematics and related disciplines, with emphasis on formative assessment. This documentation is for version 3 of STACK, which provides a question type for the Moodle quiz. More about what we are trying to achieve can be found under the philosophy of STACK.

## Details

The STACK system is a computer aided assessment package for mathematics, which provides a question type for the Moodle quiz. In computer aided assessment (CAA), there are two classes of question types.

- Selected response questions
- In these questions, a student makes a selection from, or interacts with, potential answers which the teacher has selected. Examples include multiple choice, multiple response and so on.

- Student-provided answer question
- In these questions the student's answer contains the content. It is not a selection. Examples of these are numeric questions.

STACK concentrates on student-provided answers which are mathematical expressions. For example, a student might respond to a question with a polynomial or matrix. Essentially STACK asks for mathematical expressions and evaluates these using computer algebra. The prototype test is the following pseudo-code.

if simplify(student_answer-teacher_answer) = 0 then mark = 1, else mark = 0.

STACK uses a * computer algebra system * (CAS) to implement these mathematical functions. A CAS provides a library of functions with which to manipulate students' answers and generate outcomes such as providing feedback. Establishing algebraic equivalence with a correct answer is only one kind of manipulation which is possible.

Using CAS can also help generate random yet structured problems, and corresponding worked solutions.

In STACK a lot of attention has been paid to allowing teachers to author and manage their own questions. The following are the key features.

- Question versions are randomly generated within structured templates.
- There are many different kinds of inputs. These are, for example, where the student enters a mathematical expression, or makes a true/false selection.
- Mathematical properties of students' answers are established using answer tests within the CAS Maxima.
- Feedback is assigned on the basis of these properties using a potential response tree. This feedback includes:
- Textual comments for the student.
- A numerical mark.
- Answer notes from which statistics for the teacher are compiled.

These broadly correspond to formative, summative and evaluative functions of assessment. Which of these outcomes is available to the student, and when, is under the control of the teacher.

- Multi-part mathematical questions are possible: each question may have any number of inputs and any number of potential response trees. There need not be a one-to-one correspondence between these.
- Partial credit is possible when an expression only satisfies some of the required properties.
- Plots can be dynamically generated and included within any part of the question, including feedback in the form of a plot of the student's expression.

## Official User Documentation

See the Official User Documentation for the STACK project.

## Where to start

### Teachers

- Authoring questions, including an authoring quick start guide.
- Question testing.
- Deploying questions.
- Reporting
- Frequently asked questions

### Students

### Administrators

- For Installation instructions.
- The STACK installation instructions in Moodle Docs

### Developers

More about what we are trying to achieve can be found under the philosophy of STACK.