@@ -35,18 +35,24 @@ export class AmiyahJonesQuiz implements QuizQuestionProvider {
35
35
new Map < AnswerChoice , string > ( [
36
36
[ AnswerChoice . A , 'Graphics card' ] ,
37
37
[ AnswerChoice . B , 'CPU' ] ,
38
- [ AnswerChoice . C , 'mother board' ] ,
39
- [ AnswerChoice . D , 'mother board ' ] ,
38
+ [ AnswerChoice . C , 'Mother board' ] ,
39
+ [ AnswerChoice . D , 'Ram ' ] ,
40
40
] ) ,
41
41
AnswerChoice . UNANSWERED ,
42
42
) ; // Replace `UNANSWERED` with the correct answer.
43
43
}
44
44
45
45
private static makeQuestion2 ( ) : QuizQuestion {
46
- return new QuizQuestion (
46
+ return new MultipleChoiceQuizQuestion (
47
47
2 ,
48
- 'What is a computer?' ,
49
- 'A machine that automatically transforms input into output.' ,
50
- ) ; // Provide an answer.
48
+ 'Which computer part houses everything?' ,
49
+ new Map < AnswerChoice , string > ( [
50
+ [ AnswerChoice . A , 'CPU' ] ,
51
+ [ AnswerChoice . B , 'Hard drive' ] ,
52
+ [ AnswerChoice . C , 'Case' ] ,
53
+ [ AnswerChoice . D , 'Power Supply' ] ,
54
+ ] ) ,
55
+ AnswerChoice . UNANSWERED ,
56
+ ) ; // Replace `UNANSWERED` with the correct answer.
51
57
}
52
58
}
0 commit comments