You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
);// Replace `UNANSWERED` with the correct answer.
35
+
}
36
+
37
+
privatestaticmakeQuestion1(): QuizQuestion{
38
+
returnnewMultipleChoiceQuizQuestion(
39
+
1,
40
+
'Which of the following best describes a computer?',
41
+
newMap<AnswerChoice,string>([
42
+
[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'],
47
+
]),
48
+
AnswerChoice.UNANSWERED,
49
+
);// Provide the correct answer.
50
+
}
51
+
52
+
privatestaticmakeQuestion2(): QuizQuestion{
53
+
returnnewMultipleChoiceQuizQuestion(
54
+
2,
55
+
'What is the motherboard?',
56
+
newMap<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.'],
0 commit comments