Version Control and Git-GitHub

Quiz
•
Other
•
University
•
Hard

Ishita Agrawal
Used 5+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
RSS Quiz

Quiz
•
University
15 questions
Freshers Quiz

Quiz
•
University
13 questions
CNCF Landscape

Quiz
•
University
10 questions
QUIZ 4 (ENG VER)

Quiz
•
University
10 questions
PCC Resources Quiz

Quiz
•
University
15 questions
LinkedIn and GitHub Quiz

Quiz
•
University
15 questions
LinkedIn and GitHub Quiz

Quiz
•
University
15 questions
LinkedIn and GitHub Quiz

Quiz
•
University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade