diff --git a/curriculum/challenges/english/25-front-end-development/quiz-git/66f1b06a5a5d10cc100af620.md b/curriculum/challenges/english/25-front-end-development/quiz-git/66f1b06a5a5d10cc100af620.md index 0ab5e2e75bc..9396a26b97d 100644 --- a/curriculum/challenges/english/25-front-end-development/quiz-git/66f1b06a5a5d10cc100af620.md +++ b/curriculum/challenges/english/25-front-end-development/quiz-git/66f1b06a5a5d10cc100af620.md @@ -17,439 +17,439 @@ To pass the quiz, you must correctly answer at least 17 of the 20 of the questio #### --text-- -Placeholder question +Who can use `git`? #### --distractors-- -Placeholder distractor 1 +Developers --- -Placeholder distractor 2 +Administrators --- -Placeholder distractor 3 +Subscribers/Premium Users #### --answer-- -Placeholder answer +Everyone ### --question-- #### --text-- -Placeholder question +Why is using version control software a best practice for high performing software and DevOps teams? #### --distractors-- -Placeholder distractor 1 +A complete long-term change history of every file --- -Placeholder distractor 2 +Branching and merging --- -Placeholder distractor 3 +Traceability #### --answer-- -Placeholder answer +All of the options ### --question-- #### --text-- -Placeholder question +What are the main advantages of using sites like GitHub and GitLab? #### --distractors-- -Placeholder distractor 1 +They allow online shopping. --- -Placeholder distractor 2 +They are a social media platform for posting photos. --- -Placeholder distractor 3 +They only act as cloud storage for individual files. #### --answer-- -Placeholder answer +They provide version control and collaboration for code development. ### --question-- #### --text-- -Placeholder question +Which command would not display the current `git` version? #### --distractors-- -Placeholder distractor 1 +`git --version` --- -Placeholder distractor 2 +`git -v` --- -Placeholder distractor 3 +`git version` #### --answer-- -Placeholder answer +`git v` ### --question-- #### --text-- -Placeholder question +Which statement is true regarding encryption? #### --distractors-- -Placeholder distractor 1 +SSH keys cannot be used for encrypting data and communication. --- -Placeholder distractor 2 +Neither GPG keys nor SSH keys can be used for encrypting data and communication. --- -Placeholder distractor 3 +GPG keys can only be used for encrypting images and not for any other type of data. #### --answer-- -Placeholder answer +GPG keys can be used for encrypting data and communication. ### --question-- #### --text-- -Placeholder question +Who can you share a repository with? #### --distractors-- -Placeholder distractor 1 +Friends/classmates --- -Placeholder distractor 2 +Co-workers --- -Placeholder distractor 3 +Strangers #### --answer-- -Placeholder answer +All of the options ### --question-- #### --text-- -Placeholder question +What is the advantage of a `git` repository? #### --distractors-- -Placeholder distractor 1 +When we work on an open-source repository, it becomes easy to detract from the project. --- -Placeholder distractor 2 +By using GitHub or any other repository management tool, it’s easy to develop robust ignorance of the project. --- -Placeholder distractor 3 +Markdown allows you to use a simple text editor to write unformatted text documents. #### --answer-- -Placeholder answer +The repositories that you create on GitHub or Bitbucket can also integrate with different CI/CD tools like Jenkins. ### --question-- #### --text-- -Placeholder question +Which `push` command is correct? #### --distractors-- -Placeholder distractor 1 +`git push BRANCH-NAME` --- -Placeholder distractor 2 +`git push -r REMOTE-NAME BRANCH-NAME` --- -Placeholder distractor 3 +`git push REMOTE-NAME BRANCH-NAME --notforce` #### --answer-- -Placeholder answer +`git push REMOTE-NAME BRANCH-NAME` ### --question-- #### --text-- -Placeholder question +What is the correct way to contribute to other people's repositories? #### --distractors-- -Placeholder distractor 1 +`git add -> git commit -> git clone -> git push` --- -Placeholder distractor 2 +`git clone -> git commit -> git add -> git push` --- -Placeholder distractor 3 +None of the options #### --answer-- -Placeholder answer +`git clone -> git add -> git commit -> git push` ### --question-- #### --text-- -Placeholder question +`git checkout` works hand-in-hand with? #### --distractors-- -Placeholder distractor 1 +`git pull` --- -Placeholder distractor 2 +`git push` --- -Placeholder distractor 3 +`git commit` #### --answer-- -Placeholder answer +`git branch` ### --question-- #### --text-- -Placeholder question +You created a branch named `"alex"` for his work. Which command should you run to switch to that branch? #### --distractors-- -Placeholder distractor 1 +`git checkout` --- -Placeholder distractor 2 +`git checkout alex branch` --- -Placeholder distractor 3 +`git checkout -- alex` #### --answer-- -Placeholder answer +`git checkout alex` ### --question-- #### --text-- -Placeholder question +Which of the following is true? #### --distractors-- -Placeholder distractor 1 +Developers must wait for the maintainer to approve their changes. --- -Placeholder distractor 2 +Both statements are true. --- -Placeholder distractor 3 +Both statements are false. #### --answer-- -Placeholder answer +Team members can work simultaneously without impacting each other's contributions. ### --question-- #### --text-- -Placeholder question +Where can a contributor make a pull request? #### --distractors-- -Placeholder distractor 1 +GitHub.com --- -Placeholder distractor 2 +GitHub Codespaces --- -Placeholder distractor 3 +GitHub Mobile #### --answer-- -Placeholder answer +All of the options ### --question-- #### --text-- -Placeholder question +Why are code reviews important? #### --distractors-- -Placeholder distractor 1 +Promoting secrecy among teams. --- -Placeholder distractor 2 +Keeping innovation private. --- -Placeholder distractor 3 +Decreasing effectiveness. #### --answer-- -Placeholder answer +Coaching new developers. ### --question-- #### --text-- -Placeholder question +What is the file structure required for a GitHub Pages site? #### --distractors-- -Placeholder distractor 1 +All files must be in a `src` folder. --- -Placeholder distractor 2 +Only CSS files are allowed in the root. --- -Placeholder distractor 3 +JavaScript files cannot be included. #### --answer-- -Placeholder answer +HTML files should be in the root directory. ### --question-- #### --text-- -Placeholder question +How do you troubleshoot a 404 error on your GitHub Pages site? #### --distractors-- -Placeholder distractor 1 +Clear your browser cache. --- -Placeholder distractor 2 +Check if the correct branch is published. --- -Placeholder distractor 3 +Ensure the file names match the links exactly. #### --answer-- -Placeholder answer +All of the options. ### --question-- #### --text-- -Placeholder question +What command do you use to fetch changes from the remote repository? #### --distractors-- -Placeholder distractor 1 +`git get` --- -Placeholder distractor 2 +`git sync` --- -Placeholder distractor 3 +`git update` #### --answer-- -Placeholder answer +`git fetch` ### --question-- #### --text-- -Placeholder question +What should you add to your `.gitignore` to ignore all log files in your repository? #### --distractors-- -Placeholder distractor 1 +`log/*` --- -Placeholder distractor 2 +`logs/*.log` --- -Placeholder distractor 3 +`**/*.log` #### --answer-- -Placeholder answer +`*.log` ### --question-- #### --text-- -Placeholder question +What is a common branching strategy for managing features in `git`? #### --distractors-- -Placeholder distractor 1 +Monolithic branching: A single central branch for all development work. --- -Placeholder distractor 2 +Single branching: A method where only one branch is used for all changes. --- -Placeholder distractor 3 +Nested branching: A branching strategy that creates branches within branches. #### --answer-- -Placeholder answer +Feature branching: A strategy where separate branches are created for each feature development. ### --question-- #### --text-- -Placeholder question +What happens if you encounter a conflict during a rebase? #### --distractors-- -Placeholder distractor 1 +The rebase automatically completes. --- -Placeholder distractor 2 +The changes are lost. --- -Placeholder distractor 3 +The rebase fails and cannot be retried. #### --answer-- -Placeholder answer +You must resolve the conflict before continuing the rebase.