@@ -11,20 +11,21 @@ export class CalvinRobinsonQuiz implements QuizQuestionProvider {
1111 }
1212
1313 makeQuizQuestions ( ) : QuizQuestion [ ] {
14- return [ CalvinRobinsonQuiz . makeQuestion0 ( ) , CalvinRobinsonQuiz . makeQuestion1 ( ) , CalvinRobinsonQuiz . makeQuestion2 ( ) ] ;
14+ return [
15+ CalvinRobinsonQuiz . makeQuestion0 ( ) ,
16+ CalvinRobinsonQuiz . makeQuestion1 ( ) ,
17+ CalvinRobinsonQuiz . makeQuestion2 ( ) ,
18+ ] ;
1519 }
1620
17- private static makeQuestion0 ( ) : QuizQuestion {
21+ private static makeQuestion0 ( ) : QuizQuestion {
1822 return new MultipleChoiceQuizQuestion (
1923 0 ,
2024 'Why do PCs overheat?' ,
2125 new Map < AnswerChoice , string > ( [
2226 [ AnswerChoice . A , 'Using a wireless mouse and keyboard' ] ,
2327 [ AnswerChoice . B , 'Excessive use of solid-state drives' ] ,
24- [
25- AnswerChoice . C ,
26- 'Poor ventilation and airflow inside the case' ,
27- ] ,
28+ [ AnswerChoice . C , 'Poor ventilation and airflow inside the case' ] ,
2829 [ AnswerChoice . D , 'Running low-resolution graphics settings' ] ,
2930 ] ) ,
3031 AnswerChoice . UNANSWERED ,
@@ -36,29 +37,35 @@ private static makeQuestion0(): QuizQuestion {
3637 1 ,
3738 'Which answer best describes GitHub?' ,
3839 new Map < AnswerChoice , string > ( [
39- [ AnswerChoice . A , 'A cloud-based spreadsheet tool for financial analysis' ] ,
40- [ AnswerChoice . B , 'A social media platform for developers to share memes' ] ,
40+ [
41+ AnswerChoice . A ,
42+ 'A cloud-based spreadsheet tool for financial analysis' ,
43+ ] ,
44+ [
45+ AnswerChoice . B ,
46+ 'A social media platform for developers to share memes' ,
47+ ] ,
4148 [
4249 AnswerChoice . C ,
4350 'A web-based platform for hosting and collaborating on Git repositories' ,
4451 ] ,
45- [ AnswerChoice . D , 'A database management system for storing large datasets' ] ,
52+ [
53+ AnswerChoice . D ,
54+ 'A database management system for storing large datasets' ,
55+ ] ,
4656 ] ) ,
4757 AnswerChoice . UNANSWERED ,
4858 ) ; // Replace `UNANSWERED` with the correct answer.
4959 }
5060
51- private static makeQuestion2 ( ) : QuizQuestion {
61+ private static makeQuestion2 ( ) : QuizQuestion {
5262 return new MultipleChoiceQuizQuestion (
5363 2 ,
5464 'What is PR in software development?' ,
5565 new Map < AnswerChoice , string > ( [
5666 [ AnswerChoice . A , 'Public Relations strategy for tech companies' ] ,
5767 [ AnswerChoice . B , 'Pull Request used to propose changes in a codebase' ] ,
58- [
59- AnswerChoice . C ,
60- 'Page Refresh triggered by user interaction' ,
61- ] ,
68+ [ AnswerChoice . C , 'Page Refresh triggered by user interaction' ] ,
6269 [ AnswerChoice . D , 'Program Runtime measured during execution' ] ,
6370 ] ) ,
6471 AnswerChoice . UNANSWERED ,
0 commit comments