Used To and Would for Past Habits in Technical English
5 exercises — practise used to and would for describing discontinued legacy system behavior.
0 / 18 completed
1 / 18
A migration doc describes an old system's repeated behavior. Choose the sentence that correctly uses "used to" for a past habit that no longer happens:
"Used to retry" is correct: "used to" + base verb form describes a repeated past action or state that no longer occurs, which fits describing legacy system behavior that has since been replaced. Option A incorrectly uses "use to" instead of "used to" — the "-d" ending is required regardless of subject. Option B confuses "used to" (habitual past) with "be used to" (accustomed to), a completely different structure that would require a gerund and does not express a discontinued repeated action. Option C incorrectly follows "used to" with a gerund instead of the required base verb form.
2 / 18
Which sentence correctly uses "would" (not "used to") for a repeated past action, in a context where a past time frame is already established?
"Would prompt" correctly uses "would" + base verb to describe a repeated past action, which works well here because the time frame ("back when we ran the monolith") is already clearly established, making "would" a natural, less repetitive alternative to another "used to". Option B misuses "would" with a state verb structure ("be a manual confirmation"), which does not make sense as an action description. Option C incorrectly follows "would" with the past tense form "prompted" instead of the required base form "prompt". Option D is grammatically valid but is an incomplete/different meaning than intended — it does not describe the confirmation behavior described in the other options and doesn't match the context provided.
3 / 18
Which sentence is grammatically INCORRECT because "would" cannot be used for past STATES (not repeated actions)?
"The legacy server would have very limited memory" is incorrect: "would" is restricted to repeated past actions/events, not ongoing past states like possessing a fixed amount of memory — for states, only "used to" (or simple past) is grammatical: "the legacy server used to have very limited memory" or "the legacy server had very limited memory." The other three sentences all describe repeated, event-like past actions (evicting, returning, running), which is exactly the pattern "would" is grammatically permitted to describe, making them all correct.
4 / 18
A documentation page compares old and current system behavior. Choose the sentence that most naturally and correctly sets up a contrast using "used to":
"Used to process... now it streams" correctly contrasts a discontinued past habit with current behavior, which is exactly the strength of "used to" — clearly signaling "this was true before, but is not true now." Option A incorrectly uses the present tense form "uses" instead of "used". Option B omits the required "to" after "used", which is ungrammatical. Option C incorrectly conjugates as a continuous form ("is using to"), which is not a valid construction with this meaning.
5 / 18
Which sentence correctly shows that "would" CANNOT be substituted for "used to" when the meaning is a past state rather than a repeated action, even though both can otherwise describe the past?
Option A is the pair that does NOT work with "would": "have a dark-mode toggle" describes a fixed, unchanging past STATE (the dashboard simply possessed this feature), and "would" cannot replace "used to" for states — only for repeated, event-like actions. The other three pairs (B, C, D) all describe repeated actions or events (sending an email nightly, failing intermittently across multiple build runs, escalating tickets repeatedly), which is exactly the category "would" is permitted to describe, so "used to" and "would" are correctly interchangeable in those three cases.
6 / 18
During a code review of the legacy billing system, Sarah commented: 'The calculate_invoice_total function used to always log every transaction, even if it was zero.' Which sentence best explains why this phrasing is appropriate?
'Used to' is correct here because it describes a past habit or characteristic of the function – that it *always* logged. The key point is that this behavior no longer exists in the current version. 'Would' would imply a specific time period when this logging always occurred, which isn't stated and creates ambiguity.
7 / 18
In a Slack message to the team discussing the old data processing pipeline, Mark writes: 'The system process_datawould frequently throw exceptions when handling large files.' What does this sentence mean in the context of legacy systems?
'Would' correctly describes a *repeated* past event – the system frequently throwing exceptions. This suggests a pattern of behavior that's worth noting when discussing the legacy pipeline and potential issues. 'Used to' would be more appropriate if describing a permanent characteristic of the process.
8 / 18
During a PR review for a system update, David says: 'The old reporting tool would display a default report even if no user selected one.' This statement is best understood through the lens of
'Would' correctly indicates a repeated past action—the system *always* displayed the default report regardless of user input. This behavior is a characteristic of the legacy tool that needs to be understood when comparing it to the current version's more flexible reporting options. 'Used to' would be better for describing a state of being, like 'The system used to always generate reports.'
9 / 18
During a code review of the legacy billing system, Sarah commented: 'The calculate_invoice_total function used to always log every transaction, even if it was zero.' Which sentence best explains why this phrasing is appropriate?
'Used to' is correct here because it describes a past habit or characteristic of the function – that it *always* logged. The key point is that this behavior no longer exists in the current version. 'Would' would imply a specific time period when this logging always occurred, which isn't stated and creates ambiguity.
10 / 18
In a Slack message to the team discussing the old data processing pipeline, Mark writes: 'The system process_datawould frequently throw exceptions when handling large files.' What does this sentence mean in the context of legacy systems?
'Would' correctly describes a *repeated* past event – the system frequently throwing exceptions. This suggests a pattern of behavior that's worth noting when discussing the legacy pipeline and potential issues. 'Used to' would be more appropriate if describing a permanent characteristic of the process.
11 / 18
During a PR review for a system update, David says: 'The old reporting tool would display a default report even if no user selected one.' This statement is best understood through the lens of
'Would' correctly indicates a repeated past action—the system *always* displayed the default report regardless of user input. This behavior is a characteristic of the legacy tool that needs to be understood when comparing it to the current version's more flexible reporting options. 'Used to' would be better for describing a state of being, like 'The system used to always generate reports.'
12 / 18
During a code review of the legacy inventory management system, Alex commented: 'The update_stock_level script used to automatically decrement the quantity by one when an order was placed.' Which sentence best describes the meaning of this statement?
'Used to' here describes a past habit – a repeated action that occurred in the past. The script 'used to' automatically decrement the quantity. Option A is incorrect because it discusses error handling, not the meaning of 'used to'. Option C is wrong as Alex isn't describing a current problem. Option D misinterprets 'used to' as a desired future state.
13 / 18
During a code review comment for the legacy reporting module, Emily says: 'The old report generator would always generate a PDF document regardless of user selection.' Which of the following best captures the intent of this statement?
'Would' in this context emphasizes a habitual past action – the system 'would always generate' a PDF. This indicates a default behavior that no longer exists. Option A accurately reflects Emily's focus on a consistent past output format, and options B and C are less precise descriptions of the situation.
14 / 18
In a PR description for a system overhaul, David writes: 'The original API endpoint always returned a 200 OK status code.' Which sentence best explains why using 'used to' is more appropriate here than 'would'?
'Used to' is best used to describe a past state or default behavior that has since changed. The API 'used to' return a 200 OK status code – this was its *default* and no longer applies. Option 'B' correctly identifies the key difference between the two structures; 'would' describes an action, not a state.
15 / 18
A code review comment on a legacy system's logging mechanism reads: 'The log_event function used to write all events to the console.' Which of the following statements best reflects the meaning of this comment?
'Used to' indicates a habitual past action – the function 'used to' write all events to the console. This highlights a default behavior that has likely been changed. Option A describes a *current* configuration change, not a past habit; options B and C are irrelevant interpretations of the comment.
16 / 18
During a standup update, John describes the old user authentication system. He says: 'The login process would always prompt for a password, even if the user was already authenticated.' Which sentence best explains why using 'would' is appropriate here?
'Would' correctly conveys a repeated past action – the system *always* prompted for a password. 'Used to' implies a habitual state that might have changed over time, which isn't suggested by John's statement. The key here is a recurring event, not a general description of the past.
17 / 18
In a Slack message to the team discussing a bug in the legacy system, Alice writes: 'The data validation script used to throw an error if the input field was empty.' Which of the following options best describes the meaning of this sentence?
'Used to' is appropriate here because it describes a repeated action – the script *used to* throw an error. It doesn't imply that this behaviour has permanently changed, just that it was a typical past response to empty input fields. 'Would' would suggest a specific timeframe.
18 / 18
David is reviewing a commit message for a change to the legacy system's configuration file. The message reads: 'The system would always log all API requests to a dedicated file.' Which of the following statements best describes what this sentence means?
'Would' correctly describes a repeated action – the system *always* logged API requests. It doesn't specify when this occurred, just that it was a habitual behaviour of the system. The focus is on the past habit itself.
What will I practise in "Used To and Would for Past Habits in Legacy System Descriptions — IT Grammar Exercise"?
Practise choosing between used to, would, and simple past to describe repeated past actions and states when documenting discontinued legacy system behavior.
How many exercises are in this module?
This module has 18 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.