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

Added a CS question in full-quiz.js #37

Merged
merged 4 commits into from
Jan 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion src/data/full-quiz.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
const fullQuiz = [
{
Question: "Which of the following is correct for arrays?",
Answer: "Size of an array can not be changed once intialized",
Distractor1: "Insertion and deletion of elements has a time complexity of O(1)",
Distractor2: "A single array can contain data of different data types",
Distractor3: "It can only be one-dimensional",
Explanation: "When you create an array, you are allocated a block of contiguous memory and in order to change it's size, you will have to create a new array.",
Link: "https://youtu.be/zg9ih6SVACc?t=1470",
},
{
Question: "What is the function of the resize2fs command?",
Answer: "This can be used to change the size of an ext2 or ext3 filesystem.",
Expand Down Expand Up @@ -117,7 +126,7 @@ const fullQuiz = [
Link: "https://www.youtube.com/watch?v=zg9ih6SVACc&t=1379s",
},
{
Question: "Which method can be used to replace parts of a string?",
Question: "Which method can be used to replace parts of a string in Python?",
Answer: "replace()",
Distractor1: "switch()",
Distractor2: "repl()",
Expand Down