Διαφήμιση

Σφάλματα Αντικατάστασης

Ένας χαρακτήρας αντικαταστάθηκε με διαφορετικό χαρακτήρα.

Μάθηση

Ένας χαρακτήρας αντικαταστάθηκε με διαφορετικό χαρακτήρα.

Substitution errors occur when one character is incorrectly replaced with another. This often happens with visually similar characters (0 vs O, 1 vs l, 5 vs S) or adjacent keyboard keys. The string length stays the same, but one character is wrong. These errors are common in manual data entry.

Original: ABCD → Error: ABXD (C replaced with X)

  • 12345 → 12845 (3 replaced with 8)
  • JOHNSON → JOHNS0N (O replaced with zero)
  • AB-1234 → AB-1284 (3 replaced with 8)

Πώς να το αναγνωρίζετε

  • One character is different, all others match
  • Length remains the same
  • Often involves similar-looking characters

Συνηθισμένα λάθη

  • Confusing substitution with transposition
  • Missing errors with visually similar characters (0/O, 1/l/I)
  • Not comparing character by character

Λύση βήμα προς βήμα

Βρείτε το σφάλμα: Αρχικό 'JOHNSON' vs Δοθέν 'JOHNS0N'

  1. Σύγκριση θέσης 1: 'J' = 'J'
  2. Σύγκριση θέσης 2: 'O' = 'O'
  3. Σύγκριση θέσης 3: 'H' = 'H'
  4. Σύγκριση θέσης 4: 'N' = 'N'
  5. Σύγκριση θέσης 5: 'S' = 'S'
  6. Σύγκριση θέσης 6: 'O' vs '0' - βρέθηκε διαφορά
  7. Σύγκριση θέσης 7: 'N' = 'N'
  8. Το γράμμα 'O' αντικαταστάθηκε από το ψηφίο '0' (μηδέν)

Απάντηση: Σφάλμα αντικατάστασης: γράμμα 'O' αντικαταστάθηκε από ψηφίο '0' στη θέση 6

Καθοδήγηση εξάσκησης

Ανίχνευση Σφαλμάτων

Διαφήμιση