Version Control and Git-GitHub
Quiz
•
Other
•
University
•
Practice Problem
•
Hard
Ishita Agrawal
Used 7+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What is the best way to report a bug to a GitHub project?
Send an email to a project owner.
I don't bother reporting software bugs because there's no transparency and they never get fixed anyway.
Search for the bug in the project's existing issues and create a new one if it hasn't been reported yet.
None of these
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
How do you include a new file to your Git index?
a. Using the 'git include' command
b. Using the 'git add' command
c. Using the 'git commit' command
None of these
3.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Suppose you'd like to work with a project on GitHub, but you don't have write access to the project. What can you do to contribute?
Fork the project's repository to your GitHub account, clone the forked repository to your local machine, push changes to your repository, and submit a pull request to the target (upstream) repository.
Clone the project to your local machine and push updates directly to the project repository.
Use git commands to make a copy of the project so that you can work locally. Submit an issue to get your changes into the target repository.
None of these
4.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Suppose you created a bug fix on a new branch and want it to become part of the next production build generated from the main branch. What should you do next?
Copy your branch changes and commit them directly to the main branch.
b. Create a pull request to merge your new branch into the main branch.
On second thought, maybe I won't share this fix. I'll just put it in my own private version of the source code.
None of these
5.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What is a way to fix one of your past commits without needing to make a new commit?
a. Deleting the file and creating a new one in its place with the correct changes.
b. Utilizing the Git 'amend' tag
c. Revert the commit and make a new one
None of these
6.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which of the following scenarios is a common use case for a version control system?
Deleting earlier versions of a project or file, so you know you are working only with the most current file or data.
Making experimental changes to your project in an isolated branch.
Gathering feature requirements for a large project and communicating them to stakeholders.
None of these
7.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
What Git command gives information about how to use Git?
git init
git status
git help
None of these
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Critical Approaches to Literature
Quiz
•
University
12 questions
Alberta Natural Resources #2
Quiz
•
KG - University
15 questions
PDP
Quiz
•
University
13 questions
Accounting 100
Quiz
•
University
15 questions
FNSINC612 Practice 3
Quiz
•
University
10 questions
17 course French classical menu 01
Quiz
•
University
10 questions
e-Quiz (Day 4)
Quiz
•
University
14 questions
Brawl Stars
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University
