From 3bab5354da3962cbff819dacbe5419791cffb4d6 Mon Sep 17 00:00:00 2001 From: Kalash Jain <97672680+kalashjain23@users.noreply.github.com> Date: Tue, 25 Jan 2022 23:41:19 +0530 Subject: [PATCH] Added a CS question in full-quiz.js (#37) * 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> --- src/data/full-quiz.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/data/full-quiz.js b/src/data/full-quiz.js index 4b2e6e4fb..0c72fe3d8 100644 --- a/src/data/full-quiz.js +++ b/src/data/full-quiz.js @@ -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.", @@ -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()",