Skip to content

Commit 097baa3

Browse files
chore: registered and tested answers in karen_alabi_quiz
chore: Updated quiz module
1 parent ac03159 commit 097baa3

File tree

3 files changed

+39
-15
lines changed

3 files changed

+39
-15
lines changed

lesson_03/quiz/quiz.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ quiz:
2222
- $2y$10$hRwUbEYSqz761B.cG79T2uYsYPiEtKu.JgD3Aj7.Mofx27TtX5YHa
2323
- $2y$10$qE/gXxpq62FEGJOJd9MDA.vpDYLTNSsZbqZLpD/0368CKkcNBzW1y
2424
- $2y$10$yI/2BgOyqQfLdHM3ixPE5uLu89su/sHRJB2c5szDFIAYXDhRakS.C
25+
karenalabi:
26+
- $2y$10$oxPNDhhyNt9BpV3g7RPmgOeQybzmsZIP5SYJkpAga6CnYbHVOqrei
27+
- $2y$10$q4dA/UIgxjzjYKK1p4MRDugTEWajBN5WAOxJflQXXI2M/8gKegXP.
28+
- $2y$10$czzmXmK7hipnM0mrjyqA/.QxgJgryPU/rNX3dof8aw2npU9BQ/4ZC
2529
davidadenaike:
2630
- $2y$10$CCxBimjXsumkjTLWRWqibue0VeGel6Idfb/2q3y.mIuKHbkWVTsx6
2731
- $2y$10$/z0Ri9Fg7pOXUFYsOErj.Ol8Hxcy7zwqWezLTMWVtFv6tzvkCrJti

lesson_03/quiz/src/quizzes/karen_alabi_quiz.ts

Lines changed: 31 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ export class KarensQuiz implements QuizQuestionProvider {
2525
new Map<AnswerChoice, string>([
2626
[AnswerChoice.A, 'Graphical Processing Unit'],
2727
[AnswerChoice.B, 'Gaming Processing Unit'],
28-
[
29-
AnswerChoice.C,'General Preserving Unit',
30-
],
28+
[AnswerChoice.C, 'General Preserving Unit'],
3129
[AnswerChoice.D, 'George P. Underwood'],
3230
]),
3331
AnswerChoice.UNANSWERED,
@@ -40,10 +38,18 @@ export class KarensQuiz implements QuizQuestionProvider {
4038
'Which of the following best describes a computer?',
4139
new Map<AnswerChoice, string>([
4240
[AnswerChoice.A, 'Karen from Spongebob'],
43-
[AnswerChoice.B,
44-
'A machine that automatically transforms input data into output data using pre-programmed instructions',],
45-
[AnswerChoice.C,'A high-tech calculator that only performs basic arithmetic operations like addition and subtraction, making it useful only for solving math problems',],
46-
[AnswerChoice.D, 'A microwave with a keyboard that heats up data instead of food'],
41+
[
42+
AnswerChoice.B,
43+
'A machine that automatically transforms input data into output data using pre-programmed instructions',
44+
],
45+
[
46+
AnswerChoice.C,
47+
'A high-tech calculator that only performs basic arithmetic operations like addition and subtraction, making it useful only for solving math problems',
48+
],
49+
[
50+
AnswerChoice.D,
51+
'A microwave with a keyboard that heats up data instead of food',
52+
],
4753
]),
4854
AnswerChoice.UNANSWERED,
4955
); // Provide the correct answer.
@@ -54,12 +60,24 @@ export class KarensQuiz implements QuizQuestionProvider {
5460
2,
5561
'What is the motherboard?',
5662
new Map<AnswerChoice, string>([
57-
[AnswerChoice.A, 'A big chip that controls how fast your computer runs.'],
58-
[AnswerChoice.B, 'The part of the computer that generates electricity to power all the other components.'],
59-
[AnswerChoice.C, 'The main circuit board of a computer that houses the CPU, memory, and other essential components.'],
60-
[AnswerChoice.D, 'The board that a mother uses to control the computer.'],
63+
[
64+
AnswerChoice.A,
65+
'A big chip that controls how fast your computer runs.',
66+
],
67+
[
68+
AnswerChoice.B,
69+
'The part of the computer that generates electricity to power all the other components.',
70+
],
71+
[
72+
AnswerChoice.C,
73+
'The main circuit board of a computer that houses the CPU, memory, and other essential components.',
74+
],
75+
[
76+
AnswerChoice.D,
77+
'The board that a mother uses to control the computer.',
78+
],
6179
]),
62-
AnswerChoice.A,
80+
AnswerChoice.UNANSWERED,
6381
);
6482
}
65-
}
83+
}

lesson_03/quiz/src/quizzes/quizzes.module.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { AnotherQuiz } from './another_quiz.js';
33
import { AnthonyMaysQuiz } from './anthony_mays_quiz.js';
44
import { DavidAdenaikeQuiz } from './david_adenaike_quiz.js';
55
import { Jbeyquiz } from './jbeyquiz.js';
6+
import { KarensQuiz } from './karen_alabi_quiz.js';
67
import { KhaylaSaundersQuiz } from './khayla_quiz.js';
78
import { MeikoStephensQuiz } from './meiko_stephens_quiz.js';
89
import { MercedesMathewsQuiz } from './mercedes_mathews_quiz.js';
@@ -13,10 +14,11 @@ export const Quizzes = Symbol.for('Quizzes');
1314
// Add your quiz provider here.
1415
const QUIZ_PROVIDERS = [
1516
AnthonyMaysQuiz,
16-
AnotherQuiz,
17-
MeikoStephensQuiz ,
17+
AnotherQuiz,
18+
MeikoStephensQuiz,
1819
MercedesMathewsQuiz,
1920
Jbeyquiz,
21+
KarensQuiz,
2022
DavidAdenaikeQuiz,
2123
KhaylaSaundersQuiz,
2224
RasheedMillerQuiz,

0 commit comments

Comments
 (0)