Programming 2 - Lesson 11

Programming 2 - Lesson 11

11th Grade

9 Qs

quiz-placeholder

Similar activities

Access - Lesson 8

Access - Lesson 8

9th - 12th Grade

10 Qs

Word 2016 - Lesson 2 - Basic Editing

Word 2016 - Lesson 2 - Basic Editing

9th - 12th Grade

10 Qs

Quiz AIJ - VLAN 11 TKJ

Quiz AIJ - VLAN 11 TKJ

11th Grade

14 Qs

PTS Administrasi Infrastruktur Jaringan

PTS Administrasi Infrastruktur Jaringan

11th - 12th Grade

10 Qs

KKPI

KKPI

10th - 12th Grade

10 Qs

Working with tables

Working with tables

5th - 12th Grade

10 Qs

Mr. Baker's Class Rules

Mr. Baker's Class Rules

7th - 12th Grade

10 Qs

Programming 2 - Lesson 11

Programming 2 - Lesson 11

Assessment

Quiz

Computers

11th Grade

Practice Problem

Easy

Created by

Rachel FitzZaland

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?