Added a solution version for the MultipleChoice Exercise

This commit is contained in:
Tiago Ribeiro
2023-04-10 11:40:44 +01:00
parent 8c1d42f2d9
commit 06dbf1e5f6
5 changed files with 150 additions and 32 deletions

View File

@@ -65,6 +65,7 @@ export interface WriteBlanksExercise {
export interface MatchSentencesExercise {
type: "matchSentences";
prompt: string;
userSolutions: {question: string; option: string}[];
sentences: {
id: string;
sentence: string;
@@ -82,6 +83,7 @@ export interface MultipleChoiceExercise {
type: "multipleChoice";
prompt: string; // *EXAMPLE: "Select the appropriate option."
questions: MultipleChoiceQuestion[];
userSolutions: {question: string; option: string}[];
}
export interface MultipleChoiceQuestion {