Skip to content

Commit 32ae5f8

Browse files
committed
modified: lesson_03/quiz/src/quizzes/Chanel_Hutt_quiz.ts
1 parent 1fab35e commit 32ae5f8

File tree

1 file changed

+20
-17
lines changed

1 file changed

+20
-17
lines changed

lesson_03/quiz/src/quizzes/Chanel_Hutt_quiz.ts

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,49 +17,52 @@ export class ChanelHuttQuiz implements MultipleQuestionnaireProvider {
1717
private static makeQuestion0(): MultipleQuestionnaire {
1818
return new MultipleChoiceQuizQuestion(
1919
0,
20-
'When do you commit your code?',
20+
'Which one is not a purpose for git commit?',
2121
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'],
2424
[
2525
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',
2727
],
28-
[AnswerChoice.D, 'Whatever you want it to be!'],
28+
[AnswerChoice.D, 'Keeps track of changes made to your code'],
2929
]),
3030
AnswerChoice.UNANSWERED,
3131
); // Replace `UNANSWERED` with the correct answer.
3232
}
3333

34-
private static makeQuestion0(): MultipleQuestionnaire {
34+
private static makeQuestion1(): MultipleQuestionnaire {
3535
return new MultipleChoiceQuizQuestion(
3636
1,
37-
'What is a multiple choice question?',
37+
'Which answer best fits the command git push?',
3838
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+
],
4144
[
4245
AnswerChoice.C,
43-
'A question that can be answered using one or more provided choices',
46+
'To add comments to the code',
4447
],
45-
[AnswerChoice.D, 'Whatever you want it to be!'],
48+
[AnswerChoice.D, 'To merge several branches into one branch'],
4649
]),
4750
AnswerChoice.UNANSWERED,
4851
); // Replace `UNANSWERED` with the correct answer.
4952
}
5053

51-
private static makeQuestion0(): MultipleQuestionnaire {
54+
private static makeQuestion2(): MultipleQuestionnaire {
5255
return new MultipleChoiceQuizQuestion(
5356
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?',
5558
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'],
5861
[
5962
AnswerChoice.C,
60-
'A question that can be answered using one or more provided choices',
63+
'git commit',
6164
],
62-
[AnswerChoice.D, 'Whatever you want it to be!'],
65+
[AnswerChoice.D, 'git checkout main'],
6366
]),
6467
AnswerChoice.UNANSWERED,
6568
); // Replace `UNANSWERED` with the correct answer.

0 commit comments

Comments
 (0)