ArticleslgStudy

computer science

Backspace

Backspace is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Backspace rather than just read about it. In short: Backspace (← Backspace, ⌫) is the keyboard key that in typewriters originally pushed the carriage one position backwards. In modern computer systems, it typically moves the display cursor one position backwards, deletes the character at that position, and shifts back any text after that position by one character.

Backspace — main illustration
Backspace — illustration

Key takeaways

  • Backspace belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Backspace to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Backspace from memory before moving on to harder problems.

Reference excerpt

Backspace (← Backspace, ⌫) is the keyboard key that in typewriters originally pushed the carriage one position backwards. In modern computer systems, it typically moves the display cursor one position backwards, deletes the character at that position, and shifts back any text after that position by one character.

Nomenclature

Although the term "backspace" is the traditional name of the key which steps the carriage back and/or deletes the previous character, the actual key may be labeled in a variety of ways—for example delete, erase, or with a left pointing arrow. Some very early typewriters labeled this key the backspacer key. A dedicated symbol for "backspace" exists as U+232B ⌫ ERASE TO THE LEFT but its use as a keyboard label is not universal.

Backspace is distinct from the delete key, which in a teletypewriter would punch out all the holes in punched paper tape to strike out a character, and in modern computers deletes text at or following the cursor position. Also, the delete key often works as a generic command to remove an object (such as an image inside a document, or a file in a file manager), while backspace usually does not. Full-size Mac keyboards in the USA have two keys labeled delete; a key that functions as a backspace key and a key that functions as a delete key, while in the UK, the backspace key has a left-pointing arrow on it instead. Smaller Mac keyboards, such as laptop keyboards, have only a key that functions as a backspace key. Full-size PC keyboards have a backspace key (in the main section) and two delete keys (in the extended area).

Combining characters

With some typewriters, a typist would, for example, type a lowercase letter A with acute accent (á) by typing a lowercase letter A, backspace, and then the acute accent key. This technique (also known as overstrike) is the basis for such spacing modifiers in computer character sets such as the ASCII caret (^, for the circumflex accent). Backspace composition no longer works with typical modern digital displays or typesetting systems. It has to some degree been replaced with the combining diacritical marks mechanism of Unicode, though such characters do not work well with many computer fonts, and precomposed characters continue to be used. (Some software like TeX or Microsoft Windows use the opposite method to apply a diacritical mark, namely typing the accent first, and then the base letter to be accented.)

Use in computing

Common use In modern systems, the backspace key is often mapped to the delete character (12710, 7f16, DEL in ASCII), although the backspace key's function of deleting the character before the cursor remains. In computers, backspace can also delete a preceding newline character, something generally inapplicable to typewriters.

^H

Pressing the backspace key on a computer terminal would generate code 0810, the ASCII control code BS (Backspace), which would delete the preceding character. That control code could also be accessed by pressing Control+H, as H is the eighth letter of the Latin alphabet. Terminals which did not have the backspace code mapped to the function of moving the cursor backwards and deleting the preceding character would display the symbols ^H (caret, H) when the backspace key was pressed. Even if a terminal did interpret backspace by deleting the preceding character, the system receiving the text might not. Then, the sender's screen would show a message without the supposedly deleted text, while that text, and the deletion codes, would be visible to the recipient. This sequence is still used humorously for epanorthosis by computer literates, denoting the deletion of a pretended blunder, much like a strikethrough; in this case, however, the ^H symbol is faked by typing a regular '^' followed by typing a regular 'H'. For example:

Be nice to this fool^H^H^H^Hgentleman; he's visiting from corporate HQ.

Related sequences In some contexts, ^W is used as a shortcut to delete the previous word, such as in the Berkeley Unix terminal line discipline. This shortcut has also made it into the insert mode of the Vi text editor and its clone Vim. Similarly, ^U deletes a line.

Notes

References

Illustrations

Backspace: A backspace key
A backspace key
Backspace: An early typewriter with a backspacer  [sic] key. (Blickensderfer Model 7)
An early typewriter with a backspacer [sic] key. (Blickensderfer Model 7)
Backspace: Corona #3 typewriter. Note the oddly positioned backspace key, located off the keyboard, towards the back of the machine, on the right.
Corona #3 typewriter. Note the oddly positioned backspace key, located off the keyboard, towards the back of the machine, on the right.
Backspace illustration

Worked examples

Example 1 — a first encounter with Backspace

Start with the simplest possible case. Write down what Backspace claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Backspace before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Backspace ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Backspace

In research
Backspace appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Backspace in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Backspace is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer keys, Control characters, so understanding it makes those chapters shorter.
In everyday life
Look for Backspace outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Backspace” →

How to study Backspace in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Backspace means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Backspace out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Backspace in simple terms?

Backspace (← Backspace, ⌫) is the keyboard key that in typewriters originally pushed the carriage one position backwards. In modern computer systems, it typically moves the display cursor one position backwards, deletes the character at that position, and shifts back any text after that position by…

Why does Backspace matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Backspace?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Backspace.

Tags

  • Computer keys
  • Control characters

Keep exploring