
Programming 2 - Lesson 11
Quiz
•
Computers
•
11th Grade
•
Easy
Rachel FitzZaland
Used 2+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of merging in Git?
To create a new branch.
To combine changes from one branch into another.
To delete a branch.
To clone a repository.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of merge occurs when the branch histories have not diverged?
Rebase
Detached HEAD
Fast-Forward Merge
Three-Way Merge
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the command to merge a branch named feature into the current branch?
git merge feature
git branch feature
git checkout feature
git switch feature
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does Git do if you try to switch branches with uncommitted changes?
Allows the switch and ignores the changes.
Deletes the changes.
Prevents the switch if the changes conflict with the new branch.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a three-way merge?
A merge that happens when branch histories have not diverged.
A merge that involves three branches.
A merge where the histories of two branches have diverged, and Git creates a merge commit.
A merge that deletes one of the branches.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command creates a new branch and switches to it in one step?
git switch -b branch_name
git branch branch_name
git checkout -b branch_name
git log branch_name
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a detached HEAD state?
When the HEAD pointer points directly to a commit instead of a branch.
When a branch has no commits.
When a branch is deleted.
When Git can’t find a commit.
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to view the commit history in Git?
git status
git log
git merge
git commit
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens to a branch after you merge it into another branch?
It gets automatically deleted.
It remains in the repository until you manually delete it.
It is renamed.
It disappears from the commit history.
Similar Resources on Wayground
13 questions
Computer class review
Quiz
•
7th - 12th Grade
13 questions
Algoritmos y Decisiones
Quiz
•
11th Grade
10 questions
Warstwy modelu OSI - kartkówka
Quiz
•
8th - 12th Grade
12 questions
Sistemul de operare Windows
Quiz
•
5th - 12th Grade
10 questions
GCSE CS Computer Networks
Quiz
•
9th - 12th Grade
10 questions
Arduino- Exercise 4 Random Dice
Quiz
•
11th Grade
12 questions
LABORATORIO 1 4TO BACO
Quiz
•
9th - 12th Grade
10 questions
Pre and Post Test Network Topology
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade