Package | Description |
---|---|
es.ugr.swad.swadroid.model |
Contains classes for manipulate application model.
|
es.ugr.swad.swadroid.modules.tests |
Tests syncronization and generation package.
|
Modifier and Type | Field and Description |
---|---|
private List<TestQuestion> |
Test.questions
List of questions and related answers
|
Modifier and Type | Method and Description |
---|---|
TestQuestion |
Test.getQuestionAndAnswers(int i)
Gets the question stored in position i and related answers
|
Modifier and Type | Method and Description |
---|---|
List<TestQuestion> |
Test.getQuestions()
Gets the questions list
|
List<TestQuestion> |
DataBaseHelper.getRandomCourseQuestionsByTagAndAnswerType(long selectedCourseCode,
List<TestTag> tagsList,
List<String> answerTypesList,
int maxQuestions)
Gets the questions of specified course and tags
|
Modifier and Type | Method and Description |
---|---|
void |
DataBaseHelper.insertTestQuestion(TestQuestion q,
long selectedCourseCode)
Inserts a test question in database
|
void |
DataBaseHelper.updateTestQuestion(TestQuestion prev,
TestQuestion actual,
long selectedCourseCode)
Updates a test question in database
|
Modifier and Type | Method and Description |
---|---|
void |
Test.setQuestions(List<TestQuestion> questions)
Sets the questions list
|
Modifier and Type | Method and Description |
---|---|
private void |
TestsMake.readUserAnswer(TestQuestion q)
Reads the user answer of a question
|