Μάθηση
Ένας χαρακτήρας αντικαταστάθηκε με διαφορετικό χαρακτήρα.
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: 'J' = 'J'
- Σύγκριση θέσης 2: 'O' = 'O'
- Σύγκριση θέσης 3: 'H' = 'H'
- Σύγκριση θέσης 4: 'N' = 'N'
- Σύγκριση θέσης 5: 'S' = 'S'
- Σύγκριση θέσης 6: 'O' vs '0' - βρέθηκε διαφορά
- Σύγκριση θέσης 7: 'N' = 'N'
- Το γράμμα 'O' αντικαταστάθηκε από το ψηφίο '0' (μηδέν)
Απάντηση: Σφάλμα αντικατάστασης: γράμμα 'O' αντικαταστάθηκε από ψηφίο '0' στη θέση 6