Skip to content

Commit aded0b2

Browse files
Revert "feat(lesson_02-quiz): Add correct answers to quiz questions"
This reverts commit 5302ac6.
1 parent 4c514bd commit aded0b2

File tree

1 file changed

+44
-2
lines changed

1 file changed

+44
-2
lines changed

lesson_02/quiz/src/lesson2.ts

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,16 @@ export class Lesson2 {
3434
0,
3535
"What is the main purpose of version control?",
3636
new Map([
37-
3837
[AnswerChoice.A, "To make backups of files"],
3938
[AnswerChoice.B, "To keep a record of changes over time"],
4039
[AnswerChoice.C, "To delete unnecessary files"],
4140
[AnswerChoice.D, "To run code more efficiently"],
4241
]),
42+
4343
AnswerChoice.B,
44+
45+
AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer.
46+
4447
);
4548
}
4649

@@ -57,7 +60,11 @@ export class Lesson2 {
5760
[AnswerChoice.C, "A tool for merging branches"],
5861
[AnswerChoice.D, "A way to delete a repository"],
5962
]),
63+
6064
AnswerChoice.A,
65+
66+
AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer.
67+
6168
);
6269
}
6370

@@ -71,7 +78,11 @@ export class Lesson2 {
7178
[AnswerChoice.C, "Push changes to the server"],
7279
[AnswerChoice.D, "Write code directly in GitHub"],
7380
]),
81+
7482
AnswerChoice.D,
83+
84+
AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer.
85+
7586
);
7687
}
7788

@@ -85,7 +96,11 @@ export class Lesson2 {
8596
[AnswerChoice.C, "git branch"],
8697
[AnswerChoice.D, "git pull"],
8798
]),
99+
88100
AnswerChoice.B,
101+
102+
AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer.
103+
89104
);
90105
}
91106

@@ -99,7 +114,11 @@ export class Lesson2 {
99114
[AnswerChoice.C, "NetBeans"],
100115
[AnswerChoice.D, "VS Code"],
101116
]),
117+
102118
AnswerChoice.D,
119+
120+
AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer.
121+
103122
);
104123
}
105124

@@ -113,7 +132,11 @@ export class Lesson2 {
113132
[AnswerChoice.C, "Dev Containers"],
114133
[AnswerChoice.D, "Source Control"],
115134
]),
135+
116136
AnswerChoice.C,
137+
138+
AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer.
139+
117140
);
118141
}
119142

@@ -127,8 +150,12 @@ export class Lesson2 {
127150
[AnswerChoice.C, "Playing music"],
128151
[AnswerChoice.D, "Managing source control"],
129152
]),
153+
130154
AnswerChoice.C,
131155

156+
157+
AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer.
158+
132159
);
133160
}
134161

@@ -142,8 +169,11 @@ export class Lesson2 {
142169
[AnswerChoice.C, "cd"],
143170
[AnswerChoice.D, "mkdir"],
144171
]),
172+
145173
AnswerChoice.B,
146-
);
174+
175+
AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer.
176+
);
147177
}
148178

149179
private static makeQuestion8(): QuizQuestion {
@@ -156,7 +186,11 @@ export class Lesson2 {
156186
[AnswerChoice.C, "cd"],
157187
[AnswerChoice.D, "mkdir"],
158188
]),
189+
159190
AnswerChoice.C,
191+
192+
AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer.
193+
160194
);
161195
}
162196

@@ -170,7 +204,11 @@ export class Lesson2 {
170204
[AnswerChoice.C, "Remove a file or directory"],
171205
[AnswerChoice.D, "Copy a file or directory"],
172206
]),
207+
173208
AnswerChoice.A,
209+
210+
AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer.
211+
174212
);
175213
}
176214

@@ -184,7 +222,11 @@ export class Lesson2 {
184222
[AnswerChoice.C, "⌘ + Q"],
185223
[AnswerChoice.D, '⌘ + S, then type "terminal"'],
186224
]),
225+
187226
AnswerChoice.B,
227+
228+
AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer.
229+
188230
);
189231
}
190232
}

0 commit comments

Comments
 (0)