Search Header Logo

open source demo

Authored by ADNAN KHAN

Computers

University

Used 1+ times

open source demo
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step when contributing to an open-source project on GitHub?

Create a pull request

Fork the repository

Commit changes

Clone the repository

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

After forking a repository, what should you do next?

Create a branch

Make changes directly in the main branch

Clone the repository to your local machine

Delete the fork

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does creating a new branch allow you to do?

Delete all previous commits

Test code without affecting the main branch

Change the repository settings

Automatically merge code changes

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a best practice when naming a branch for fixing an issue?

Create random branch names

Name the branch after the main developer

Use meaningful names related to the issue (e.g., fix-username)

Name the branch main

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a pull request (PR)?

To send your changes directly to the main branch

To request that your changes be reviewed and merged into the original repository

To merge changes automatically

To delete your branch

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What should you include in your commit message?

A detailed explanation of the changes made

Random letters and numbers

A request for help

The date of the commit

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In GitHub Desktop, what action should you take to upload your changes to GitHub after committing them?

Click "Push origin"

Click "Revert"

Click "Merge"

Click "Pull request"

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?