Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1git push origin feature/login | A[x] Input is validated before use in queries | |
| 2Status: Approved by reviewer | BReviewer: Sam | Decision: Changes requested | |
| 3A security checklist item the reviewer ticks off during a peer review | CA peer has finished the review, the checklist is satisfied, and the change is allowed to be merged | |
| 4The review decision is recorded on the pull request so there is an audit trail | DThe author approved their own change, so no independent peer checked it against the security checklist. | |
| 5git merge feature/login (no review done) | ESends your branch to the shared repository so a pull request can be opened for a peer to review before merging | |
| 6Reviewer: the author approves own pull request | FThe change was merged without a peer reviewing it or approving it, so no security checks were applied. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
peer code review — Another developer checks a change before it is merged, using a checklist that includes security checks, and approves it. The decision is recorded on the pull request.git push origin feature-loginIF reviewer != author THEN startReviewIF checklistPassed AND approved THEN mergepullRequest.decision = "approved"IF checksOk THEN approve ELSE reject