English Playground · englishplayground.net/use-of-english/open-cloze-learning-to-code
One word in each gap: learning to code
Use of English · C1 Advanced
Name (write here)
Class (write here)
Date (write here)
In an open cloze, you write one word in each gap — never two words, and never a contraction such as don't or hadn't. Often the clue that decides the answer sits several words away on the other side of the clause.
In this lesson, you practise spotting inversion triggers, multi-word linkers and fixed phrases before tackling an eight-gap text about learning to code at a school club.
Reading across the whole sentence
Looking only at the word right before and right after a gap is rarely enough. When a clause puts an auxiliary verb before its subject (did we, had she, should anyone), you know the gap belongs to a negative or limiting expression at the front.
Similarly, multi-word linkers and set expressions stretch across several words. Check prepositions, -ing forms and paired words such as than, but … also or or further along the sentence before choosing your word.
| Target | Clues in the sentence | Examples |
|---|---|---|
| Inversion words | Auxiliary + subject order (should you, did we, had they) | Under no circumstances should you delete the backup folder. Little did we suspect how popular the project would become. |
| Complex linkers | Paired prepositions, that-clauses or -ing forms | Provided that the solar panel gets light, the sensor keeps recording. Save a copy in case the battery dies. Despite the fact that it rained, testing went ahead. |
| Fixed phrases | Idiomatic chunks whose small words never change | We solved the puzzle by trial and error. At first glance, the circuit looked tangled. Half the instructions were out of date. |
- Question: Never (one word) had a Year 9 team reached the national robotics final.
- Answer: Never before had a Year 9 team reached the national robotics final.
Never is already in place and had a Year 9 team reached is inverted past perfect, so before completes the emphatic time phrase Never before.
Exercise 1: Inversion words and auxiliaries
Choose the correct word for each gap. Circle the right answer in the brackets.
- 1
On (some / no / any / every) account must anyone unplug the 3D printer while the nozzle is still hot.
- 2
Only (when / then / than / that) the battery warning flashed red did Maya remember to plug in her laptop.
- 3
Scarcely (has / did / was / had) the robotics team placed their rover on the ramp when one wheel came loose.
- 4
Seldom (have / are / do / were) newcomers nowadays write a whole program alone when teamwork is so much faster.
- 5
Not once (while / during / since / until) the whole competition did our weather sensor lose its signal.
- 6
Only by testing each section separately (must / are / can / do) you be sure where a calculation goes wrong.
Exercise 2: Complex linkers and fixed phrases
Choose the only word that fits each gap. Circle a, b, c or d.
- 1
Anyone in Year 10 or 11 is welcome to join the Friday coding workshop, (gap) of how much experience they have.
- acontrary
- bdespite
- cwhereas
- dregardless
- 2
Liam added short notes beside each block of code (gap) condition that everyone else in the group did the same.
- ain
- bby
- cat
- don
- 3
We simplified the start menu (gap) the expense of a few decorative sound effects, and players found it much clearer.
- aon
- bby
- cat
- din
- 4
(gap) that the school hall has no Wi-Fi signal, our quiz game needs to work completely offline.
- aOwing
- bGiven
- cSuppose
- dExcept
- 5
Even experienced programmers struggle to make (gap) of an error message when they are tired.
- atruth
- bsense
- cpoint
- dmind
- 6
Our team built a timetable helper (gap) a view to saving new Year 7 pupils from getting lost in their first week.
- afor
- bin
- cfrom
- dwith
Exercise 3: Complete the troubleshooting guide
Complete each sentence with one word from the box. There are two extra words.
- case
- short
- if
- unless
- of
- contrary
- despite
- terms
- 1
Out (gap) sheer curiosity, Priya opened the sound settings to see how the game generated drumbeats.
- 2
Even (gap) your first attempt crashes straight away, resist the urge to delete everything and start again.
- 3
Simple games often beat flashy ones in (gap) of how enjoyable they are to play with friends.
- 4
Watching our tiny solar-powered buggy steer itself round chairs was nothing (gap) of astonishing.
- 5
Typing speed matters very little; (gap) to popular belief, programmers spend far more time reading than typing.
- 6
Never overwrite a working version of your project (gap) you have saved a backup copy first.
Exercise 4: Spot the open-cloze trap
Each sentence has one wrong word. Find it. Underline the mistake and write the right word on the line.
- 1
Although its tiny memory, the pocket microcontroller ran our weather program smoothly. (right word)
- 2
Your score counter will keep rising accurately as far as nobody presses two arrow keys at once. (right word)
- 3
Rarely did our coding mentor gave us the answer directly; instead, she asked a helpful question. (right word)
- 4
At the long run, writing tidy notes beside your functions saves hours of confusion. (right word)
- 5
Much at everyone's relief, the hall projector came back to life two minutes before our demonstration. (right word)
Exercise 5: From baffled beginner to club mentor
Read the article about a school coding club and write one word in each gap. Do not use contractions.
- 1
Joining our school's Wednesday coding club started almost by accident when a friend dared me to come along. (gap) from being the silent room of solo screen-staring I had pictured, the computer lab was full of laughter and half-finished games. At first, our pair could not agree on (gap) to make a music tool or a pixel maze, so we tossed a coin. No (gap) how carefully I checked each line, our character kept vanishing off the left-hand edge of the screen. Eventually, we spotted a minus sign in the wrong place, and no (gap) had we deleted it than the character bounced cleanly off every wall. (gap) only did our maze start working properly, but we also added a timer that sped up on each level. When (gap) comes to fixing a stubborn bug, stepping away from the keyboard for five minutes often helps more than staring harder. Coding has taught me to split large tasks into small steps so (gap) not to feel overwhelmed before I even begin. Seeing younger pupils queue up at lunchtime to play a game we built from scratch made the effort all (gap) more rewarding.
English Playground · englishplayground.net/use-of-english/open-cloze-learning-to-code
Answer key
One word in each gap: learning to code · C1
Exercise 1: Inversion words and auxiliaries
- 1no
- 2when
- 3had
- 4do
- 5during
- 6can
Exercise 2: Complex linkers and fixed phrases
- 1d regardless
- 2d on
- 3c at
- 4b Given
- 5b sense
- 6d with
Exercise 3: Complete the troubleshooting guide
- 1of
- 2if
- 3terms
- 4short
- 5contrary
- 6unless
Exercise 4: Spot the open-cloze trap
- 1Although should be Despite
- 2far should be long
- 3gave should be give
- 4At should be In
- 5at should be to
Exercise 5: From baffled beginner to club mentor
- 1far; whether; matter; sooner; not; it; as; the