
Programming 2 - Lesson 10

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 a Git branch?
A folder in your project.
A standalone version of your project.
A Git command.
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Why do we use branches in Git? (Select all that apply)
To work on different parts of a project separately.
To track files that have been deleted.
To let multiple people work on the same project at the same time.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does HEAD point to in Git?
The latest commit made.
The branch you're currently on.
A deleted file.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to list all the branches in a Git repository?
git branch
git commit
git log
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when you switch branches in Git?
The latest commit is deleted.
The working directory changes to reflect the new branch.
All branches are merged automatically.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a feature branch?
To store deleted files.
To work on a specific part of a project separately.
To delete untracked files.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command would you use to create a new branch in Git?
git branch [branch-name]
git commit [branch-name]
git switch [branch-name]
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Git, what is the difference between an unmodified file and a modified file?
A modified file has been changed since the last commit.
An unmodified file has changes that haven’t been saved.
There is no difference.
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do commits in Git relate to each other?
Commits are linked through parent-child relationships.
Commits are unrelated to each other.
Commits overwrite each other.
Similar Resources on Wayground
12 questions
CHANDRASHEEL VIDYAPEETH,KANTI,MUZ. [ROLE OF IT IN EDUCATION]

Quiz
•
9th - 12th Grade
10 questions
ICE BREAKER

Quiz
•
1st Grade - Professio...
7 questions
Teste rhello 10

Quiz
•
1st Grade - University
10 questions
Database Transactions Quiz

Quiz
•
11th Grade
9 questions
VMFS Datastore Management Quiz

Quiz
•
11th Grade
10 questions
Project Management and Teamwork Quiz

Quiz
•
11th Grade
12 questions
RO81 LO1 Mind maps and visualisations

Quiz
•
9th - 11th Grade
9 questions
Protect your self from getting Scam.

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade