5 exercises — practise the mandative subjunctive in API documentation, RFC-style requirements, security policies, and README guides.
0 / 26 completed
1 / 26
A developer is writing API documentation. Which sentence correctly uses the subjunctive mood to express a requirement?
The formal mandative subjunctive uses the base form of the verb (no "-s", no auxiliary). After "It is required that…", the structure is [subject] + base verb — so send, not sends or will send. This pattern is standard in API documentation, RFC specifications, and compliance guides: "It is required that each request include a nonce", "It is required that the implementation verify the signature". The subjunctive base form signals a formal obligation, clearly distinguishing technical requirements from casual instructions.
2 / 26
An RFC document reads: "It is essential that every endpoint _____ HTTPS." Which form is grammatically correct in formal technical writing?
Use (base form) is the correct subjunctive after "It is essential that…". Adjective + that constructions such as essential, important, necessary, vital, critical, imperative all trigger the mandative subjunctive in formal writing: "It is essential that the server use TLS 1.2 or higher". The third-person singular here does not take an "-s". This is a well-established rule in formal and legal English, and RFCs routinely use this structure: "It is critical that each response contain the correct Content-Type header."
3 / 26
A README section reads: "We recommend that the developer _____ the configuration file before running the tests." Which option is correct?
Review (base form) is correct. The verb recommend triggers the mandative subjunctive in formal registers: "We recommend that [subject] + base verb". Compare: "We recommend that all contributors sign the CLA", "We recommend that the operator back up the database before upgrading". In informal writing or speech you might hear "reviews" or "should review", but in technical documentation, README files, and style guides, the bare subjunctive form is preferred for its precision and formality.
4 / 26
A technical specification reads: "The spec mandates that the server _____ a 400 status code when the request body is malformed." Which is correct?
Return (base form) is the subjunctive after "mandates that". Verbs of mandate, demand, or requirement — mandate, require, demand, specify, stipulate, insist — all take the subjunctive base form in the following clause. Examples: "The spec mandates that the client close idle connections after 60 seconds", "The standard stipulates that the implementation reject duplicate request IDs". This pattern occurs throughout HTTP specifications (RFCs 7230–7235) and is the grammatical marker of a formal requirement rather than an informal suggestion.
5 / 26
A security policy document states: "It is imperative that each microservice _____ its own authentication token and _____ it with the identity provider." Which option correctly completes both blanks?
Generate … validate is correct. Both verbs in a mandative subjunctive clause take the base form — even when there are two verbs joined by and. The structure is: "It is imperative that [subject] + base verb + and + base verb". So: "It is imperative that each service generate a token and validate it". A common mistake is to inflect only one of the two verbs. Formal technical writing (security policies, compliance documents) requires consistency: both verbs must agree in subjunctive base form across coordinated predicates.
6 / 26
Code Review Comment: During a code review of the payment processing module, Alice comments to Ben: 'I'm concerned that if the validate_payment() function fails, the system should automatically retry the transaction.' Which phrasing best reflects the subjunctive mood needed in this context to express a desired behavior?
The subjunctive mood is used to express hypothetical or desired situations. Option 1 uses 'must' which implies an obligation, not a suggestion or requirement for the function's behavior. Option 2 correctly utilizes 'should' to indicate a recommended course of action, aligning with the context of a code review. Options 3 and 4 are simply present tense statements lacking the necessary grammatical structure.
7 / 26
Slack Message: Liam is discussing potential issues with the new API endpoint in a Slack channel. He writes: 'We need to ensure that the server handle_user_login() returns a 200 status code if the user's credentials are valid.' Which of the following options best reflects the use of the subjunctive mood here?
The subjunctive mood is employed to express a requirement or desired outcome. 'Should' correctly indicates that returning a 200 status code *is* what the function *should* do under specific conditions (valid credentials). 'Must' implies an obligation, which isn't necessarily present in this scenario—it's a recommendation for good design. Options 3 and 4 are less precise; 'will' suggests certainty, and 'can' indicates possibility.
8 / 26
PR Description: Sarah is submitting a pull request to update the documentation for the generate_report() function. She writes: 'The documentation states that the function should generate a report in JSON format.' Which phrase accurately demonstrates the use of the subjunctive mood?
Using 'should' in this context correctly expresses that the documentation describes what the function *is intended to do*. It's not stating a fact, but rather a requirement or expectation. The other options present statements of fact or probability, which don't utilize the subjunctive mood's function for expressing desired outcomes or conditions.
9 / 26
Standup Update: Mark is giving his daily standup update. He says: 'I'm working on ensuring that the process_order() function handles errors gracefully.' Which phrasing best utilizes the subjunctive mood in this context?
Employing 'should' in this case highlights the desired outcome—that the function *ought to* manage errors effectively. It's a recommendation for good design and robustness. 'Will' suggests certainty, which isn't guaranteed by the function's implementation, and 'can' indicates possibility, not a requirement.
10 / 26
Code Review Comment: During a code review of the payment processing module, Alice comments to Ben: 'I'm concerned that if the validate_payment() function fails, the system should automatically retry the transaction.' Which phrasing best reflects the subjunctive mood needed in this context to express a desired behavior?
The subjunctive mood is used to express hypothetical or desired situations. Option 1 uses 'must' which implies an obligation, not a suggestion or requirement for the function's behavior. Option 2 correctly utilizes 'should' to indicate a recommended course of action, aligning with the context of a code review. Options 3 and 4 are simply present tense statements lacking the necessary grammatical structure.
11 / 26
Slack Message: Liam is discussing potential issues with the new API endpoint in a Slack channel. He writes: 'We need to ensure that the server handle_user_login() returns a 200 status code if the user's credentials are valid.' Which of the following options best reflects the use of the subjunctive mood here?
The subjunctive mood is employed to express a requirement or desired outcome. 'Should' correctly indicates that returning a 200 status code *is* what the function *should* do under specific conditions (valid credentials). 'Must' implies an obligation, which isn't necessarily present in this scenario—it's a recommendation for good design. Options 3 and 4 are less precise; 'will' suggests certainty, and 'can' indicates possibility.
12 / 26
PR Description: Sarah is submitting a pull request to update the documentation for the generate_report() function. She writes: 'The documentation states that the function should generate a report in JSON format.' Which phrase accurately demonstrates the use of the subjunctive mood?
Using 'should' in this context correctly expresses that the documentation describes what the function *is intended to do*. It's not stating a fact, but rather a requirement or expectation. The other options present statements of fact or probability, which don't utilize the subjunctive mood's function for expressing desired outcomes or conditions.
13 / 26
Standup Update: Mark is giving his daily standup update. He says: 'I'm working on ensuring that the process_order() function handles errors gracefully.' Which phrasing best utilizes the subjunctive mood in this context?
Employing 'should' in this case highlights the desired outcome—that the function *ought to* manage errors effectively. It's a recommendation for good design and robustness. 'Will' suggests certainty, which isn't guaranteed by the function's implementation, and 'can' indicates possibility, not a requirement.
14 / 26
You're writing a technical specification for a new API endpoint. The document states: 'The system should log all requests to this endpoint.' Which of the following best uses the subjunctive mood in this context?
The subjunctive mood expresses a wish, suggestion, or hypothetical situation. Here, we're stating what *should* happen, not a definitive fact. 'Should' is the correct form to express a recommendation or requirement in this context. The other options use stronger language (must, required, will) that doesn't fit the nuance of a technical specification.
15 / 26
During a Slack discussion about debugging a performance issue in a microservice, Developer X writes: 'We need to ensure that the service returns data within 200 milliseconds.' Which sentence best demonstrates the correct use of the subjunctive mood?
The subjunctive mood is used to express a desired outcome or condition. 'Should' indicates a recommendation or expectation, which aligns with the need to improve performance. The other options imply a definite rule or certainty that isn't present in this scenario – a request for an ideal behavior.
16 / 26
Alice comments on a colleague's code: 'If the API call to the external service fails, we should log an error and retry.' Which phrasing best demonstrates the correct use of the subjunctive mood in this context?
The subjunctive mood is used to express a hypothetical or conditional situation. 'Should' indicates a recommendation or desired outcome rather than a factual certainty. Option 2 correctly uses 'will fail' to convey this possibility. Options A and C are statements of fact, while option D is a simple present tense statement.
17 / 26
During a debugging session in a Slack channel, David writes: 'We need to ensure that the database connection pool maintains at least five active connections.' Which sentence best utilizes the subjunctive mood appropriately?
The subjunctive mood is used to express a desired state or condition. 'Must' implies an obligation or requirement, while 'should' expresses a recommendation or ideal scenario. 'Will maintain' suggests a prediction rather than a necessity. Therefore, 'must maintain' is the most accurate use of the subjunctive in this situation.
18 / 26
In a pull request description for updating documentation about a data transformation function, Emily writes: 'The function should return a JSON object containing the transformed data.' Which phrasing best exemplifies correct subjunctive usage?
The subjunctive mood highlights a desired outcome or expected behavior. 'Should return' indicates what the function *ought* to do, reflecting a requirement or specification. Options A and C are statements of fact, while option B is a prediction.
19 / 26
During his daily stand-up, John says: 'I'm working on ensuring that the error handling mechanism gracefully handles unexpected input.' Which phrasing best demonstrates appropriate use of the subjunctive mood?
The subjunctive mood expresses a desired action or outcome. 'Should handle' indicates that this is the preferred or recommended way for the mechanism to operate, reflecting a goal rather than a definitive requirement. The other options are statements of fact or prediction.
20 / 26
During a code review of the user authentication service, David writes to Maria: 'If the username is not found, the system should return an error message and prevent further processing.' Which revision best utilizes the subjunctive mood in this context?
The subjunctive mood expresses a hypothetical or conditional situation. 'Should' indicates a recommendation or what *would* happen under certain conditions, aligning with the conditional nature of the failure scenario. 'Must' implies an obligation, which isn't appropriate for describing a potential outcome. Option B is the best fit.
21 / 26
In a Slack channel discussing API performance monitoring, Alex writes: 'We need to ensure that the API response time remains below 500ms for all requests.' Which sentence demonstrates the most accurate use of the subjunctive mood?
The subjunctive mood is frequently used to express desired outcomes or conditions. 'Should' indicates a recommendation or what *would* be desirable, aligning with the goal of maintaining performance. 'Must' implies a requirement, which isn't suitable for describing a target metric.
22 / 26
Sarah is updating the documentation for a batch processing job. She writes: 'The system should generate a report in CSV format if successful.' Which phrasing best reflects the correct usage of the subjunctive mood in this scenario?
The subjunctive mood is used to express possibilities or recommendations. 'Should' indicates what the system *ought* to do, reflecting the desired outcome of successful batch processing. 'Must' implies a certainty which isn't appropriate for describing a conditional result.
23 / 26
During a code review of a microservice responsible for handling user subscriptions, Emily comments to John: 'If the payment gateway fails to authorize the transaction, the system needs to automatically cancel the subscription.' Which sentence best demonstrates the correct application of the subjunctive mood?
'Should' is the key word for expressing a recommendation or conditional action. This accurately reflects the desired behavior – what the system *ought* to do when an authorization failure occurs; 'must' implies a rigid requirement that isn't appropriate here.
24 / 26
During a Slack discussion about troubleshooting a failing deployment, DevOps Engineer Robert writes: 'We need to ensure that the monitoring system alerts us if the application's uptime falls below 99.9%.' Which of the following best demonstrates the correct use of the subjunctive mood in this context?
The subjunctive mood is used to express a hypothetical or conditional situation. Option 1 correctly uses 'needs to ensure' to convey that this outcome *should* be monitored, not simply *will* occur. Options A and D are declarative statements, while Option B incorrectly frames the requirement as a certainty.
25 / 26
Alice is reviewing a colleague's code for a new data validation service. She writes in the code review comment: 'If the input data doesn't conform to the expected schema, the system should reject the request.' Which revision best utilizes the subjunctive mood appropriately?
The subjunctive mood is crucial when expressing a condition. 'Should' indicates possibility or recommendation, while 'must' implies an obligation. The correct phrasing uses 'should reject' to reflect that rejection is the *desired* outcome under the specified condition.
26 / 26
You're drafting a pull request description for updating the documentation for an API endpoint responsible for processing user profiles. You write: 'The endpoint should return a 201 Created status code if a new profile is successfully created.' Which of the following best uses the subjunctive mood in this context?
When describing expected behavior of an API, the subjunctive mood highlights what *should* happen. 'Should return' correctly indicates this conditional outcome based on the specified action (creating a profile). The other options incorrectly state requirements or obligations.
What will I practise in "Subjunctive Mood in Technical Documentation"?
Practice the subjunctive mood in formal technical writing: API docs, RFCs, security policies, and README files. 5 exercises for upper-intermediate learners.
How many exercises are in this module?
This module has 26 multiple-choice exercises, each with instant feedback and a full explanation of the correct answer.
Is this exercise free to use?
Yes. Every exercise on CoderSlingo, including this one, is free to use with no account, sign-up, or paywall.
Do I need to create an account to do these exercises?
No account is required. Just click an option to answer — your score for this session is tracked automatically in the progress bar above.
What happens if I choose the wrong answer?
You'll immediately see which answer was correct, plus a full explanation covering the grammar rule and reasoning behind it — mistakes are where most of the learning happens.
Can I retry the exercises if I want a higher score?
Yes — use the "Try again" button on the results screen to reset and go through all the questions again.
Is my progress saved if I close the page?
No. Progress is tracked only for your current visit; reloading or leaving the page resets the counter. This keeps the exercise simple and account-free.
Where can I find more Grammar exercises?
Browse the full Grammar hub for related drills, or check the "Next up" link below to continue with a connected topic.
How is this different from reading an article on the same topic?
Articles explain grammar rules in prose; this exercise tests and reinforces those rules through active recall with immediate feedback — the two work best together.
Who writes these exercises?
Every exercise is written by the CoderSlingo team, drawing on real workplace English used in IT roles, then reviewed for accuracy and clarity.