diff --git a/lesson_02/quiz/lesson_02_quiz/src/main/java/com/codedifferently/lesson2/Lesson2.java b/lesson_02/quiz/lesson_02_quiz/src/main/java/com/codedifferently/lesson2/Lesson2.java index cbe4a24f..5d6edbd2 100644 --- a/lesson_02/quiz/lesson_02_quiz/src/main/java/com/codedifferently/lesson2/Lesson2.java +++ b/lesson_02/quiz/lesson_02_quiz/src/main/java/com/codedifferently/lesson2/Lesson2.java @@ -52,7 +52,7 @@ private static QuizQuestion makeQuestion0() { AnswerChoice.B, "The monitor", AnswerChoice.C, "The keyboard", AnswerChoice.D, "The mouse"), - AnswerChoice.UNANSWERED); // Replace `UNANSWERED` with the correct answer. + AnswerChoice.A); // Replace `UNANSWERED` with the correct answer. } private static QuizQuestion makeQuestion1() { @@ -64,7 +64,7 @@ private static QuizQuestion makeQuestion1() { AnswerChoice.B, "The keyboard", AnswerChoice.C, "The CPU", AnswerChoice.D, "RAM"), - AnswerChoice.UNANSWERED); // Replace `UNANSWERED` with the correct answer + AnswerChoice.C); // Replace `UNANSWERED` with the correct answer } private static QuizQuestion makeQuestion2() { @@ -76,7 +76,7 @@ private static QuizQuestion makeQuestion2() { AnswerChoice.B, "The GPU", AnswerChoice.C, "RAM", AnswerChoice.D, "The motherboard"), - AnswerChoice.UNANSWERED); // Replace `UNANSWERED` with the correct answer. + AnswerChoice.B); // Replace `UNANSWERED` with the correct answer. } private static QuizQuestion makeQuestion3() { @@ -88,7 +88,7 @@ private static QuizQuestion makeQuestion3() { AnswerChoice.B, "The keyboard", AnswerChoice.C, "RAM", AnswerChoice.D, "The GPU"), - AnswerChoice.UNANSWERED); // Replace `UNANSWERED` with the correct answer. + AnswerChoice.C); // Replace `UNANSWERED` with the correct answer. } private static QuizQuestion makeQuestion4() { @@ -100,7 +100,7 @@ private static QuizQuestion makeQuestion4() { AnswerChoice.B, "Storage devices", AnswerChoice.C, "RAM", AnswerChoice.D, "CPU"), - AnswerChoice.UNANSWERED); // Replace `UNANSWERED` with the correct answer. + AnswerChoice.B); // Replace `UNANSWERED` with the correct answer. } private static QuizQuestion makeQuestion5() { @@ -112,28 +112,28 @@ private static QuizQuestion makeQuestion5() { AnswerChoice.B, "Storage", AnswerChoice.C, "RAM", AnswerChoice.D, "CPU"), - AnswerChoice.UNANSWERED); // Replace `UNANSWERED` with the correct answer. + AnswerChoice.A); // Replace `UNANSWERED` with the correct answer. } private static QuizQuestion makeQuestion6() { return new QuizQuestion( 6, "What is the decimal number 34 in binary?", - "0b00000000"); // Replace the correct digits in the answer. + "100010"); // Replace the correct digits in the answer. } private static QuizQuestion makeQuestion7() { return new QuizQuestion( 7, "What is the decimal number 34 in hex?", - "0x00"); // Replace the correct digits in the answer. + "0x22"); // Replace the correct digits in the answer. } private static QuizQuestion makeQuestion8() { return new QuizQuestion( 8, "What is binary number 0b01100101 in decimal?", - "0"); // Specify the correct number (no leading zeros). + "101"); // Specify the correct number (no leading zeros). } private static QuizQuestion makeQuestion9() { @@ -145,7 +145,7 @@ private static QuizQuestion makeQuestion9() { AnswerChoice.B, "git pull ", AnswerChoice.C, "git checkout -b ", AnswerChoice.D, "git push "), - AnswerChoice.UNANSWERED); // Replace `UNANSWERED` with the correct answer. + AnswerChoice.C); // Replace `UNANSWERED` with the correct answer. } private static QuizQuestion makeQuestion10() { @@ -157,6 +157,6 @@ private static QuizQuestion makeQuestion10() { AnswerChoice.B, "There is no difference since everything is a branch to git", AnswerChoice.C, "A fork requires an upstream remote whereas a branch does not", AnswerChoice.D, "You can only make pull requests using a branch"), - AnswerChoice.UNANSWERED); // Replace `UNANSWERED` with the correct answer. + AnswerChoice.B); // Replace `UNANSWERED` with the correct answer. } }