
Programming 2 - Lesson 11
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Easy
Rachel FitzZaland
Used 2+ times
FREE Resource
Enhance your content in a minute
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.
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
12 questions
Search Algorithms
Quiz
•
9th - 11th Grade
10 questions
AQA A Level Computer Science - networking review quiz
Quiz
•
11th - 12th Grade
10 questions
Computer Hardware
Quiz
•
3rd - 11th Grade
12 questions
COMPUTER NETWORKING
Quiz
•
10th Grade - University
10 questions
Ulangan Harian
Quiz
•
11th Grade
10 questions
Technology, IT and ICT
Quiz
•
5th Grade - University
10 questions
Conceptos Básicos de internet y redes
Quiz
•
9th Grade - Professio...
10 questions
Computer Components Quiz
Quiz
•
9th - 11th Grade
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
