Skip to content

Commit 457e3d1

Browse files
committed
reed richards
1 parent b1f82ad commit 457e3d1

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

lesson_03/quiz/src/quizzes/Davis_D._quiz.ts

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export class DavisQuiz implements QuizQuestionProvider {
4141
[AnswerChoice.B, 'Pay, Listen, Persuade'],
4242
[AnswerChoice.C, 'Purpose, Prep, Show-up'],
4343
]),
44-
AnswerChoice.UNANSWERED,
44+
AnswerChoice.C,
4545
); // Provide an answer.
4646
}
4747

@@ -52,8 +52,18 @@ export class DavisQuiz implements QuizQuestionProvider {
5252
new Map<AnswerChoice, string>([
5353
[AnswerChoice.A, 'No'],
5454
[AnswerChoice.B, 'Yes'],
55-
[AnswerChoice.C, 'Maybe'],
56-
[AnswerChoice.D, 'IDK'],
55+
]),
56+
AnswerChoice.UNANSWERED,
57+
); // Provide an answer.
58+
}
59+
60+
private static makeQuestion3(): QuizQuestion {
61+
return new MultipleChoiceQuizQuestion(
62+
3,
63+
'If we flip a coin...',
64+
new Map<AnswerChoice, string>([
65+
[AnswerChoice.A, 'Heads'],
66+
[AnswerChoice.B, 'Tails'],
5767
]),
5868
AnswerChoice.UNANSWERED,
5969
); // Replace `UNANSWERED` with the correct answer.

0 commit comments

Comments
 (0)