GitHub Session2

GitHub Session2

University

26 Qs

quiz-placeholder

Similar activities

classroom expression

classroom expression

1st Grade - University

21 Qs

Friday Night Funkin :)

Friday Night Funkin :)

KG - University

23 Qs

Express Your Stack: Quiz on Web Wizards

Express Your Stack: Quiz on Web Wizards

University

30 Qs

PreAssessment Backend  pratyaksh athani

PreAssessment Backend pratyaksh athani

University

30 Qs

Module 4 Quiz: Programs and Apps

Module 4 Quiz: Programs and Apps

University

22 Qs

React Day-7,8

React Day-7,8

University

30 Qs

DATA VS INFORMATION

DATA VS INFORMATION

University

22 Qs

GLS 613 (Chapter 1 to 6) Please fill "Name_No. Matrik"

GLS 613 (Chapter 1 to 6) Please fill "Name_No. Matrik"

University

30 Qs

GitHub Session2

GitHub Session2

Assessment

Quiz

Other

University

Medium

Created by

Daba Own

Used 1+ times

FREE Resource

26 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
  1. What command is used to create a new branch?

  1. git branch new

  1. git create-branch

  1. git start-branch

  1. git branch <name>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
  1. What is the default branch name in modern Git?

  1. CSE

  1. default

  1. main

  1. trunk

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What Git feature lets you manage multiple features or fixes separately?

  1. Logs

  1. Branches

  1. Commits

  1. Diffs

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What happens when you merge two branches?

  1. One is deleted

  1. You replace the main branch

  1. You combine their commit histories

  1. You undo changes

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
  1. What is the " .gitignore " file used for?

  1. To exclude specific files/folders from tracking

  1. To ignore merge conflicts

  1. To ignore commands

  1. To list deleted files

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What is a fast-forward merge?

  1. A merge with no changes

  1. A direct update of the main branch pointer

  1. A merge with a time limit

  1. A pull from a remote

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. When do merge conflicts occur?

  1. When forgetting " git add "

  1. When files are missing

  1. When pushing to remote

  1. When two branches modify the same lines

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?