Controllo Errori: Guida
Identificazione di discrepanze tra insiemi di dati
Indice
Impara
Tipi di Errore
Tipi comuni di errori di inserimento dati
Impara 1
Errori di Trasposizione
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
Impara 2
Errori di Sostituzione
Un carattere è sostituito con un carattere diverso.
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)
Come riconoscerlo
- One character is different, all others match
- Length remains the same
- Often involves similar-looking characters
Errori comuni
- Confusing substitution with transposition
- Missing errors with visually similar characters (0/O, 1/l/I)
- Not comparing character by character
Soluzione passo per passo
Trovare l'errore: Originale 'JOHNSON' vs Dato 'JOHNS0N'
- Confrontare posizione 1: 'J' = 'J'
- Confrontare posizione 2: 'O' = 'O'
- Confrontare posizione 3: 'H' = 'H'
- Confrontare posizione 4: 'N' = 'N'
- Confrontare posizione 5: 'S' = 'S'
- Confrontare posizione 6: 'O' vs '0' - differenza trovata
- Confrontare posizione 7: 'N' = 'N'
- La lettera 'O' è stata sostituita con la cifra '0' (zero)
Risposta: Errore di sostituzione: lettera 'O' sostituita con cifra '0' alla posizione 6
Impara 3
Errori di Omissione
Uno o più caratteri mancano nei dati.
Omission errors occur when characters are accidentally left out during data entry. This can happen from skipping a keystroke, misreading source data, or copying errors. The result is a shorter string than the original. These errors can be caught by checking string length first.
Original: ABCD → Error: ABD (C omitted)
- 123456 → 12346 (5 omitted)
- WILLIAMS → WILLAMS (I omitted)
- AB-1234 → AB-124 (3 omitted)
Come riconoscerlo
- Copy is shorter than original
- All present characters match, one is missing
- Check length first as quick filter
Errori comuni
- Not noticing the length difference
- Confusing omission with substitution of similar characters
- Missing repeated character omissions (e.g., 'MISS' vs 'MIS')
Soluzione passo per passo
Trovare l'errore: Originale '123456' vs Dato '12346'
- Verificare lunghezze: originale ha 6 caratteri, dato ha 5
- Confrontare posizione 1: '1' = '1'
- Confrontare posizione 2: '2' = '2'
- Confrontare posizione 3: '3' = '3'
- Confrontare posizione 4: '4' = '4'
- Confrontare posizione 5: '5' vs '6' - differenza, manca '5'
- La cifra '5' è stata omessa dalla posizione 5
Risposta: Errore di omissione: il carattere '5' manca dalla posizione 5
Impara 4
Errori di Aggiunta
Caratteri extra sono stati inseriti accidentalmente nei dati.
Addition errors occur when extra characters are accidentally inserted during data entry. This can happen from double-tapping keys, misreading source data, or accidentally hitting adjacent keys. The result is a longer string than the original. Like omission errors, these can be quickly detected by checking length.
Original: ABCD → Error: ABCXD (X inserted)
- 12345 → 123345 (extra 3 inserted)
- SMITH → SMIITH (extra I inserted)
- AB-1234 → AB-12334 (extra 3 inserted)
Come riconoscerlo
- Copy is longer than original
- Contains all original characters plus extras
- Often a repeated or adjacent character
Errori comuni
- Not noticing the length difference
- Missing subtle additions in long strings
- Confusing with doubled legitimate characters
Soluzione passo per passo
Trovare l'errore: Originale '12345' vs Dato '123345'
- Verificare lunghezze: originale ha 5 caratteri, dato ha 6
- Confrontare posizione 1: '1' = '1'
- Confrontare posizione 2: '2' = '2'
- Confrontare posizione 3: '3' = '3'
- Confrontare posizione 4: '4' vs '3' - carattere extra trovato
- Un '3' extra è stato inserito alla posizione 4
Risposta: Errore di aggiunta: '3' extra inserito alla posizione 4
Impara 5
Doppia Trasposizione
Due coppie separate di caratteri adiacenti sono scambiate.
Double transposition errors occur when two separate pairs of adjacent characters are swapped in the same string. This creates a more complex error pattern that can be harder to detect because the errors are distributed across the string.
Original: ABCDEF → Error: BADCEF (AB swapped AND CD swapped)
- 123456 → 213465 (12 swapped AND 45 swapped)
- ABCDEF → BACDEF → BADCEF (two transpositions)
- AB-1234 → BA-1324 (AB swapped AND 23 swapped)
Come riconoscerlo
- Two separate pairs of adjacent characters are reversed
- Length remains the same
- All original characters are present
Errori comuni
- Missing one of the two transpositions
- Confusing with single transposition
- Not scanning the entire string
Soluzione passo per passo
Trovare l'errore: Originale '123456' vs Dato '213465'
- Confrontare posizione 1: '1' vs '2' - differenza
- Confrontare posizione 2: '2' vs '1' - differenza
- Primo scambio identificato: '1' e '2' trasposti
- Confrontare posizione 3: '3' = '3'
- Confrontare posizione 4: '4' = '4'
- Confrontare posizione 5: '5' vs '6' - differenza
- Confrontare posizione 6: '6' vs '5' - differenza
- Secondo scambio identificato: '5' e '6' trasposti
Risposta: Errore di doppia trasposizione: '1-2' scambiati E '5-6' scambiati
Impara 6
Confusione Visiva
Caratteri dall'aspetto simile vengono confusi tra loro.
Visual confusion errors occur when characters that look similar are substituted for one another. Common confusions include B/8, O/0, I/1, S/5, G/6, and Z/2. These errors often occur when reading handwritten data or when working with low-quality displays.
Common pairs: B↔8, O↔0, I↔1, S↔5, G↔6, Z↔2
- AB-1234 → A8-1234 (B confused with 8)
- CODE01 → CODEO1 (0 confused with O)
- SIGNAL → 5IGNAL (S confused with 5)
Come riconoscerlo
- Character replaced with visually similar alternative
- Length remains the same
- Often involves letter/number confusion
Errori comuni
- Not recognizing visually similar pairs
- Assuming digits are always correct
- Missing context clues (letters vs numbers sections)
Soluzione passo per passo
Trovare l'errore: Originale 'AB-1234' vs Dato 'A8-1234'
- Confrontare posizione 1: 'A' = 'A'
- Confrontare posizione 2: 'B' vs '8' - differenza trovata
- Confrontare posizione 3: '-' = '-'
- Confrontare il resto: '1234' = '1234'
- La lettera 'B' è stata confusa con la cifra '8'
- Questi caratteri sono simili: B e 8 hanno forme simili
Risposta: Errore di confusione visiva: 'B' confuso con '8' alla posizione 2 (aspetto simile)
Impara 7
Prossimità della Tastiera
Un carattere è sostituito da un tasto adiacente sulla tastiera.
Keyboard proximity errors occur when a typist accidentally presses a key adjacent to the intended key on a QWERTY keyboard. For example, pressing 'R' instead of 'E', or '5' instead of '4'. These are among the most common typing errors.
Key replaced by horizontally or vertically adjacent key on QWERTY layout
- HELLO → HRLLO (E replaced by adjacent R)
- 12345 → 12445 (3 replaced by adjacent 4)
- CODE → CODW (E replaced by adjacent W)
Come riconoscerlo
- Single character replaced by keyboard neighbor
- Length remains the same
- Check QWERTY layout for adjacent keys
Errori comuni
- Not visualizing the keyboard layout
- Confusing with random substitution
- Forgetting diagonal adjacencies
Soluzione passo per passo
Trovare l'errore: Originale 'HELLO' vs Dato 'HRLLO'
- Confrontare posizione 1: 'H' = 'H'
- Confrontare posizione 2: 'E' vs 'R' - differenza trovata
- Confrontare posizione 3: 'L' = 'L'
- Confrontare posizione 4: 'L' = 'L'
- Confrontare posizione 5: 'O' = 'O'
- Verificare tastiera: 'E' e 'R' sono adiacenti sulla tastiera QWERTY
- 'R' è stato premuto al posto di 'E' per la posizione delle dita
Risposta: Errore di prossimità tastiera: 'E' sostituito dal tasto adiacente 'R' alla posizione 2
Impara 8
Carattere Ripetuto
Un carattere è stato digitato accidentalmente due volte di seguito.
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)
Come riconoscerlo
- String is one character longer than original
- Look for adjacent identical characters
- One character appears twice in sequence
Errori comuni
- Confusing with addition of different character
- Missing the duplicate in longer strings
- Not noticing legitimate double letters
Soluzione passo per passo
Trovare l'errore: Originale 'HELLO' vs Dato 'HELLLO'
- Verificare lunghezze: originale ha 5 caratteri, dato ha 6
- Confrontare posizione 1: 'H' = 'H'
- Confrontare posizione 2: 'E' = 'E'
- Confrontare posizione 3: 'L' = 'L'
- Confrontare posizione 4: 'L' = 'L'
- Confrontare posizione 5: 'O' vs 'L' - 'L' extra trovata
- La lettera 'L' è stata digitata due volte alla posizione 4
Risposta: Errore di carattere ripetuto: 'L' digitata due volte, creando 'LLL' invece di 'LL'
Impara 9
Inversione
Una sequenza di 3 o più caratteri adiacenti è invertita.
Reversal errors occur when a portion of the string (typically 3-4 characters) is written in reverse order. This can happen when transcribing data from memory or when the eye jumps back while reading. Unlike simple transposition which swaps just two characters, reversal affects a longer sequence.
Substring ABC becomes CBA within the string
- 123456 → 132456 (123 reversed to 321, shown as 132)
- ABCDEF → ACBDEF (BCD reversed)
- AB-1234 → AB-3214 (1234 partially reversed)
Come riconoscerlo
- Three or more characters appear in reverse order
- Length remains the same
- All original characters are present
Errori comuni
- Confusing with multiple transpositions
- Not recognizing partial reversals
- Missing the reversal pattern in mixed data
Soluzione passo per passo
Trovare l'errore: Originale 'AB-1234' vs Dato 'AB-3214'
- Confrontare prefisso: 'AB-' = 'AB-'
- Confrontare posizione 4: '1' vs '3' - differenza
- Confrontare posizione 5: '2' = '2'
- Confrontare posizione 6: '3' vs '1' - differenza
- Confrontare posizione 7: '4' = '4'
- Schema identificato: '123' invertito in '321'
- È un'inversione di 3 caratteri, non una semplice trasposizione
Risposta: Errore di inversione: sequenza '123' invertita in '321' (posizioni 4-6)
Impara 10
Errore di Spaziatura
Uno spazio indesiderato è stato inserito nella stringa.
Spacing errors occur when the spacebar is accidentally pressed during data entry, inserting an unwanted space character. This is common when typing quickly or when hands drift on the keyboard. The resulting string is one character longer with a space where none should exist.
Space inserted at position N: ABCD → AB CD
- 12345 → 123 45 (space inserted)
- HELLO → HEL LO (space in middle)
- AB-1234 → AB- 1234 (space after hyphen)
Come riconoscerlo
- String contains unexpected space character
- Length is one character longer
- Space appears where data should be continuous
Errori comuni
- Overlooking spaces in visual inspection
- Confusing with intentional formatting
- Missing spaces at the start or end
Soluzione passo per passo
Trovare l'errore: Originale '12345' vs Dato '123 45'
- Verificare lunghezze: originale ha 5 caratteri, dato ha 6
- Confrontare posizione 1: '1' = '1'
- Confrontare posizione 2: '2' = '2'
- Confrontare posizione 3: '3' = '3'
- Confrontare posizione 4: '4' vs ' ' - spazio trovato
- Uno spazio indesiderato è stato inserito dopo la posizione 3
- I caratteri rimanenti '45' sono spostati di una posizione
Risposta: Errore di spaziatura: spazio indesiderato inserito tra '3' e '4' alla posizione 4
Impara 11
Spostamento di Formato
Un separatore o delimitatore è stato spostato in una posizione errata.
Format shift errors occur when a separator character (like a hyphen or dash) is placed in the wrong position within a formatted code. This changes the visual grouping of the data without changing the actual characters. It's common when manually entering codes that follow specific format patterns.
Separator moves from position M to position N: AB-1234 → A-B1234
- AB-1234 → A-B1234 (hyphen shifted left)
- AB-1234 → ABC-234 (hyphen shifted right)
- 12-34-56 → 123-4-56 (hyphen repositioned)
Come riconoscerlo
- Separator in unexpected position
- Same characters but different grouping
- Total length remains the same
Errori comuni
- Assuming format is always correct
- Not checking separator positions
- Focusing only on alphanumeric characters
Soluzione passo per passo
Trovare l'errore: Originale 'AB-1234' vs Dato 'A-B1234'
- Confrontare posizione 1: 'A' = 'A'
- Confrontare posizione 2: 'B' vs '-' - differenza
- Confrontare posizione 3: '-' vs 'B' - differenza
- Il trattino si è spostato dalla posizione 3 alla posizione 2
- Tutti i caratteri sono presenti ma il separatore è mal posizionato
- Formato originale: 'AB-1234' (2 lettere, trattino, 4 cifre)
- Formato errato: 'A-B1234' (1 lettera, trattino, 1 lettera, 4 cifre)
Risposta: Errore di formato: trattino spostato dalla posizione 3 alla posizione 2
Impara 12
Sostituzione Fonetica
Un carattere è sostituito con un carattere dal suono simile.
Phonetic substitution errors occur when characters that sound similar are confused with each other. This is common when transcribing spoken data or working from dictation. Examples include C/K, F/V, M/N, B/P, D/T, and G/J confusions.
Common pairs: C↔K, F↔V, M↔N, B↔P, D↔T, G↔J
- PACK → BACK (P confused with B)
- CAME → KAME (C confused with K)
- FIVE → VIVE (F confused with V)
Come riconoscerlo
- Character replaced with phonetically similar letter
- Length remains the same
- Often involves voiced/unvoiced consonant pairs
Errori comuni
- Not considering phonetic relationships
- Assuming spelling is always phonetic
- Missing subtle sound-alike substitutions
Soluzione passo per passo
Trovare l'errore: Originale 'PACK' vs Dato 'BACK'
- Confrontare posizione 1: 'P' vs 'B' - differenza trovata
- Confrontare posizione 2: 'A' = 'A'
- Confrontare posizione 3: 'C' = 'C'
- Confrontare posizione 4: 'K' = 'K'
- La lettera 'P' è stata sostituita con 'B'
- Sono foneticamente simili: entrambe sono occlusive bilabiali
- Comune nella trascrizione da dettato
Risposta: Errore di sostituzione fonetica: 'P' confuso con 'B' dal suono simile alla posizione 1
Impara 13
Cambio di Maiuscole
La maiuscola di una lettera è stata cambiata da maiuscola a minuscola o viceversa.
Case flip errors occur when the Caps Lock key is accidentally engaged or the Shift key is pressed/released at the wrong time. This changes a letter from uppercase to lowercase or vice versa. While the letter identity remains correct, the case change can cause issues in case-sensitive systems.
Uppercase letter becomes lowercase (A→a) or lowercase becomes uppercase (a→A)
- HELLO → HeLLO (E became lowercase)
- AB-1234 → Ab-1234 (B became lowercase)
- CODE → COdE (D became lowercase)
Come riconoscerlo
- Same letter but different case
- Length remains the same
- Often occurs at word boundaries or after spaces
Errori comuni
- Not checking case in case-sensitive contexts
- Assuming all uppercase data is uniform
- Missing case errors in mixed-case strings
Soluzione passo per passo
Trovare l'errore: Originale 'HELLO' vs Dato 'HeLLO'
- Confrontare posizione 1: 'H' = 'H' (entrambe maiuscole)
- Confrontare posizione 2: 'E' vs 'e' - differenza di maiuscole trovata
- Confrontare posizione 3: 'L' = 'L' (entrambe maiuscole)
- Confrontare posizione 4: 'L' = 'L' (entrambe maiuscole)
- Confrontare posizione 5: 'O' = 'O' (entrambe maiuscole)
- La 'E' maiuscola è diventata 'e' minuscola
- Probabilmente causato dal rilascio di Shift al momento sbagliato
Risposta: Errore di cambio maiuscole: 'E' maiuscola cambiata in 'e' minuscola alla posizione 2
Impara 14
Validazione di Regole
Verificare se un record soddisfa un insieme di regole di formato, intervallo, tipo o di business.
La validazione di regole è il processo che conferma che un dato soddisfi vincoli espliciti prima di essere accettato. Classi tipiche: (a) formato — il valore corrisponde a un pattern; (b) intervallo — rientra nei limiti; (c) tipo — è del tipo atteso; (d) regola di business — invarianti di dominio. Un record è valido se e solo se supera tutte le regole applicabili.
valido(record) ⇔ ∀ r ∈ regole : r(record) è vera
- Formato email: '[email protected]' ✓; 'user@@example' ✗
- Intervallo età [0, 130]: 25 ✓; 200 ✗
- Regola di business: totale fattura = somma delle righe
Come riconoscerlo
- Un record è presentato con regole
- La domanda chiede se è valido o quale regola viola
- Le regole possono essere combinate o gerarchiche
Errori comuni
- Fermarsi alla prima regola superata
- Confondere 'formato valido' con 'valore corretto'
- Ignorare maiuscole, spazi o separatori locali
Esempi svolti
Gli esempi svolti conservano la serie originale per ogni difficoltà. Aprine uno per confrontare consegna, opzioni, risposta corretta e spiegazione.