wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Module 6: QA Best Practices for Code Assurance

Total questions: 25

Worksheet time: 8mins

Name
Class
Date
1.

What is the primary purpose of coding standards in a development team?

a)

To restrict who can write code

b)

To define deployment schedules

c)

To provide shared rules for how code is written and structured

d)

To replace automated testing tools

2.

Which of the following is NOT a benefit of coding standards?

a)

Improved readability and consistency

b)

Easier onboarding of new contributors

c)

Increased dependency on individual developers

d)

Simplified long-term maintenance

3.

Why do consistent coding standards reduce errors?

a)

They eliminate the need for testing

b)

They remove ambiguous or inconsistent patterns

c)

They automatically fix bugs

d)

They enforce faster deployments

4.

What is the main goal of contribution guidelines?

a)

To automate code reviews

b)

To explain how to contribute to a repository clearly

c)

To manage production releases

d)

To monitor repository metrics

5.

Which topic is typically covered in contribution guidelines?

a)

Server infrastructure configuration

b)

Branching strategy and pull request rules

c)

Marketing documentation

d)

End-user licensing terms

6.

How do contribution guidelines improve code quality?

a)

By enforcing deployment approvals

b)

By reducing friction and setting clear expectations

c)

By replacing branch protection rules

d)

By preventing collaboration

7.

What is the primary purpose of branch protection rules?

a)

To speed up merging

b)

To safeguard critical branches from unreviewed changes

c)

To automate documentation updates

d)

To allow direct commits to main

8.

Why is branch protection important for QA?

a)

It allows bypassing reviews

b)

It enforces controlled review processes

c)

It reduces the need for testing

d)

It simplifies contributor permissions

9.

What is a key function of required reviews?

a)

Automatically merging pull requests

b)

Ensuring peer examination before merge

c)

Blocking automated testing

d)

Reducing repository visibility

10.

How do required reviews improve code quality?

a)

By enforcing individual ownership

b)

By catching logical or design issues early

c)

By replacing linting tools

d)

By increasing merge conflicts

11.

What role do status checks play in pull requests?

a)

They notify users of new branches

b)

They act as quality gates before merging

c)

They manage contributor access

d)

They replace code reviews

12.

Which is a key benefit of status checks?

a)

Allowing merges even when tests fail

b)

Blocking merges when automated checks fail

c)

Reducing CI execution

d)

Disabling linting tools

13.

Why is automated testing critical in pull request workflows?

a)

It replaces peer reviews

b)

It validates changes before merging

c)

It speeds up manual testing

d)

It removes the need for QA processes

14.

What is the main purpose of linting tools?

a)

Detect runtime errors in production

b)

Enforce style and formatting standards automatically

c)

Deploy applications

d)

Manage pull request approvals

15.

How does linting improve pull request reviews?

a)

By increasing review time

b)

By reducing time spent on style issues

c)

By replacing automated tests

d)

By blocking all merges

16.

What happens when automated tests and linting are configured as required checks?

a)

They become optional

b)

They act as mandatory quality gates

c)

They run only after merging

d)

They replace branch protection rules

17.

Which practice is part of making automation a mandatory quality gate?

a)

Ignoring failed checks

b)

Blocking pull requests when automation fails

c)

Allowing manual overrides without review

d)

Running tests only on release branches

18.

What does repository health indicate?

a)

Hardware performance

b)

Effectiveness of code quality and collaboration practices

c)

Number of contributors

d)

Programming language popularity

19.

Which is a key repository health indicator?

a)

Number of stars

b)

Stability of protected branches over time

c)

UI theme settings

d)

Contributor geographic location

20.

Why is monitoring team activity important?

a)

To limit collaboration

b)

To identify bottlenecks and improve workflows

c)

To reduce transparency

d)

To eliminate metrics tracking

21.

Which metric is commonly used to evaluate QA effectiveness?

a)

Commit message length

b)

Pull request review and merge times

c)

Number of emojis in comments

d)

Repository size

22.

Why are metrics only valuable when paired with action?

a)

Metrics automatically fix issues

b)

Insights must lead to workflow improvements

c)

Metrics replace coding standards

d)

Metrics remove the need for reviews

23.

What is the purpose of a CONTRIBUTING.md file?

a)

To document deployment secrets

b)

To standardize contribution and quality expectations

c)

To store test results

d)

To configure CI pipelines

24.

What does a green play icon in the GitHub branch protection UI indicate?

a)

The branch is deleted

b)

The ruleset is enforced

c)

Reviews are optional

d)

Automation is disabled

25.

Why might a pull request be blocked even if all automated checks pass?

a)

Missing documentation

b)

Branch protection requires at least one approving review

c)

Too many commits

d)

Linting tools are disabled