Interface AssessmentSession

All Superinterfaces:
AutoCloseable, Closeable, OsidSession, OsidSession

public interface AssessmentSession extends OsidSession

This session is used to take an assessment. The assessment associated with this session represents the "assessment taken" by an Agent . This session may be created using an AssessmentOffered Id retrieved from an assessment bank, and instantiating this session represents the transaction of taking an assessment. Resuming an assessment, if permitted, is performed through instantiating this session with the AssessmentTaken Id .

Assessment Items are accessed via the Question interface. A Question Id is the same as the Item Id.

This session manages the flow of control for the assessment taking process. It allows for two types of processes:

  • synchronous response: Each consecutive question is only available after the previous item was submitted or skipped.
  • asynchronous response: Questions may be accessed independently of response submission.

It may be the case that it is allowed to suspend and resume an assessment. canSuspend() indicates the availability of this feature. finished() indicates the assessment is complete.

This session is used in the context of an AssessmentSection . An assessment with no sections defined is assumed to have a single default section that maps to the entire assessment.