Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new question in general-cs-quiz and update modal-response #357

Merged
merged 8 commits into from
Oct 14, 2022
10 changes: 10 additions & 0 deletions src/data/linux-quiz.ts
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,16 @@ const linuxQuiz = [
"KDE is a popular desktop environment which resembles the Windows user interface.",
Link: "https://www.freecodecamp.org/news/linux-basics/",
},
{
Question:
"Which set among the following is the correct set of three types of Linux file users?",
Answer: "{user, group, other}",
Distractor1: "{whoami, users, group}",
Distractor2: "{whoami, user, others}",
Distractor3: "{user, group, all}",
Explanation:
"In Linux, there are three types of users: user, group and other.",
},
{
Question: "Which of the following is NOT a category of file permissions in Linux?",
Answer: "compile",
Expand Down
3 changes: 2 additions & 1 deletion src/data/modal-responses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ export const incorrectModalResponses = [
"Oops! That is incorrect.",
"Incorrect, try again",
"That's a wrong answer, keep trying",
];
];

22 changes: 0 additions & 22 deletions src/data/security-quiz.ts
Original file line number Diff line number Diff line change
@@ -1,26 +1,4 @@
const securityQuiz = [
{
Question:
"Which set among the following is the correct set of three types of Linux file users?",
Answer: "{user, group, other}",
Distractor1: "{whoami, users, group}",
Distractor2: "{whoami, user, others}",
Distractor3: "{user, group, all}",
Explanation:
"In Linux, there are three types of users: user, group and other.",
Link: "https://www.freecodecamp.org/news/linux-chmod-chown-change-file-permissions/",
},
{
Question:
"Which of the following is NOT a category of file permissions in Linux?",
Answer: "compile",
Distractor1: "execute",
Distractor2: "read",
Distractor3: "write",
Explanation:
"In Linux, file permissions fall into three categories: read, write and execute.",
Link: "https://www.freecodecamp.org/news/linux-chmod-chown-change-file-permissions/",
},
{
Question:
"Which of the following terms involves sending packets of data to the target and interpreting their response?",
Expand Down