The questions in this quiz are multiple choice. To answer the questions, edit this file and in the space after 'Answer: ' insert the number corresponding to your choice. e.g.
Answer: 3
When you have finished answering questions, commit your changes and push the commit back to GitHub.
Q1. Which statement about GitHub Classroom is true?
- GitHub Classroom provides an alternative interface for students to use, instead of using GitHub.
- GitHub Classroom is a teacher-facing tool that uses the GitHub API to enable the GitHub workflow for education.
- GitHub Classroom is a website that provides online courses to learn about GitHub.
- GitHub Classroom is developed by 3rd party developers but uses the GitHub API to integrate into GitHub.
Answer: 2
Q2. What does the command git add
do?
- Adds a file to GitHub
- Adds a file to the staging area
- Adds a file to the .git directory
- Adds a file to the working directory
Answer: 2
Q3 . What Git commands can be used to correct mistakes?
git reset
andgit recover
git rebase
andgit remove
git reset
andgit revert
git revert
andgit remove
Answer: 3
Q4. Which GitHub feature provides task automation and workflow functionality, which can be used to implement CI/CD?
- Forking
- Pages
- Pull Requests
- Actions
Answer: 4
Q5. Pull requests provide a mechanism to request which git action?
- commit
- branch
- merge
- push
Answer: 3