Home / Lessons

Lesson

Computer Science Vocabulary – Part 2

Published Quiz includedFree PDF guide
Themes:Technology
Computer Science Vocabulary, Part 2. A pupil holds up a score of 60 beside a retro monitor showing score greater than or equal to pass mark.

Maya got 60. The pass mark was 60. The program said she’d failed. Maya would like a word.

In Computer Science Vocabulary – Part 1, we explored the language of methods, loops and errors. Part 2 introduces testing and debugging vocabulary: the words you need to describe a problem, investigate it and explain a fix. You’ll practise with exam scores, login forms and an online shopping basket.

Testing and debugging vocabulary

Testing checks whether software behaves as expected. Debugging means finding and fixing the cause of a problem. Learn the words below with their example phrases: programmers run a test, reproduce a bug and set a breakpoint.

TermMeaningExample
Bug
Noun
A fault in software that can cause unwanted behaviour.“There’s a bug in the checkout: it charges delivery twice.”
Test case
Noun
A specific check with an input or action and an expected result.“Use an empty password field as a test case.”
Expected result
Noun phrase
What should happen according to the requirements.“The expected result is an error message.”
Actual result
Noun phrase
What really happens when you run the test.“The actual result is a blank screen.”
Boundary value
Noun phrase
A value at the edge of a range or where a rule changes.“If the minimum age is 18, test the boundary value 18.”
Edge case
Noun phrase
An unusual or extreme situation that a program needs to handle.“An empty shopping basket is an edge case we should test.”
Debug
Verb
To find and fix faults in a program.“We need to debug the login code.”
Reproduce
Verb
To make the same problem happen again.“I can reproduce the bug by clicking Pay twice.”
Trace
Verb / noun
To follow the steps of a program; a record of those steps.“Trace the loop and note how the total changes.”
Breakpoint
Noun
A point where a debugger pauses a running program.“Set a breakpoint before the total is calculated.”
Inspect
Verb
To examine something carefully.“Inspect the variables to check the basket total.”
Retest
Verb
To test again, often to check that a particular fix worked.“Retest the checkout after changing the delivery rule.”
Regression test
Noun phrase
A test used to check that changes have not broken previously working behaviour.“Run the regression tests after updating the app.”

Edge case or boundary value? A boundary value sits at a limit, such as the £25 minimum for free delivery. An edge case is broader: an empty basket, a single-item list or an unusually long name. The terms can overlap: a test at a boundary may also be described as an edge case.

Useful phrase: “It works with typical inputs, but we need to check the edge cases.”

A bug in action: the pass mark

The rule is simple: a score of 60 or more is a pass. The Java method countPassed counts how many scores meet that rule. With just one score to check, it should return 1 for a pass and 0 for a fail.

The faulty comparison is score > passMark. Read > as “greater than”. It excludes a score that is equal to the pass mark.

Test inputExpected resultActual result with >
590 — fail0 — fail
601 — pass0 — fail
611 — pass1 — pass

The score of 60 is the boundary value. Testing just below it, exactly at it and just above it exposes the mistake. Testing only 59 and 61 would miss it.

Describe the result: “I expected the method to return 1, but it returned 0.” Notice expected … to return for the intended behaviour and the past tense returned for what happened.

Find the bug, then check the fix

1. Reproduce it. Run countPassed(new int[]{60}, 60) with the faulty comparison. This gives you a small, repeatable example of the problem.

2. Trace it. The count starts at 0. The comparison 60 > 60 is false, so the loop does not increase the count. The method returns 0. A debugger is a tool for examining a running program: you can set a breakpoint at the comparison and inspect the variables. You can also trace these steps on paper.

3. Fix it. Change the comparison to score >= passMark. Read >= as “greater than or equal to”. Now the rule includes 60. One extra character. Maya appreciates the effort.

4. Retest it. Run all three test cases again. The results should be 0, 1 and 1. Keep the case for 60 as a regression test to help catch the bug if a future change brings it back.

Useful phrases for reporting problems

You don’t need complicated English to describe a software problem. Say what you did, what you expected and what happened instead.

Useful phraseExample in context
I expected …, but …“I expected a confirmation email, but nothing arrived.”
When I …, the app …“When I click Save, the app closes.”
It only happens when …“It only happens when the basket contains two items.”
I can / can’t reproduce it.“I can reproduce it on my phone, but not on my laptop.”
The problem seems to be …“The problem seems to be in the delivery calculation.”
I’ve fixed … and retested …“I’ve fixed the comparison and retested the checkout.”

Be precise about what you know. “The app closes when I click Save” describes an observation. “The problem seems to be in the save function” suggests a possible cause. Use seems to be when you haven’t confirmed the cause yet.

Useful combinations: run a test, find a bug, fix a bug and report a problem. We usually say “fix a bug”, not “repair a bug”. In computing, run means execute: nobody needs to leave their desk.

Write a bug report in English

“It doesn’t work” tells your teammate how your afternoon is going. A useful bug report gives them enough detail to investigate. Keep the title specific, number the steps and separate the expected result from the actual result.

Your turn · Writing practice

The £25 delivery mystery

A shop promises free delivery on orders of £25 or more. You add items totalling exactly £25, open checkout and see a delivery charge.

Write a short bug report using these four headings. Try it before opening the example.

  1. Title: What is the specific problem?
  2. Steps to reproduce: How can someone make it happen?
  3. Expected result: What should happen?
  4. Actual result: What happens instead?
View example bug report
Title
Delivery is charged on an order of exactly £25.
Steps to reproduce
  1. Add items totalling exactly £25 to the basket.
  2. Open checkout.
  3. Check the delivery charge.
Expected result
Delivery should be free because the order meets the £25 minimum.
Actual result
A delivery charge appears at checkout.

Why this works: It gives a precise amount, clear steps and two results that are easy to compare. It reports the problem without guessing which line of code caused it.

Try another situation: You leave the password field empty and click Log in. You expect a message asking for a password, but the page goes blank. Use the same four headings to report this problem.

Frequently Asked Questions

What’s the difference between testing and debugging?

Testing checks whether the program behaves as expected. Debugging means finding and fixing the cause when it doesn’t.

Why test 59, 60 and 61?

These scores check the rule immediately below the pass mark, exactly at it and immediately above it. Testing 60 exposed the mistake in this lesson.

What’s the difference between retesting and regression testing?

Retesting checks that a specific fix worked. Regression testing checks that changes haven’t broken behaviour that previously worked. Today’s retest can become tomorrow’s regression test.

Test Yourself

Fancy a binary puzzle? Play LogicDash.

What is FunkyEnglish?

FunkyEnglish is a website that helps you improve your English. We offer quick lessons that teach idioms, slang, phrasal verbs and more. Visit our homepage to see our latest articles, or use the menu to find specific content!

Lesson by FunkyEnglish.com · free English idioms, slang and quizzes

Free PDF: 30 English idioms British people really use

Idioms, slang and phrasal verbs with meanings, examples and a mini quiz. Straight to your inbox, no spam.

Scroll to Top
Free PDF: 30 idioms British people really use
Tap to get it
^