wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

OSS Contribution

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What is the first step in contributing to an open-source project as a beginner?

a)

Modify the source code directly

b)

Fork the repository and clone it to your local machine

c)

Write a blog post about the project

d)

Request access to the project's server

2.

What should you do after forking an open-source repository to contribute?

a)

Modify the repository without checking any open issues

b)

Check the project's contribution guidelines and open issues

c)

Immediately submit a pull request

d)

Change the project’s name and description

3.

Why is it important to communicate with the maintainers before making changes to an open-source project?

a)

To avoid conflicts with other contributors

b)

To get approval and ensure your changes align with the project's goals

c)

To ask for financial compensation for your work

d)

To ask the maintainers to do the work for you

4.

What is a good practice when reviewing pull requests from other contributors in an open-source project?

a)

Approve everything without reviewing the code

b)

Reject all pull requests unless they are from senior developers

c)

Give constructive feedback, test the code, and suggest improvements where necessary

d)

Ignore pull requests until there are many pending

5.

If you are contributing a new feature to an open-source project, what should you include in your pull request?

a)

Only the feature code and tests

b)

A clear description of the feature, code, and any necessary tests or documentation

c)

A long list of items that were changed

d)

Just the feature code, with no explanation

6.

Why is it helpful to write tests when contributing to open-source projects?

a)

It’s required for all contributions

b)

It ensures that your code works as expected and doesn’t break existing functionality

c)

It adds unnecessary complexity to the project

d)

It’s only necessary for large contributions

7.

Which GitHub feature helps beginners find issues suitable for their skill level?

a)

“Projects” tab

b)

“Good first issue” label

c)

“Star” button

d)

“Actions” tab

8.

What does "README.md" typically contain in an open-source project?

a)

A list of contributors

b)

The project's license only

c)

Documentation on how to install and use the project

d)

A random list of files in the repository

9.

Which of the following is a best practice when contributing code?

a)

Submitting pull requests with many changes

b)

Writing meaningful commit messages

c)

Ignoring feedback from maintainers

d)

Making changes directly to the main branch without review

10.

Which command is used to clone an open-source repository from GitHub?

a)

git copy

b)

git clone <repository-url>

c)

git pull

d)

git fetch