Errors!. Where do errors occur? Anywhere data is transferred, processed, stored, etc. Input user error Storage magnetic hard drive errors physical tampering.

Slides:



Advertisements
Similar presentations
Exclusive-OR and Exclusive-NOR Gates
Advertisements

CSCI 4717/5717 Computer Architecture
2.2 Validation & Verification
Introduction to Information Technologies
Data and Computer Communications
CSE 461: Error Detection and Correction. Next Topic  Error detection and correction  Focus: How do we detect and correct messages that are garbled during.
Commercial Data Processing Lesson 3: Data Validation.
ENGIN112 L4: Number Codes and Registers ENGIN 112 Intro to Electrical and Computer Engineering Lecture 4 Number Codes and Registers.
Chapter 6 Errors, Error Detection, and Error Control
Chapter 6 Errors, Error Detection, and Error Control.
Using Binary Coding Information Remember  Bit = 0 or 1, Binary Digit  Byte = the number of bits used to represent letters, numbers and special characters.
1 Chapter Six - Errors, Error Detection, and Error Control Chapter Six.
Using Binary Coding Information Remember  Bit = 0 or 1, Binary Digit  Byte = the number of bits used to represent letters, numbers and special characters.
Chapter 9 - Control in Computerized Environment ATG 383 – Spring 2002.
Chapter 6: Errors, Error Detection, and Error Control
William Stallings Data and Computer Communications 7 th Edition (Selected slides used for lectures at Bina Nusantara University) Error Control.
Chapter 6 Errors, Error Detection, and Error Control
Unit 1 Protocols Learning Objectives: Understand the need to detect and correct errors in data transmission.
Validation and Verification Today will look at: The difference between accuracy and validity Explaining sources of errors and how they could be overcome.
Copyright © 2015 Pearson Education, Inc. Processing Integrity and Availability Controls Chapter
Chapter 10 Information Systems Controls for System Reliability—Part 3: Processing Integrity and Availability Copyright © 2012 Pearson Education, Inc.
Error Detection and Correction.  Corrupted files  Attachments that won’t open  Files that won’t download  Videos that won’t play Errors occur when.
Digital Logic Chapter 2 Number Conversions Digital Systems by Tocci.
1 I.Introduction to Algorithm and Programming Algoritma dan Pemrograman – Teknik Informatika UK Petra 2009.
RNJ 10/02/091 3 Computing System Fundamentals 3.6 Errors Prevention and Detection.
1 3 Computing System Fundamentals 3.4 Networked Computer Systems.
GCSE ICT Checking data. Why do errors happen? Computers do not make mistakes. However if incorrect data is put in errors happen. In ICT this is called.
Chapter 2 – Number Systems and Codes Copyright © 2011, 2007, 2004, 2001, 1998 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights.
E RROR D ETECTION A ND C ORRECTION C ODES Error Detection Code (Parity bit) Error Correction Code ( Hamming Code)
MATSEC Past Papers May 2010 Paper 1 Paper 2A. What is the difference between each of the following pairs of items? Syntax Error Caused by forgetting certain.
Information Representation. Digital Hardware Systems Digital Systems Digital vs. Analog Waveforms Analog: values vary over a broad range continuously.
Data entry: Validation
Checking data GCSE ICT.
Checking data Chapter 7 Prepared by:Sir Mazhar Javed.
COMPUTER MAIN PART DANILO GARCÍA GONZÁLEZ TÉCNICO EN SISTEMAS.
Test and Review chapter State the differences between archive and back-up data. Answer: Archive data is a copy of data which is no longer in regular.
Errors, Error Detection, and Error Control
1 Chapter Six - Errors, Error Detection, and Error Control Chapter Six.
Communication Systems 3.1) Characteristics of a Communication System.
Data Communications & Computer Networks, Second Edition1 Chapter 6 Errors, Error Detection, and Error Control.
Chapter 6: Errors, Error Detection, and Error Control Data Communications and Computer Networks: A Business User’s Approach Third Edition.
DATA ERRORS. Introduction The processing of incorrect data can produce ridiculous and embarrassing output. Errors can take time to sort out and can be.
Verification & Validation F451 AS Computing. Why check data? It’s useless if inaccurate. Also, wrong data: Can be annoying Can cost a fortune Can be dangerous.
Verification & Validation. Batch processing In a batch processing system, documents such as sales orders are collected into batches of typically 50 documents.
Review of Data Capture. Input Devices What input devices are suitable for data entry? Keyboard Voice Bar Code MICR OMR Smart Cards / Magnetic Stripe cards.
1 3 Computing System Fundamentals 3.6 Errors Prevention and Recovery.
Data Collection. Data Capture This is the first stage involved in getting data into a computer Various input devices are used when getting data to the.
Data Verification and Validation
1 AQA ICT AS Level © Nelson Thornes 2008 Good quality data and information Data terms.
FUNDAMENTALS OF NETWORKING
Error-Detecting and Error-Correcting Codes
Data Management Data Verification Data Validation.
Chapter 3 Data Control Ensure the Accurate and Complete data is entering into the data processing system.
The OSI Model A Framework for Communications David A. Abarca July 19, 2005.
AGBell – EECT by Andrew G. Bell (260) Lecture 2.
Verification & Validation
Validation & Verification Today will look at: The difference between accuracy and validity Explaining sources of errors and how they could be overcome.
Cryptographic Hash Function. A hash function H accepts a variable-length block of data as input and produces a fixed-size hash value h = H(M). The principal.
Even/odd parity (1) Computers can sometimes make errors when they transmit data. Even/odd parity: is basic method for detecting if an odd number of bits.
Validation Bury College.
2 Number Systems and Codes Edited by Jerry Bernardini.
Objectives TO UNDERSTAND THAT CAPTURING DATA IS VALIDATED AND VERIFIED TO CHECK THAT IT IS REASONABLE AND CORRECT.
How can errors in data occur when using an ICT system?
Computer Systems Key Revision Points.
CS 325: CS Hardware and Software Organization and Architecture
Learning Intention I will learn about the standard algorithm for input validation.
Presentation transcript:

Errors!

Where do errors occur? Anywhere data is transferred, processed, stored, etc. Input user error Storage magnetic hard drive errors physical tampering (hax0ring) Communication electrical interference / noise physical tampering (hax0ring)

How do we detect errors? verification “making sure that the data on the source documents is exactly the same as the input to the computer system” ve ~equal  data = input validation “making sure that the data input into the system makes sense” va ~ acceptable  data makes sense

Verification visual verification proofreading double entry force re-entry of data (e.g. passwords or s)

Validation Range checks Is this birthday acceptable (M/D/YY)? 1/62/07 Type checks How old are you? 8a years old Format checks Please enter your birthday (M/D/YY): 1/16/2007

Which of these numbers has an error? How do you detect errors if you had nothing to compare your data against?

Check Digits Append additional data for comparison 1. Apply some algorithm on the data to generate a check digit 2. Attach the check digit to the data 3. To verify the data in the future, apply the same algorithm to the data to generate the check digit again – compare against old check digit to verify

Parity Bit Even Parity Check digit (1 or 0) is added to make sure there are an even number of 1s Odd Parity Check digit (1 or 0) is added to make sure there are an odd number of 1s

Parity Bit Examples Even parity w/ NO ERROR Even parity w/ ERROR Odd parity w/ NO ERROR Odd parity w/ ERROR

Parity Bit Creation Assume you have the following bit string: with even parity, add the parity bit to the right end to maintain even parity

Unweighted Check Digit 1. Add up each of the digits to get a number 2. If number is multidigit, then add up digits of that number 3. Repeat until you have a single digit Example: 2345  =  = 5 Check digit for 2345 is 5 Attach at the end, so we store 23455

Other Errors Hardware errors defective hard drive Software errors e.g., decimal in the wrong place Logic errors Runtime errors Syntax errors

How do we fix errors? Re-input Prompt the user to re-enter data Re-transmission If there was electrical interference/noise over a cable, we can always resend the data Transmission Control Protocol (TCP) Backup your data! Verify data against backups