Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Lesson Specification

From MoodleDocs

Functional Specification Revisions:

0.1 - 11/06/2008 - Jerome Mouneyrac - Draft Version from existing module in Moodle 1.9
1.0 - XX/XX/XXXX - Jerome Mouneyrac - Final Version for 1.9

Audience:

user/implementer/QA

Status:

approved/module implemented

Related Documents:

Lesson User Manual
Lesson Smoke Test
Lesson Test Plan


Introduction

Scope of this functional specification

This document is about functional specification for Moodle lesson module.

This document has been written after the Lesson User Manual User. You must read it before this document. Lesson User Manual and this document should be modified when any functional change is operated on the lesson module.

TODO: most of the Lesson User Manual information should be added to this functional specification (in Glossary and Requirements), so we won't need to read this user manual in order to understand this functional specification.

Glossary

All lesson specific terms are explained in the Lesson User Manual

implementer

The person or team who will turn this specification into a working module.

requirement

A need or necessary condition of the finished module.

shall

Used in the Requirements section 'shall' means that the item is absolutely necessary as stated.

should

Used in the Requirements section 'should' means the item is desirable, but not required. Wishy-washy, but often unavoidable.

TBD

To Be Decided/Determined.

user

Person(s) who will deal with the completed module of this specification.

Requirements

Lesson parameters

A lesson shall have the following parameters:

General

Name: the name of this lesson
Time limit (minutes): a time limit for any attempt to this lesson. It can be enable or disable.
Maximum number of answers/branches: the maximum number of branches

Grade options

Practice lesson:
Custom scoring:
Maximum grade:
Student can re-take:
Handling of re-takes:
Display ongoing score:

Flow control:

Allow student review
Display review button
Maximum number of attempts
Action after correct answer
Display default feedback
Minimum number of questions
Number of pages (cards) to show
Lesson formatting
Slide Show
Slide show widthRequired field
Slide show heightRequired field
Slide show background colorRequired field
Display left menu
and only display if has grade greater than
Progress Bar

Access control

Password protected lesson
Password
Available from
Day Month Year Hour Minute Disable
Deadline
Day Month Year Hour Minute Disable

Dependent on

Dependent on
Time Spent (minutes)
Completed
Grade better than (%)

Pop-up to file or web page

Pop-up to file or web page
Show close button:
Window height:Required field
width:Required field

Other

Link to an activity
Number of high scores displayedRequired field
Use this lesson's settings as defaults

Common module settings

Visible
ID number
Grade category

Issues

User Interface

Creation page


Use Cases

UCXXX-1 Create a lesson

Base scenario

  1. User selects Add lesson activity operation
  2. System displays the Add lesson form
  3. User fills the Add lesson form
  4. User selects Save operation (Go to course option)
  5. System displays the lesson page

First Alternative scenario

Go to step 4
4. User selects Save operation (Go to lesson option)
5. System displays the course page including the new lesson

Pre conditions

- the user is on a course page
- the course editing option is ON

Post conditions

- An empty lesson has been created

UCXXX-2 Edit a lesson

Base scenario

  1. ...
  2. ...
  3. ...

Pre conditions

- ...
- ...

Post conditions

- ...