Skip to content

Commit 824a48f

Browse files
author
AmiyahJo
committed
adjustments to quiz.yami
1 parent 715d2a6 commit 824a48f

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

lesson_03/quiz/quiz.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ quiz:
66
anotherone:
77
- $2y$10$8eHSzy3aCu4Ry3LzO9nWCeGpofSxsNVbnF.wCfn3ZADwQ6MEtN/KK
88
- $2y$10$dGB0CGv7.XQC5OqfyY6iXOiJsdVyxU3ve5YE0gt4m2I8P8H13lNXa
9-
quiz:
10-
answers:
119
amiyahjones:
12-
- $2y$10$rqF3De./7y9hMlwTTe42D.PF2Blsi8tfkJFshnzLivEmbd488ahnO
13-
- $2y$10$ucIq02aHBFaB6ilRS3DxPOHFsDH0g95f1h5jghKh8j2v3Mvxvf67.
14-
- $2y$10$VmJTbXxCunAZJoWwcHmnSesMIU/3oxd7LK2TS/zZLfwg281ERi0JW
10+
- $2y$10$hdxjIAaCcJqdRDyiEtp/Q.Xa.coEaVQRHfS7e4c3I5D4waAUzhjbO #0
11+
- $2y$10$Aymh4UlH/uQ9/j5AROPgm.vx.BX.qmTQQT77/79JImsSyW8Bns7e2 #1
12+
- $2y$10$qQh7CAWKHJMe09.jbcxBKehoWUmOUGBwcmXxx1U9JQoiqnk9YYrJa #2

lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ export class AmiyahJonesQuiz implements QuizQuestionProvider {
1111
}
1212

1313
makeQuizQuestions(): QuizQuestion[] {
14-
return [AmiyahJonesQuiz.makeQuestion0(), AmiyahJonesQuiz.makeQuestion1()];
14+
return [
15+
AmiyahJonesQuiz.makeQuestion0(),
16+
AmiyahJonesQuiz.makeQuestion1(),
17+
AmiyahJonesQuiz.makeQuestion2(),
18+
];
1519
}
1620

1721
private static makeQuestion0(): QuizQuestion {
@@ -22,7 +26,7 @@ export class AmiyahJonesQuiz implements QuizQuestionProvider {
2226
[AnswerChoice.A, 'Power supply and mother board'],
2327
[AnswerChoice.B, 'Graphics card and ram'],
2428
[AnswerChoice.C, 'Ram and hard drive'],
25-
[AnswerChoice.D, 'None, all of them are different'],
29+
[AnswerChoice.D, 'None of them get mixed up'],
2630
]),
2731
AnswerChoice.UNANSWERED,
2832
); // Replace `UNANSWERED` with the correct answer.
@@ -47,10 +51,10 @@ export class AmiyahJonesQuiz implements QuizQuestionProvider {
4751
2,
4852
'Which computer part houses everything?',
4953
new Map<AnswerChoice, string>([
50-
[AnswerChoice.A, 'CPU'],
51-
[AnswerChoice.B, 'Hard drive'],
52-
[AnswerChoice.C, 'Case'],
53-
[AnswerChoice.D, 'Power Supply'],
54+
[AnswerChoice.A, 'Hard drive'],
55+
[AnswerChoice.B, 'Case'],
56+
[AnswerChoice.C, 'CPU'],
57+
[AnswerChoice.D, 'Power supply'],
5458
]),
5559
AnswerChoice.UNANSWERED,
5660
); // Replace `UNANSWERED` with the correct answer.

0 commit comments

Comments
 (0)