Skip to content

Commit

Permalink
Added a CS question in full-quiz.js (#37)
Browse files Browse the repository at this point in the history
* Added a CS question

* Took the question to the top of the list

* Update full-quiz.js

Co-authored-by: Jessica Wilkins <67210629+jdwilkin4@users.noreply.github.com>
  • Loading branch information
kalashjain23 and jdwilkin4 committed Jan 25, 2022
1 parent a4ef671 commit 3bab535
Showing 1 changed file with 10 additions and 1 deletion.
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

0 comments on commit 3bab535

Please sign in to comment.