Impara
Caratteri adiacenti sono scambiati di posizione.
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)
Come riconoscerlo
- Same characters, but two adjacent ones are in reversed order
- Length remains the same
- Often occurs in the middle of strings
Errori comuni
- Confusing transposition with substitution
- Missing subtle swaps in long strings
- Not checking adjacent pairs systematically
Soluzione passo per passo
Trovare l'errore: Originale '12345' vs Dato '12435'
- Confrontare posizione 1: '1' = '1'
- Confrontare posizione 2: '2' = '2'
- Confrontare posizione 3: '3' vs '4' - differenza trovata!
- Confrontare posizione 4: '4' vs '3' - differenza trovata!
- Confrontare posizione 5: '5' = '5'
- Schema: le posizioni 3 e 4 contengono caratteri scambiati
Risposta: Errore di trasposizione: '3' e '4' scambiati alle posizioni 3-4