@@ -5,19 +5,22 @@ import {
5
5
QuizQuestionProvider ,
6
6
} from 'codedifferently-instructional' ;
7
7
8
- export class khayla_quiz implements QuizQuestionProvider {
8
+ export class KhaylaSaundersQuiz implements QuizQuestionProvider {
9
9
getProviderName ( ) : string {
10
- return 'khayla_quiz ' ;
10
+ return 'khaylasaunders ' ;
11
11
}
12
12
13
13
makeQuizQuestions ( ) : QuizQuestion [ ] {
14
- return [ khayla_saundersquiz . makeQuestion0 ( ) , khayla_quiz . makeQuestion1 ( ) ] ;
14
+ return [
15
+ KhaylaSaundersQuiz . makeQuestion0 ( ) ,
16
+ KhaylaSaundersQuiz . makeQuestion1 ( ) ,
17
+ ] ;
15
18
}
16
19
17
20
private static makeQuestion0 ( ) : QuizQuestion {
18
21
return new MultipleChoiceQuizQuestion (
19
22
0 ,
20
- 'Your team is working on a shared Git repository. Which of the following is not the best practices to follow for smooth collaboration?' ,
23
+ 'Your team is working on a shared Git repository. Which of the following is not the best practice to follow for smooth collaboration?' ,
21
24
new Map < AnswerChoice , string > ( [
22
25
[ AnswerChoice . A , 'Always pull before pushing to avoid conflicts.' ] ,
23
26
[
@@ -30,7 +33,7 @@ export class khayla_quiz implements QuizQuestionProvider {
30
33
'Use Git stash to temporarily save uncommitted changes. ' ,
31
34
] ,
32
35
] ) ,
33
- AnswerChoice . UNANSWERED ,
36
+ AnswerChoice . B ,
34
37
) ; // Replace `UNANSWERED` with the correct answer.
35
38
}
36
39
@@ -50,7 +53,7 @@ export class khayla_quiz implements QuizQuestionProvider {
50
53
] ,
51
54
[ AnswerChoice . D , 'When you need to undo the last commit ' ] ,
52
55
] ) ,
53
- AnswerChoice . UNANSWERED ,
56
+ AnswerChoice . A ,
54
57
) ; // Replace `UNANSWERED` with the correct answer.
55
58
}
56
59
private static makeQuestion2 ( ) : QuizQuestion {
@@ -63,7 +66,7 @@ export class khayla_quiz implements QuizQuestionProvider {
63
66
[ AnswerChoice . C , 'Supersets' ] ,
64
67
[ AnswerChoice . D , 'Git' ] ,
65
68
] ) ,
66
- AnswerChoice . UNANSWERED ,
69
+ AnswerChoice . A ,
67
70
) ; // Replace `UNANSWERED` with the correct answer.
68
71
}
69
72
}
0 commit comments