
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
10 questions
K11 - bài 28 ảnh động

Quiz
•
11th Grade
10 questions
BÀI 28. TẠO ẢNH ĐỘNG

Quiz
•
11th Grade
12 questions
Spreadsheets Quiz

Quiz
•
9th - 12th Grade
10 questions
Jakob Nielsen's 10 Usability Heuristics

Quiz
•
10th Grade - University
10 questions
Microsoft Word Productivity Tools Quiz

Quiz
•
11th Grade - University
10 questions
Data in a Table

Quiz
•
5th - 12th Grade
9 questions
iMedia - R081

Quiz
•
9th - 11th Grade
10 questions
Searching & Sorting Algorithms

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade