Μάθηση
Γειτονικοί χαρακτήρες έχουν αντιμεταθεί.
Transposition errors occur when two adjacent characters swap positions. This is one of the most common data entry errors, often caused by typing too quickly or by dyslexia. Examples include typing '1324' instead of '1234' or 'hte' instead of 'the'. These errors are subtle because all the correct characters are present.
Original: ABCD → Error: ABDC (C and D swapped)
- 12345 → 12435 (3 and 4 transposed)
- ABCDEF → ABDCEF (C and D transposed)
- AB-1234 → AB-1324 (2 and 3 transposed)
Πώς να το αναγνωρίζετε
- Same characters, but two adjacent ones are in reversed order
- Length remains the same
- Often occurs in the middle of strings
Συνηθισμένα λάθη
- Confusing transposition with substitution
- Missing subtle swaps in long strings
- Not checking adjacent pairs systematically
Λύση βήμα προς βήμα
Βρείτε το σφάλμα: Αρχικό '12345' vs Δοθέν '12435'
- Σύγκριση θέσης 1: '1' = '1'
- Σύγκριση θέσης 2: '2' = '2'
- Σύγκριση θέσης 3: '3' vs '4' - βρέθηκε διαφορά!
- Σύγκριση θέσης 4: '4' vs '3' - βρέθηκε διαφορά!
- Σύγκριση θέσης 5: '5' = '5'
- Μοτίβο: οι θέσεις 3 και 4 περιέχουν αντιμεταθεμένους χαρακτήρες
Απάντηση: Σφάλμα αντιμετάθεσης: '3' και '4' αντιμεταθέτηκαν στις θέσεις 3-4