{"id":448,"date":"2023-01-25T07:30:47","date_gmt":"2023-01-25T07:30:47","guid":{"rendered":"http:\/\/learnlearn.uk\/ibcs\/?page_id=448"},"modified":"2023-01-25T07:30:47","modified_gmt":"2023-01-25T07:30:47","slug":"verification-validation","status":"publish","type":"page","link":"https:\/\/learnlearn.uk\/ibcs\/verification-validation\/","title":{"rendered":"Verification &#038; Validation"},"content":{"rendered":"<div class=\"responsive-tabs\">\n<h2 class=\"tabtitle\">Video<\/h2>\n<div class=\"tabcontent\">\n\n<h3>Video Tutorial<\/h3>\n<p><a href=\"https:\/\/drive.google.com\/open?id=1K6JlpxRZkGY37kbqYYT9Mu9GWkijmiRs\">YouTube blocked? Use the Google Drive Version Instead<\/a><\/p>\n<div class=\"nv-iframe-embed\">\n<div class=\"container-lazyload preview-lazyload container-youtube js-lazyload--not-loaded\"><a href=\"https:\/\/www.youtube.com\/watch?v=iS9tqYuVQ08\" class=\"lazy-load-youtube preview-lazyload preview-youtube\" data-video-title=\"Data Verification Vs Validation\" title=\"Play video &quot;Data Verification Vs Validation&quot;\">https:\/\/www.youtube.com\/watch?v=iS9tqYuVQ08<\/a><noscript>Video can&#8217;t be loaded because JavaScript is disabled: <a href=\"https:\/\/www.youtube.com\/watch?v=iS9tqYuVQ08\" title=\"Data Verification Vs Validation\">Data Verification Vs Validation (https:\/\/www.youtube.com\/watch?v=iS9tqYuVQ08)<\/a><\/noscript><\/div>\n<\/div>\n<p>&nbsp;<\/p>\n\n<\/div><h2 class=\"tabtitle\">Entry Verification<\/h2>\n<div class=\"tabcontent\">\n\n<h3>Entry \/ Input Verification<\/h3>\n<p>Input verification is the process of checking that user has entered what the user intended to enter.<\/p>\n<p>The most common input form of input verification is used in password creation. Whenever you enter a password on website when signing up for an account you are usually asked to enter your intended password twice in order to check that you have entered the same password twice. This is especially important when creating passwords because the inputted characters area normally replaced immediately with ****** so the user can&#8217;t be sure that they have entered the intended password correctly twice.<\/p>\n<p>&nbsp;<\/p>\n<div id=\"attachment_383\" style=\"width: 512px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/learnlearn.uk\/alevelcs\/wp-content\/uploads\/sites\/20\/2020\/03\/password-double-entry-verification-cie-a-level-9608-9618.png\"><img aria-describedby=\"caption-attachment-383\" decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-383\" src=\"https:\/\/learnlearn.uk\/alevelcs\/wp-content\/uploads\/sites\/20\/2020\/03\/password-double-entry-verification-cie-a-level-9608-9618.png\" alt=\"\" width=\"502\" height=\"418\" \/><\/a><p id=\"caption-attachment-383\" class=\"wp-caption-text\">Data entry is verified by the use of a double password entry form<\/p><\/div>\n<p>&nbsp;<\/p>\n\n<\/div><h2 class=\"tabtitle\">Transfer Verification<\/h2>\n<div class=\"tabcontent\">\n\n<h3>Data Transfer Verification<\/h3>\n<p>Data transfer verification is the process of ensuring that the data received is the same as the data sent. When data is transferred through a network at each stage there is possibility that data might get corrupted. Therefore when a packet is received it needs to be checked to ensure the integrity of the data. Two common ways this can be achieved is through the use of <strong>parity bits<\/strong> and <strong>check-sums<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=jLuj62Gq-1I\">Parity Bits tutorial<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n\n<\/div><h2 class=\"tabtitle\">Validation<\/h2>\n<div class=\"tabcontent\">\n\n<h3>Input Validation<\/h3>\n<p>Validation is the process of checking that the user&#8217;s input matches the constraints of the system it is being entered into.<\/p>\n<p>Common validation checks include:<\/p>\n<h4>Length checks<\/h4>\n<p>Check to ensure that the data entered falls within the required length specified.<\/p>\n<p>Examples:<\/p>\n<ul>\n<li>Ensuring a password is between 8 and 32 digits long<\/li>\n<\/ul>\n<h4>Format Checks<\/h4>\n<p>Check that the correct format has been used.<\/p>\n<p>Examples:<\/p>\n<ul>\n<li>Ensuring a date is formatted in DD\/MM\/YYYY format<\/li>\n<li>Ensuring that an email address starts with a letter, has no spaces, contains an @ symbol and a domain after the @ symbol.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/learnlearn.uk\/alevelcs\/wp-content\/uploads\/sites\/20\/2020\/03\/cie-data-validation-example-email-address.png\"><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-385 alignright\" src=\"https:\/\/learnlearn.uk\/alevelcs\/wp-content\/uploads\/sites\/20\/2020\/03\/cie-data-validation-example-email-address.png\" alt=\"\" width=\"445\" height=\"318\" \/><\/a><\/p>\n<h4>Range check<\/h4>\n<p>Check that data in falls within the specified range.<\/p>\n<p>Examples:<\/p>\n<ul>\n<li>Ensuring that an age is between 0 and 120<\/li>\n<li>Ensuring that a year is between 1900 and 2020<\/li>\n<\/ul>\n<h4>Presence check<\/h4>\n<p>Ensuring that something has been entered.<\/p>\n<p>Examples:<\/p>\n<ul>\n<li>Ensuring that the user has enter their city and postcode in their address.<\/li>\n<li>Ensuring that the user has entered their first and last names<\/li>\n<\/ul>\n<h4>Existence check<\/h4>\n<p>Ensure that the data entered matches an entry in a list or data table of valid options<\/p>\n<p>Examples:<\/p>\n<ul>\n<li>Ensuring the the user has entered a valid day of the week.<\/li>\n<\/ul>\n<h4>limit check<\/h4>\n<p>Similar to a range check but only focused on one extreme.<\/p>\n<p>Examples:<\/p>\n<ul>\n<li>Ensuring that a customer does not order more that the maximum amount allowed<\/li>\n<\/ul>\n<h4>Check digits(also functions as verification)<\/h4>\n<p>Used to check that the user has entered a valid number.<\/p>\n<p>Examples:<\/p>\n<ul>\n<li>Credit Card Number Check Digits<\/li>\n<\/ul>\n<h4>Password complexity checks<\/h4>\n<p>A specific form of format check where an entered password must meet certain criteria.<\/p>\n<p>Examples:<\/p>\n<ul>\n<li>Must be over 8 digits long<\/li>\n<li>Must contain mixture of upper and lower care<\/li>\n<li>Must contain a number and a symbol<\/li>\n<li>Must not contain the word password or the combination 123<\/li>\n<\/ul>\n<h4>Password history checks<\/h4>\n<p>Check that the entered password has not been used before. Note that most good apps\/websites do not stored the user&#8217;s password, but rather a password hash and so the new password must be hashed before the hash can be compared to previous password hashes.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n\n<\/div><h2 class=\"tabtitle\">Example<\/h2>\n<div class=\"tabcontent\">\n\n<h3>Verification and Validation Working Example<\/h3>\n<p>Here is a trinket example showing both entry verification and entry validation on a email\/password signup form.<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/trinket.io\/embed\/html\/23f48513af\" width=\"100%\" height=\"600\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" allowfullscreen=\"allowfullscreen\" data-mce-fragment=\"1\"><\/iframe><\/p>\n\n<\/div><h2 class=\"tabtitle\">Quiz<\/h2>\n<div class=\"tabcontent\">\n\n<p><iframe loading=\"lazy\" src=\"https:\/\/docs.google.com\/forms\/d\/e\/1FAIpQLSeYVunJXhHsspKy1zQgGbuIWgFLTTL9OhyhSB2fqzJCpiz6Rg\/viewform?embedded=true\" width=\"900\" height=\"500\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" data-mce-fragment=\"1\">Loading\u2026<\/iframe><br \/>\n\n<\/div><h2 class=\"tabtitle\">Resources<\/h2>\n<div class=\"tabcontent\">\n<\/p>\n<p><a href=\"https:\/\/docs.google.com\/presentation\/d\/1QDJZPOaNlXAgclc-OpcPzpsMPZLz4HcirWzO1oxLvKs\/edit?usp=sharing\">Class Slideshow<\/a><\/p>\n<p><a href=\"https:\/\/quizizz.com\/admin\/quiz\/58d9391a04bd40205838be3c\">Validation &amp; Verification Quizizz<\/a><\/p>\n<p><a href=\"https:\/\/docs.google.com\/spreadsheets\/d\/1PkHo202Hd1uJIcm1a709Cp0tgXBJ_Fr1HfzCqx6rfDI\/edit?usp=sharing\">Parity Bit Google Sheets Demo<\/a>\u00a0 (You will have to File &gt; Make a copy to edit it )<\/p>\n<p><strong>Exam Style Questions<\/strong><\/p>\n<ul>\n<li>Describe using examples, the difference between data verification and data validation.<\/li>\n<li>Explain the verification and validation that occurs on a new user email sign-up form.<\/li>\n<\/ul>\n<p><strong>Programming Tasks<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/docs.google.com\/document\/d\/1yUBb2KaJpUlUT-g4szBQcyzHjVBGDkFbkEgPU0dkrgc\/edit?usp=sharing\">Python Validation Exercises<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><strong>Past Paper Qns<\/strong><\/p>\n<p><a href=\"https:\/\/pastpapers.papacambridge.com\/view.php?id=Cambridge%20International%20Examinations%20%28CIE%29\/AS%20and%20A%20Level\/Computer%20Science%20-%209608\/2017%20Jun\/9608_s17_qp_13.pdf\">S17 Paper 13 Qn 7c iv<\/a><\/p>\n<p><a href=\"https:\/\/pastpapers.papacambridge.com\/view.php?id=Cambridge%20International%20Examinations%20%28CIE%29\/AS%20and%20A%20Level\/Computer%20Science%20-%209608\/2018-May-June\/9608_s18_qp_11.pdf\">S18 Paper 11 &#8211; Qn 6<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Video Tutorial YouTube blocked? Use the Google Drive Version Instead https:\/\/www.youtube.com\/watch?v=iS9tqYuVQ08Video can&#8217;t be loaded because JavaScript is disabled: Data Verification Vs Validation (https:\/\/www.youtube.com\/watch?v=iS9tqYuVQ08) &nbsp; Entry \/ Input Verification Input verification is the process of checking that user has entered what the user intended to enter. The most common input form of input verification is used&hellip;&nbsp;<a href=\"https:\/\/learnlearn.uk\/ibcs\/verification-validation\/\" class=\"\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Verification &#038; Validation<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":70,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Verification &amp; Validation - IB Computer Science<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/learnlearn.uk\/ibcs\/verification-validation\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Verification &amp; Validation - IB Computer Science\" \/>\n<meta property=\"og:description\" content=\"Video Tutorial YouTube blocked? Use the Google Drive Version Instead https:\/\/www.youtube.com\/watch?v=iS9tqYuVQ08Video can&#8217;t be loaded because JavaScript is disabled: Data Verification Vs Validation (https:\/\/www.youtube.com\/watch?v=iS9tqYuVQ08) &nbsp; Entry \/ Input Verification Input verification is the process of checking that user has entered what the user intended to enter. The most common input form of input verification is used&hellip;&nbsp;Read More &raquo;Verification &#038; Validation\" \/>\n<meta property=\"og:url\" content=\"https:\/\/learnlearn.uk\/ibcs\/verification-validation\/\" \/>\n<meta property=\"og:site_name\" content=\"IB Computer Science\" \/>\n<meta property=\"og:image\" content=\"https:\/\/learnlearn.uk\/alevelcs\/wp-content\/uploads\/sites\/20\/2020\/03\/password-double-entry-verification-cie-a-level-9608-9618.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/learnlearn.uk\/ibcs\/verification-validation\/\",\"url\":\"https:\/\/learnlearn.uk\/ibcs\/verification-validation\/\",\"name\":\"Verification & Validation - IB Computer Science\",\"isPartOf\":{\"@id\":\"https:\/\/learnlearn.uk\/ibcs\/#website\"},\"datePublished\":\"2023-01-25T07:30:47+00:00\",\"dateModified\":\"2023-01-25T07:30:47+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/learnlearn.uk\/ibcs\/verification-validation\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/learnlearn.uk\/ibcs\/verification-validation\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/learnlearn.uk\/ibcs\/verification-validation\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"IB Computer Science\",\"item\":\"https:\/\/learnlearn.uk\/ibcs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Verification &#038; Validation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/learnlearn.uk\/ibcs\/#website\",\"url\":\"https:\/\/learnlearn.uk\/ibcs\/\",\"name\":\"IB Computer Science\",\"description\":\"- learnlearn..uk\",\"publisher\":{\"@id\":\"https:\/\/learnlearn.uk\/ibcs\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/learnlearn.uk\/ibcs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/learnlearn.uk\/ibcs\/#organization\",\"name\":\"IB Computer Science\",\"url\":\"https:\/\/learnlearn.uk\/ibcs\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/learnlearn.uk\/ibcs\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/learnlearn.uk\/ibcs\/wp-content\/uploads\/sites\/25\/2022\/09\/LearnLearnLogowhite-300x41.png\",\"contentUrl\":\"https:\/\/learnlearn.uk\/ibcs\/wp-content\/uploads\/sites\/25\/2022\/09\/LearnLearnLogowhite-300x41.png\",\"width\":300,\"height\":41,\"caption\":\"IB Computer Science\"},\"image\":{\"@id\":\"https:\/\/learnlearn.uk\/ibcs\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Verification & Validation - IB Computer Science","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/learnlearn.uk\/ibcs\/verification-validation\/","og_locale":"en_GB","og_type":"article","og_title":"Verification & Validation - IB Computer Science","og_description":"Video Tutorial YouTube blocked? Use the Google Drive Version Instead https:\/\/www.youtube.com\/watch?v=iS9tqYuVQ08Video can&#8217;t be loaded because JavaScript is disabled: Data Verification Vs Validation (https:\/\/www.youtube.com\/watch?v=iS9tqYuVQ08) &nbsp; Entry \/ Input Verification Input verification is the process of checking that user has entered what the user intended to enter. The most common input form of input verification is used&hellip;&nbsp;Read More &raquo;Verification &#038; Validation","og_url":"https:\/\/learnlearn.uk\/ibcs\/verification-validation\/","og_site_name":"IB Computer Science","og_image":[{"url":"https:\/\/learnlearn.uk\/alevelcs\/wp-content\/uploads\/sites\/20\/2020\/03\/password-double-entry-verification-cie-a-level-9608-9618.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/learnlearn.uk\/ibcs\/verification-validation\/","url":"https:\/\/learnlearn.uk\/ibcs\/verification-validation\/","name":"Verification & Validation - IB Computer Science","isPartOf":{"@id":"https:\/\/learnlearn.uk\/ibcs\/#website"},"datePublished":"2023-01-25T07:30:47+00:00","dateModified":"2023-01-25T07:30:47+00:00","breadcrumb":{"@id":"https:\/\/learnlearn.uk\/ibcs\/verification-validation\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/learnlearn.uk\/ibcs\/verification-validation\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/learnlearn.uk\/ibcs\/verification-validation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"IB Computer Science","item":"https:\/\/learnlearn.uk\/ibcs\/"},{"@type":"ListItem","position":2,"name":"Verification &#038; Validation"}]},{"@type":"WebSite","@id":"https:\/\/learnlearn.uk\/ibcs\/#website","url":"https:\/\/learnlearn.uk\/ibcs\/","name":"IB Computer Science","description":"- learnlearn..uk","publisher":{"@id":"https:\/\/learnlearn.uk\/ibcs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/learnlearn.uk\/ibcs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/learnlearn.uk\/ibcs\/#organization","name":"IB Computer Science","url":"https:\/\/learnlearn.uk\/ibcs\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/learnlearn.uk\/ibcs\/#\/schema\/logo\/image\/","url":"https:\/\/learnlearn.uk\/ibcs\/wp-content\/uploads\/sites\/25\/2022\/09\/LearnLearnLogowhite-300x41.png","contentUrl":"https:\/\/learnlearn.uk\/ibcs\/wp-content\/uploads\/sites\/25\/2022\/09\/LearnLearnLogowhite-300x41.png","width":300,"height":41,"caption":"IB Computer Science"},"image":{"@id":"https:\/\/learnlearn.uk\/ibcs\/#\/schema\/logo\/image\/"}}]}},"rttpg_featured_image_url":null,"rttpg_author":{"display_name":"learnlearnadmin","author_link":"https:\/\/learnlearn.uk\/ibcs\/author\/learnlearnadmin\/"},"rttpg_comment":0,"rttpg_category":null,"rttpg_excerpt":"Video Tutorial YouTube blocked? Use the Google Drive Version Instead https:\/\/www.youtube.com\/watch?v=iS9tqYuVQ08Video can&#8217;t be loaded because JavaScript is disabled: Data Verification Vs Validation (https:\/\/www.youtube.com\/watch?v=iS9tqYuVQ08) &nbsp; Entry \/ Input Verification Input verification is the process of checking that user has entered what the user intended to enter. The most common input form of input verification is used&hellip;&nbsp;Read&hellip;","_links":{"self":[{"href":"https:\/\/learnlearn.uk\/ibcs\/wp-json\/wp\/v2\/pages\/448"}],"collection":[{"href":"https:\/\/learnlearn.uk\/ibcs\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/learnlearn.uk\/ibcs\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/learnlearn.uk\/ibcs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learnlearn.uk\/ibcs\/wp-json\/wp\/v2\/comments?post=448"}],"version-history":[{"count":1,"href":"https:\/\/learnlearn.uk\/ibcs\/wp-json\/wp\/v2\/pages\/448\/revisions"}],"predecessor-version":[{"id":449,"href":"https:\/\/learnlearn.uk\/ibcs\/wp-json\/wp\/v2\/pages\/448\/revisions\/449"}],"wp:attachment":[{"href":"https:\/\/learnlearn.uk\/ibcs\/wp-json\/wp\/v2\/media?parent=448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}