@@ -17,49 +17,52 @@ export class ChanelHuttQuiz implements MultipleQuestionnaireProvider {
17
17
private static makeQuestion0 ( ) : MultipleQuestionnaire {
18
18
return new MultipleChoiceQuizQuestion (
19
19
0 ,
20
- 'When do you commit your code ?' ,
20
+ 'Which one is not a purpose for git commit ?' ,
21
21
new Map < AnswerChoice , string > ( [
22
- [ AnswerChoice . A , 'A question about agency ' ] ,
23
- [ AnswerChoice . B , 'The hardest kind of quiz question there is ' ] ,
22
+ [ AnswerChoice . A , 'To save changes to your local repository ' ] ,
23
+ [ AnswerChoice . B , 'To provide a clear, descriptive message for the changes made ' ] ,
24
24
[
25
25
AnswerChoice . C ,
26
- 'A question that can be answered using one or more provided choices ' ,
26
+ 'To clear the terminal and re-type the command ' ,
27
27
] ,
28
- [ AnswerChoice . D , 'Whatever you want it to be! ' ] ,
28
+ [ AnswerChoice . D , 'Keeps track of changes made to your code ' ] ,
29
29
] ) ,
30
30
AnswerChoice . UNANSWERED ,
31
31
) ; // Replace `UNANSWERED` with the correct answer.
32
32
}
33
33
34
- private static makeQuestion0 ( ) : MultipleQuestionnaire {
34
+ private static makeQuestion1 ( ) : MultipleQuestionnaire {
35
35
return new MultipleChoiceQuizQuestion (
36
36
1 ,
37
- 'What is a multiple choice question ?' ,
37
+ 'Which answer best fits the command git push ?' ,
38
38
new Map < AnswerChoice , string > ( [
39
- [ AnswerChoice . A , 'A question about agency' ] ,
40
- [ AnswerChoice . B , 'The hardest kind of quiz question there is' ] ,
39
+ [ AnswerChoice . A , 'To move the code to the trash' ] ,
40
+ [
41
+ AnswerChoice . B ,
42
+ 'To transfer files from the local repository to remote repository hosting services' ,
43
+ ] ,
41
44
[
42
45
AnswerChoice . C ,
43
- 'A question that can be answered using one or more provided choices ' ,
46
+ 'To add comments to the code ' ,
44
47
] ,
45
- [ AnswerChoice . D , 'Whatever you want it to be! ' ] ,
48
+ [ AnswerChoice . D , 'To merge several branches into one branch ' ] ,
46
49
] ) ,
47
50
AnswerChoice . UNANSWERED ,
48
51
) ; // Replace `UNANSWERED` with the correct answer.
49
52
}
50
53
51
- private static makeQuestion0 ( ) : MultipleQuestionnaire {
54
+ private static makeQuestion2 ( ) : MultipleQuestionnaire {
52
55
return new MultipleChoiceQuizQuestion (
53
56
2 ,
54
- 'What is a multiple choice question ?' ,
57
+ 'Which command is used to update the your local repository with changes from your remote repository ?' ,
55
58
new Map < AnswerChoice , string > ( [
56
- [ AnswerChoice . A , 'A question about agency ' ] ,
57
- [ AnswerChoice . B , 'The hardest kind of quiz question there is ' ] ,
59
+ [ AnswerChoice . A , 'git fetch upstream ' ] ,
60
+ [ AnswerChoice . B , 'git pull ' ] ,
58
61
[
59
62
AnswerChoice . C ,
60
- 'A question that can be answered using one or more provided choices ' ,
63
+ 'git commit ' ,
61
64
] ,
62
- [ AnswerChoice . D , 'Whatever you want it to be! ' ] ,
65
+ [ AnswerChoice . D , 'git checkout main ' ] ,
63
66
] ) ,
64
67
AnswerChoice . UNANSWERED ,
65
68
) ; // Replace `UNANSWERED` with the correct answer.
0 commit comments