@@ -11,50 +11,52 @@ export class ChigazoGrahamsQuiz implements QuizQuestionProvider {
11
11
}
12
12
13
13
makeQuizQuestions ( ) : QuizQuestion [ ] {
14
- return [ ChigazoGrahamsQuiz . makeQuestion1 ( ) , ChigazoGrahamsQuiz . makeQuestion2 , ChigazoGrahamsQuiz . makeQuestion3 ( ) ] ;
14
+ return [
15
+ ChigazoGrahamsQuiz . makeQuestion0 ( ) ,
16
+ ChigazoGrahamsQuiz . makeQuestion1 ( ) ,
17
+ ChigazoGrahamsQuiz . makeQuestion2 ( ) ,
18
+ ] ;
15
19
}
16
20
17
- private static makeQuestion1 ( ) : QuizQuestion {
21
+ private static makeQuestion0 ( ) : QuizQuestion {
18
22
return new MultipleChoiceQuizQuestion (
19
- 1 ,
20
- 'What is the sign for Modulo ?' ,
23
+ 0 ,
24
+ 'What is the sign for modulo ?' ,
21
25
new Map < AnswerChoice , string > ( [
22
26
[ AnswerChoice . A , '^' ] ,
23
27
[ AnswerChoice . B , '*' ] ,
24
- [ AnswerChoice . C , '%' , ] ,
28
+ [ AnswerChoice . C , '%' ] ,
25
29
[ AnswerChoice . D , '//' ] ,
26
30
] ) ,
27
31
AnswerChoice . UNANSWERED ,
28
32
) ; // Provide an answer. | AnswerChoice.C, '%'
29
33
}
30
34
31
- private static makeQuestion2 ( ) : QuizQuestion {
32
- return new QuizQuestion (
33
- 2 ,
34
- 'Who is are big three in hip hop?' ,
35
- 'A machine that automatically transforms input into output.' ,
35
+ private static makeQuestion1 ( ) : QuizQuestion {
36
+ return new MultipleChoiceQuizQuestion (
37
+ 1 ,
38
+ 'Who are hip hops big three' ,
36
39
new Map < AnswerChoice , string > ( [
37
40
[ AnswerChoice . A , 'Kendrick Lamar, J. Cole, and Drake' ] ,
38
41
[ AnswerChoice . B , 'Tupac, Biggie, and Nas' ] ,
39
- [ AnswerChoice . C , 'Kanye West, Eminem, and Lil Wayne' , ] ,
42
+ [ AnswerChoice . C , 'Kanye West, Eminem, and Lil Wayne' ] ,
40
43
[ AnswerChoice . D , 'K. Dot' ] ,
41
44
] ) ,
42
45
AnswerChoice . UNANSWERED ,
43
- ) ; // Provide an answer. | AnswerChoice.D , 'K. Dot '
46
+ ) ; // Provide an answer. | AnswerChoice.C , '% '
44
47
}
45
48
46
- private static makeQuestion3 ( ) : QuizQuestion {
49
+ private static makeQuestion2 ( ) : QuizQuestion {
47
50
return new MultipleChoiceQuizQuestion (
48
- 3 ,
51
+ 2 ,
49
52
'what is the answer to life, the universe, and everything else?' ,
50
53
new Map < AnswerChoice , string > ( [
51
54
[ AnswerChoice . A , '42' ] ,
52
55
[ AnswerChoice . B , 'Jesus' ] ,
53
- [ AnswerChoice . C , 'N/A' ] ,
56
+ [ AnswerChoice . C , 'N/A' ] ,
54
57
[ AnswerChoice . D , 'Whatever you want it to be!' ] ,
55
58
] ) ,
56
59
AnswerChoice . UNANSWERED ,
57
60
) ; // Provide an answer. | AnswerChoice.A, '42'
58
61
}
59
-
60
62
}
0 commit comments