freeCodeCamp / Developer_Quiz_Site

This is a quiz site filled with over 1200+ questions on programming.
https://developerquiz.org
BSD 3-Clause "New" or "Revised" License
233 stars 342 forks source link

Adding Computer Science Questions #29

Open jdwilkin4 opened 2 years ago

jdwilkin4 commented 2 years ago

developerquiz.org currently has over 600 quiz questions. We are looking to expand on the Computer Science questions and we encourage other developers to add their quiz questions to the site.

You can find the complete list of questions below. https://github.com/freeCodeCamp/Developer_Quiz_Site/blob/main/src/data/general-cs-quiz.ts

You can add your own questions to the top of that file. Please first check to make sure your question doesn't already exist in the file.

Here is an example of one of the current CS questions.

 {
    Question: "Which one of these is NOT a common time complexity equation for BigO notation?",
    Answer: "O(n14)",
    Distractor1: "O(1)",
    Distractor2: "O(log n)",
    Distractor3: "O(n)",
    Explanation: "O(1), O(log n), O(n) are just some of the common time complexity equations for BigO notation.",
    Link: "https://www.youtube.com/watch?v=zg9ih6SVACc&t=867s",
  },

For the link field, please make sure to use a freeCodeCamp article, or freeCodeCamp YouTube video. If you choose to reference a video, please make sure to include the timestamp for the topic covered.

Here is an example of a timestamp video for BigO notation https://www.youtube.com/watch?v=zg9ih6SVACc&t=867s

You can read more about how to create timestamps in this helpful article.

Please note: Do not close this issue. We want to keep this issue open for multiple contributors.

Happy contributing!

Kas1680 commented 2 years ago

Is this repo still active?

jdwilkin4 commented 2 years ago

Yes it is

a2937 commented 2 years ago

Can a question like what the HTML abbreviation stands for be added to the pool of questions?

jdwilkin4 commented 2 years ago

@a2937 I ran a search in the full-quiz.ts and there is already a question for the abbreviation of HTML on line 6566.

But the question should be modified because the current answer says
Answer: "Hyper Text Markup Language",

But it should say Answer: "HyperText Markup Language",

But in general, it is always best to check the list of questions first to see if it exists so we don't create duplicate questions.

Hope that helps!

a2937 commented 1 year ago

I wanna update an distraction answer to be "Friend Function" instead of "Friend functiom" ; as soon as I can think of an proper question involving template strings.

Aman0786-git commented 1 year ago

@jdwilkin4 Hello Ma'am I have added two CS quiz questions .I had pushed the changes but can you please help me out with pull request. This is my first open source contribution.Thank You.

jdwilkin4 commented 1 year ago

Hi @Aman0786-git !

I think it would be best if you post your question, with more information on where you are at in the git process in the freeCodeCamp forum so we can get a better idea of what the issue is. We will be able to better assist you there.

https://forum.freecodecamp.org/

jdwilkin4 commented 1 year ago

@Aman0786-git

You can also read through this helpful article on how to create pull requests https://opensource.com/article/19/7/create-pull-request-github

anp-scp commented 1 year ago

For the attribute "link", can we add link to Wikipedia articles?

jdwilkin4 commented 1 year ago

If people have questions about this issue, or questions in general on how to contribute, please use the GitHub discussions area. It will be easier to track conversations over there 👍

jdwilkin4 commented 1 year ago

For anyone interested in contributing, please read through the contributing documentation first.