5 exercises — choosing between infinitive purpose clauses, in order to, so as not to, and finite so that clauses in specs and RFCs.
Key patterns:
to + verb — standard infinitive of purpose
in order to — more formal, emphasizes deliberateness
so as not to / in order not to — negative purpose
so that + subject + modal — required when the purpose clause has a different subject
0 / 25 completed
1 / 25
Which sentence correctly uses a non-finite infinitive clause of purpose in a design doc?
The infinitive of purpose, "to + base verb", is the standard way to express why something was done: to handle transient failures. Option A uses "for + gerund", which expresses function (what a thing is generally used for) rather than the specific purpose behind this action, and reads oddly with an active decision like "we added". Option C mixes "for" and "to", which is ungrammatical. Option D uses a present participle, which suggests simultaneous description rather than purpose.
2 / 25
Choose the sentence that correctly uses "in order to" versus plain "to" for emphasis on deliberate purpose in an RFC:
"In order to" is followed directly by the bare infinitive (to prevent) and is used to emphasize deliberateness or add formality compared to plain "to". Option B omits "to" after "order". Option C incorrectly inserts "for" between "order" and the verb. Option D uses a gerund (preventing) instead of the required infinitive form after "to".
3 / 25
Which sentence correctly uses a negative purpose clause with "so as not to" or "in order not to" in a code comment?
In the negative purpose construction, "not" goes immediately before "to", giving so as not to overwrite. Option A incorrectly splits the infinitive by placing "not" after "to" instead of before it (a stylistic and conventional error in this fixed phrase). Option C misplaces "not" before "so as", changing the logical scope. Option D combines "to" with a gerund, which is ungrammatical after this construction.
4 / 25
A specification states: "The API returns a 429 status _____ signal that the client should back off." Which non-finite structure correctly completes this purpose clause?
"To signal" is the correct infinitive of purpose, explaining why the API returns that status code. "For signaling" (option A) suggests general function rather than specific intent and is less idiomatic in this deliberate-action context. "Signaling" alone (option C) would describe simultaneous action, not purpose, and would need to modify a different element of the sentence. "For signal" (option D) is ungrammatical — "for" requires a gerund, not a bare noun/verb, in this pattern.
5 / 25
Which sentence correctly uses a purpose clause with "so that" plus a modal verb, contrasted with a non-finite infinitive clause, for a scenario requiring a different subject in the purpose clause?
When the purpose clause has a different subject from the main clause (here, "operators" rather than the implied "we/you" who adds the flag), a finite so that + subject + modal clause is required, not a bare infinitive. Option B is correct. Option A's infinitive clause implicitly refers back to the main clause's subject, losing the specific "operators" actor. Option C attempts a "for + object + to-infinitive" pattern but incorrectly uses the gerund "disabling" instead of the bare infinitive "disable". Option D omits the necessary conjunction "so that", producing a run-on sentence.
6 / 25
Code Review Comment: 'I've added a logging statement console.log(data) to track the user's session duration. This will help us identify potential performance bottlenecks.' Which phrase best describes the purpose of this action, using a non-finite clause?
The correct answer uses 'in order to' to clearly indicate a deliberate purpose – the action of tracking the session duration. 'To log the data' is too vague; it doesn't specify *why* the data is being logged. Options C and D misinterpret the logging statement's role, suggesting a secondary outcome rather than its primary function.
7 / 25
Slack Message: 'Sarah, please investigate the recent spike in error rates. We need to determine if we can reproduce it locally and understand the root cause.' Which sentence demonstrates the correct use of a non-finite clause here?
The phrase 'to investigate' correctly uses a non-finite infinitive clause of purpose. It describes the *action* Sarah is intended to perform. The other options either misinterpret the intended action or use 'if' incorrectly within the context of an imperative instruction – using 'if' here creates a conditional statement, not a purpose clause.
8 / 25
PR Description: 'The team has refactored the authentication module. This change will improve security by preventing unauthorized access to sensitive data.' Which phrase accurately completes the purpose clause?
'To prevent unauthorized access' is the most precise and grammatically correct use of a non-finite clause of purpose. It directly states the intended effect of the change – the *purpose* for which the refactoring was done. Options B and D are less direct, and option A uses 'in order to' unnecessarily.
9 / 25
Code Review Comment: 'I've added a logging statement console.log(data) to track the user's session duration. This will help us identify potential performance bottlenecks.' Which phrase best describes the purpose of this action, using a non-finite clause?
The correct answer uses 'in order to' to clearly indicate a deliberate purpose – the action of tracking the session duration. 'To log the data' is too vague; it doesn't specify *why* the data is being logged. Options C and D misinterpret the logging statement's role, suggesting a secondary outcome rather than its primary function.
10 / 25
Slack Message: 'Sarah, please investigate the recent spike in error rates. We need to determine if we can reproduce it locally and understand the root cause.' Which sentence demonstrates the correct use of a non-finite clause here?
The phrase 'to investigate' correctly uses a non-finite infinitive clause of purpose. It describes the *action* Sarah is intended to perform. The other options either misinterpret the intended action or use 'if' incorrectly within the context of an imperative instruction – using 'if' here creates a conditional statement, not a purpose clause.
11 / 25
PR Description: 'The team has refactored the authentication module. This change will improve security by preventing unauthorized access to sensitive data.' Which phrase accurately completes the purpose clause?
'To prevent unauthorized access' is the most precise and grammatically correct use of a non-finite clause of purpose. It directly states the intended effect of the change – the *purpose* for which the refactoring was done. Options B and D are less direct, and option A uses 'in order to' unnecessarily.
12 / 25
Code Review Comment: 'I've added a logging statement console.log(data) to track the user's session duration. This will help us identify potential performance bottlenecks.' Which phrase best describes the purpose of this action, using a non-finite clause?
The correct answer uses 'in order to' to clearly indicate a deliberate purpose – the action of tracking the session duration. 'To log the data' is too vague; it doesn't specify *why* the data is being logged. Options C and D misinterpret the logging statement's role, suggesting a secondary outcome rather than its primary function.
13 / 25
Slack Message: 'Sarah, please investigate the recent spike in error rates. We need to determine if we can reproduce it locally and understand the root cause.' Which sentence demonstrates the correct use of a non-finite clause here?
The phrase 'to investigate' correctly uses a non-finite infinitive clause of purpose. It describes the *action* Sarah is intended to perform. The other options either misinterpret the intended action or use 'if' incorrectly within the context of an imperative instruction – using 'if' here creates a conditional statement, not a purpose clause.
14 / 25
PR Description: 'The team has refactored the authentication module. This change will improve security by preventing unauthorized access to sensitive data.' Which phrase accurately completes the purpose clause?
'To prevent unauthorized access' is the most precise and grammatically correct use of a non-finite clause of purpose. It directly states the intended effect of the change – the *purpose* for which the refactoring was done. Options B and D are less direct, and option A uses 'in order to' unnecessarily.
15 / 25
John: 'We're deploying this new feature to production. The goal is to minimize downtime during the rollout.' Which of the following best completes this sentence using a non-finite purpose clause?
The phrase 'in order to' is a common and grammatically correct way to express deliberate purpose when using a non-finite clause. Options A, B, and D are all functionally equivalent in this context but 'in order to' provides the most precise structure for expressing intention here. Using a bare 'to' would be less formal and potentially ambiguous.
16 / 25
Maria (Lead DevOps) sends this Slack message: 'The team needs to update the monitoring dashboards. We need to ensure that any critical alerts are immediately visible.' Which sentence demonstrates the correct use of a non-finite clause for purpose?
'In order to' is the standard and most formal way to introduce a non-finite clause expressing purpose. It clearly indicates an intention or goal. While 'to' can sometimes express purpose, it's often considered less precise when contrasting with other grammatical structures like modal verbs or negative phrasing.
17 / 25
During a code review, David comments: 'I've added this error handling to prevent the application from crashing when encountering invalid input data. This will ensure that our users receive a graceful fallback message.' Which of the following best completes his statement using a non-finite purpose clause?
The phrase 'so that' is the most appropriate way to express purpose when introducing a consequence. 'To' often implies direct action or means, while 'in order to' is overly formal in this context. Using 'that' creates an unnecessary subordinate clause and lacks the clarity of 'so that'.
18 / 25
A PR description states: 'The team has implemented a new caching layer for frequently accessed data. This change will improve performance by reducing the load on the backend servers.' Which non-finite structure correctly completes this purpose clause?
'To' is the standard construction for expressing purpose in this type of technical description. It clearly indicates the intended outcome. 'So that' suggests a cause-and-effect relationship which isn't as direct here; 'in order to' is overly formal and 'that we could...' introduces an unnecessary clause.
19 / 25
During a standup update, Ben says: 'We're working on optimizing the API response times. We need to ensure that data is returned as quickly as possible.' Which sentence correctly uses a purpose clause with 'so that' plus a modal verb, contrasted with a non-finite infinitive clause?
The structure 'In order to + clause' is appropriate for stating a goal. The contrast with the non-finite infinitive clause (optimizing) highlights the action being taken *to* achieve that goal. Option 1 and 2 are awkwardly phrased; option 4 reverses the logical flow.
20 / 25
David: 'I've added this unit test to verify the data validation logic. This will help us catch invalid input early in the development process.' Which of the following best completes this sentence using a non-finite purpose clause?
This scenario focuses on testing and quality assurance. 'So that' + a modal verb (can) is the correct structure here, signifying the desired outcome of early detection – improving code coverage. Options A and C are related to testing but not the precise purpose clause function; option B is grammatically awkward.
21 / 25
Maria, the DevOps engineer, sent this Slack message: 'We need to monitor the database performance closely. So that we can identify and address any potential bottlenecks before they impact users.' Which phrase best describes Maria's intention?
Maria uses 'so that' to express a purpose – she wants to *actively* prevent problems. The incorrect options focus on reporting or requesting resources without conveying this proactive intent. This demonstrates the use of a non-finite clause to state an intended outcome.
22 / 25
During a code review, John commented: 'I've added this unit test to verify the data validation logic. _____________________, we can ensure that our application handles unexpected input correctly.'
The correct answer, 'So that', is a classic construction for expressing purpose clauses. The sentence highlights the intended result of having the unit test – to ensure robust handling of unexpected input. 'Therefore,' 'Consequently,' and 'Thus' are suitable connectors but don't directly express the *purpose* of the test.
23 / 25
David: 'The team is implementing a new caching layer for frequently accessed data. We need to ensure that API requests return quickly.' Which sentence demonstrates the correct use of a non-finite purpose clause?
David's sentence uses 'we need to ensure that' followed by a clause describing the *desired outcome* – faster API requests. This is the core structure of a non-finite purpose clause. The other options rephrase this intention in less precise or grammatically awkward ways.
24 / 25
Sarah (Product Manager) needs to document the new feature's impact on user experience. Write a short sentence using a non-finite purpose clause that explains her goal.
The best answer, 'So that users can benefit from the new functionality,' correctly uses 'so that' to express the purpose – the intended *result* of Sarah's documentation. It clearly shows how the documentation serves a specific goal related to user experience.
25 / 25
Ben (Senior Developer) sends this message during a standup: 'We're refactoring the data processing pipeline. We need to ensure that it handles large datasets efficiently.' Which of the following best completes this sentence using a non-finite purpose clause?
Using 'so that' indicates the intended outcome – efficient handling of large datasets. This is a standard structure for conveying purpose and aligns with technical writing conventions when discussing system performance.
What will I practise in "Non-Finite Purpose Clauses in Technical Writing — IT English Grammar Exercise"?
Practice non-finite purpose clauses — to + verb, in order to, so as not to, for + gerund — versus finite so that clauses in specs and RFCs.
How many exercises are in this module?
This module has 25 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.