OSID Logo
OSID Specifications
assessment package
Version 3.0.0
Release Candidate Preview
Interfaceosid.assessment.AssessmentSession
Implementsosid.OsidSession
Description

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.

MethodgetBankId
Description

Gets the Bank Id associated with this session.

Returnosid.id.Idthe Bank Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetBank
Description

Gets the Bank associated with this session.

Returnosid.assessment.Bankthe Bank associated with this session
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodcanTakeAssessments
Description

Tests if this user can take this assessment section. A return of true does not guarantee successful authorization. A return of false indicates that it is known all methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer assessment operations to unauthorized users.

Returnboolean false if assessment methods are not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethodhasAssessmentBegun
Description

Tests if this assessment has started. An assessment begins from the designated start time if a start time is defined. If no start time is defined the assessment may begin at any time. Assessment sections cannot be accessed if the return for this method is false.

Parametersosid.id.IdassessmentTakenId Id of the AssessmentTaken
Returnboolean true if this assessment has begun, false otherwise
ErrorsNOT_FOUND assessmentTakenId is not found
NULL_ARGUMENT assessmentTakenId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodisAssessmentOver
Description

Tests if this assessment is over. An assessment is over if finishedAssessment() is invoked or the designated finish time has expired.

Parametersosid.id.IdassessmentTakenId Id of the AssessmentTaken
Returnboolean true if this assessment is over, false otherwise
ErrorsNOT_FOUND assessmentTakenId is not found
NULL_ARGUMENT assessmentTakenId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodrequiresSynchronousSections
Description

Tests if synchronous sections are required. This method should be checked to determine if all sections are available when requested, or the next sections becomes available only after the previous section is complete.

There are two methods for retrieving sections. One is using the built-in hasNextSection() and getNextSection() methods. In synchronous mode, hasNextSection() is false until the current section is completed. In asynchronous mode, hasNextSection() returns true until the end of the assessment.

AssessmentSections may also be accessed via an AssessmentSectionList. If syncronous sections are required, AssessmentSectionList.available() == 0 and AssessmentSectionList.getNextQuestion() blocks until the section is complete. AssessmentSectionList.hasNext() is always true until the end of the assessment is reached.

Parametersosid.id.IdassessmentTakenId Id of the AssessmentTaken
Returnboolean true if this synchronous sections are required, false otherwise
ErrorsNOT_FOUND assessmentTakenId is not found
NULL_ARGUMENT assessmentTakenId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetFirstAssessmentSection
Description

Gets the first assessment section in this assesment. All assessments have at least one AssessmentSection.

Parametersosid.id.IdassessmentTakenId Id of the AssessmentTaken
Returnosid.assessment.AssessmentSectionthe first assessment section
ErrorsILLEGAL_STATE hasAssessmentBegun() is false
NOT_FOUND assessmentTakenId is not found
NULL_ARGUMENT assessmentTakenId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodhasNextAssessmentSection
Description

Tests if there is a next assessment section in the assessment following the given assessment section Id.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
Returnboolean true if there is a next section, false otherwise
ErrorsILLEGAL_STATE hasAssessmentBegun() is false
NOT_FOUND assessmentTakenId is not found
NULL_ARGUMENT assessmentTakenId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetNextAssessmentSection
Description

Gets the next assessemnt section following the given assesment section.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
Returnosid.assessment.AssessmentSectionthe next section
ErrorsILLEGAL_STATE hasNextAssessmentSection() is false
NOT_FOUND assessmentSectionId is not found
NULL_ARGUMENT assessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodhasPreviousAssessmentSection
Description

Tests if there is a previous assessment section in the assessment following the given assessment section Id.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
Returnboolean true if there is a previous assessment section, false otherwise
ErrorsILLEGAL_STATE hasAssessmentBegun() is false
NOT_FOUND assessmentSectionId is not found
NULL_ARGUMENT assessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetPreviousAssessmentSection
Description

Gets the next assessemnt section following the given assesment section.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
Returnosid.assessment.AssessmentSectionthe previous assessment section
ErrorsILLEGAL_STATE hasNextAssessmentSection() is false
NOT_FOUND assessmentSectionId is not found
NULL_ARGUMENT assessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetAssessmentSection
Description

Gets an assessemnts section by Id.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
Returnosid.assessment.AssessmentSectionthe assessment section
ErrorsILLEGAL_STATE hasAssessmentBegun() is false
NOT_FOUND assessmentSectionId is not found
NULL_ARGUMENT assessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetAssessmentSections
Description

Gets the assessment sections of this assessment.

Parametersosid.id.IdassessmentTakenId Id of the AssessmentTaken
Returnosid.assessment.AssessmentSectionListthe list of assessment sections
ErrorsILLEGAL_STATE hasAssessmentBegun() is false
NOT_FOUND assessmentTakenId is not found
NULL_ARGUMENT assessmentTakenId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodisAssessmentSectionComplete
Description

Tests if the all responses have been submitted to this assessment section. If isAssessmentSectionComplete() is false, then getUnansweredQuestions() may return a list of questions that can be submitted.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
Returnboolean true if this assessment section is complete, false otherwise
ErrorsILLEGAL_STATE isAssessmentOver() is true
NOT_FOUND assessmentSectionId is not found
NULL_ARGUMENT assessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetIncompleteAssessmentSections
Description

Gets the incomplete assessment sections of this assessment.

Parametersosid.id.IdassessmentTakenId Id of the AssessmentTaken
Returnosid.assessment.AssessmentSectionListthe list of incomplete assessment sections
ErrorsILLEGAL_STATE hasAssessmentBegun() is false
NOT_FOUND assessmentTakenId is not found
NULL_ARGUMENT assessmentTakenId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodhasAssessmentSectionBegun
Description

Tests if this assessment section has started. A section begins from the designated start time if a start time is defined. If no start time is defined the section may begin at any time. Assessment items cannot be accessed or submitted if the return for this method is false.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
Returnboolean true if this assessment section has begun, false otherwise
ErrorsILLEGAL_STATE hasAssessmentBegun() is false or isAssessmentOver() is true
NOT_FOUND assessmentSectionId is not found
NULL_ARGUMENT assessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodisAssessmentSectionOver
Description

Tests if this assessment section is over. An assessment section is over if new or updated responses can not be submitted such as the designated finish time has expired.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
Returnboolean true if this assessment is over, false otherwise
ErrorsILLEGAL_STATE hasAssessmenSectiontBegun() is false or isAssessmentSectionOver() is true
NOT_FOUND assessmentSectionId is not found
NULL_ARGUMENT assessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodrequiresSynchronousResponses
Description

Tests if synchronous responses are required in this assessment section. This method should be checked to determine if all items are available when requested, or the next item becomes available only after the response to the current item is submitted.

There are two methods for retrieving questions. One is using the built-in hasNextQuestion() and getNextQuestion() methods. In synchronous mode, hasNextQuestion() is false until the response for the current question is submitted. In asynchronous mode, hasNextQuestion() returns true until the end of the assessment.

Questions may also be accessed via a QuestionList. If syncronous responses are required, QuestionList.available() == 0 and QuestionList.getNextQuestion() blocks until the response is submitted. QuestionList.hasNext() is always true until the end of the assessment is reached.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
Returnboolean true if this synchronous responses are required, false otherwise
ErrorsILLEGAL_STATE hasAssessmentBegun() is false or isAssessmentOver() is true
NOT_FOUND assessmentSectionId is not found
NULL_ARGUMENT assessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetFirstQuestion
Description

Gets the first question in this assesment section.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
Returnosid.assessment.Questionthe first question
ErrorsILLEGAL_STATE hasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUND assessmentSectionId is not found
NULL_ARGUMENT assessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodhasNextQuestion
Description

Tests if there is a next question following the given question Id.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
osid.id.IditemId Id of the Item
Returnboolean true if there is a next question, false otherwise
ErrorsILLEGAL_STATE hasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUND assessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENT assessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetNextQuestion
Description

Gets the next question in this assesment section.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
osid.id.IditemId Id of the Item
Returnosid.assessment.Questionthe next question
ErrorsILLEGAL_STATE hasNextQuestion() is false
NOT_FOUND assessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENT assessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodhasPreviousQuestion
Description

Tests if there is a previous question preceeding the given question Id.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
osid.id.IditemId Id of the Item
Returnboolean true if there is a previous question, false otherwise
ErrorsILLEGAL_STATE hasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUND assessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENT assessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetPreviousQuestion
Description

Gets the previous question in this assesment section.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
osid.id.IditemId Id of the Item
Returnosid.assessment.Questionthe previous question
ErrorsILLEGAL_STATE hasPreviousQuestion() is false
NOT_FOUND assessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENT assessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetQuestion
Description

Gets the Question specified by its Id.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
osid.id.IditemId Id of the Item
Returnosid.assessment.Questionthe returned Question
ErrorsILLEGAL_STATE hasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUND assessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENT assessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetQuestions
Description

Gets the questions of this assessment section.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
Returnosid.assessment.QuestionListthe list of assessment questions
ErrorsILLEGAL_STATE hasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUND assessmentSectionId is not found
NULL_ARGUMENT assessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetResponseForm
Description

Gets the response form for submitting an answer.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
osid.id.IditemId Id of the Item
Returnosid.assessment.AnswerForman answer form
ErrorsILLEGAL_STATE hasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUND assessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENT assessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodsubmitResponse
Description

Submits an answer to an item.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
osid.id.IditemId Id of the Item
osid.assessment.AnswerFormanswerFormthe response
ErrorsILLEGAL_STATE hasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
INVALID_ARGUMENTone or more of the elements in the form is invalid
NOT_FOUND assessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENT assessmentSectionId, itemId, or answerForm is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
UNSUPPORTED answerForm is not of this service
CompliancemandatoryThis method must be implemented.
MethodskipItem
Description

Skips an item.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
osid.id.IditemId Id of the Item
ErrorsILLEGAL_STATE hasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUND assessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENT assessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodisQuestionAnswered
Description

Tests if the given item has a response.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
osid.id.IditemId Id of the Item
Returnboolean true if this item has a response, false otherwise
ErrorsILLEGAL_STATE hasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUND assessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENT assessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetUnansweredQuestions
Description

Gets the unanswered questions of this assessment section.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
Returnosid.assessment.QuestionListthe list of questions with no rsponses
ErrorsILLEGAL_STATE hasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUND assessmentSectionId is not found
NULL_ARGUMENT assessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodhasUnansweredQuestions
Description

Tests if there are unanswered questions in this assessment section.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
Returnboolean true if there are unanswered questions, false otherwise
ErrorsILLEGAL_STATE hasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUND assessmentSectionId is not found
NULL_ARGUMENT assessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetFirstUnansweredQuestion
Description

Gets the first unanswered question in this assesment section.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
Returnosid.assessment.Questionthe first unanswered question
ErrorsILLEGAL_STATE hasUnansweredQuestions() is false
NOT_FOUND assessmentSectionId is not found
NULL_ARGUMENT assessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodhasNextUnansweredQuestion
Description

Tests if there is a next unanswered question following the given question Id.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
osid.id.IditemId Id of the Item
Returnboolean true if there is a next unanswered question, false otherwise
ErrorsILLEGAL_STATE hasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUND assessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENT assessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetNextUnansweredQuestion
Description

Gets the next unanswered question in this assesment section.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
osid.id.IditemId Id of the Item
Returnosid.assessment.Questionthe next unanswered question
ErrorsILLEGAL_STATE hasNextUnansweredQuestion() is false
NOT_FOUND assessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENT assessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodhasPreviousUnansweredQuestion
Description

Tests if there is a previous unanswered question preceeding the given question Id.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
osid.id.IditemId Id of the Item
Returnboolean true if there is a previous unanswered question, false otherwise
ErrorsILLEGAL_STATE hasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUND assessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENT assessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetPreviousUnansweredQuestion
Description

Gets the previous unanswered question in this assesment section.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
osid.id.IditemId Id of the Item
Returnosid.assessment.Questionthe previous unanswered question
ErrorsILLEGAL_STATE hasPreviousUnansweredQuestion() is false
NOT_FOUND assessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENT assessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetResponse
Description

Gets the submitted response to the associated item.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
osid.id.IditemId Id of the Item
Returnosid.assessment.Responsethe response
ErrorsILLEGAL_STATE hasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUND assessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENT assessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetResponses
Description

Gets all submitted responses.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
Returnosid.assessment.ResponseListthe list of responses
ErrorsILLEGAL_STATE hasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUND assessmentSectionId is not found
NULL_ARGUMENT assessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodclearResponse
Description

Clears the response to an item The item appears as unanswered. If no response exists, the method simply returns.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
osid.id.IditemId Id of the Item
ErrorsILLEGAL_STATE hasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUND assessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENT assessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodfinishAssessmentSection
Description

Indicates an assessment section is complete. Finished sections may or may not allow new or updated responses.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
ErrorsILLEGAL_STATE hasAssessmentSectionBegun() is false or isAssessmentSectionOver() is true
NOT_FOUND assessmentSectionId is not found
NULL_ARGUMENT assessmentSectionId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodisAnswerAvailable
Description

Tests if an answer is available for the given item.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
osid.id.IditemId Id of the Item
Returnboolean true if an answer are available, false otherwise
ErrorsNOT_FOUND assessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENT assessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetAnswers
Description

Gets the acceptable answers to the associated item.

Parametersosid.id.IdassessmentSectionId Id of the AssessmentSection
osid.id.IditemId Id of the Item
Returnosid.assessment.AnswerListthe answers
ErrorsILLEGAL_STATE isAnswerAvailable() is false
NOT_FOUND assessmentSectionId or itemId is not found, or itemId not part of assessmentSectionId
NULL_ARGUMENT assessmentSectionId or itemId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodfinishAssessment
Description

Indicates the entire assessment is complete.

Parametersosid.id.IdassessmentTakenId Id of the AssessmentTaken
ErrorsILLEGAL_STATE hasBegun() is false or isOver() is true
NOT_FOUND assessmentTakenId is not found
NULL_ARGUMENT assessmentTakenId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.