Publicité

Caractère Répété

Un caractère a été accidentellement tapé deux fois de suite.

Apprendre

Un caractère a été accidentellement tapé deux fois de suite.

Repeated character errors occur when a typist accidentally presses a key twice, creating an unwanted duplicate character. This is common with fast typing or when a key is slightly sticky. The result is a string that is one character longer than intended.

Original character at position N is duplicated: ABC → ABBC

  • 12345 → 123345 (3 repeated)
  • HELLO → HELLLO (L repeated)
  • AB-1234 → AB-12234 (2 repeated)

Comment le reconnaître

  • String is one character longer than original
  • Look for adjacent identical characters
  • One character appears twice in sequence

Erreurs fréquentes

  • Confusing with addition of different character
  • Missing the duplicate in longer strings
  • Not noticing legitimate double letters

Résolution étape par étape

Trouvez l'erreur : Original 'HELLO' vs Donné 'HELLLO'

  1. Vérifier les longueurs : original a 5 caractères, donné a 6
  2. Comparer position 1 : 'H' = 'H'
  3. Comparer position 2 : 'E' = 'E'
  4. Comparer position 3 : 'L' = 'L'
  5. Comparer position 4 : 'L' = 'L'
  6. Comparer position 5 : 'O' vs 'L' - 'L' en trop
  7. La lettre 'L' a été tapée deux fois à la position 4

Réponse: Erreur de caractère répété : 'L' tapé deux fois, créant 'LLL' au lieu de 'LL'

Conseils de pratique

Détection d'Erreurs

Publicité