{"id":58,"date":"2022-09-20T06:06:09","date_gmt":"2022-09-20T06:06:09","guid":{"rendered":"http:\/\/learnlearn.uk\/ibcs\/?page_id=58"},"modified":"2022-10-02T14:58:54","modified_gmt":"2022-10-02T14:58:54","slug":"text-representation-binary","status":"publish","type":"page","link":"https:\/\/learnlearn.uk\/ibcs\/text-representation-binary\/","title":{"rendered":"Text Representation in Binary"},"content":{"rendered":"<div class=\"responsive-tabs\">\n<h2 class=\"tabtitle\">Text to Binary<\/h2>\n<div class=\"tabcontent\">\n\n<h2>Converting text\u00a0to binary<\/h2>\n<p>When computers were first invented most text was represented in binary using the ASCII (American Standard Code for\u00a0 Information Interchange).<\/p>\n<p>Converting text to ASCII formatted binary is a simple process. You simply look up the decimal value for the character in the ASCII table below, and then convert that value from decimal to binary,<a href=\"http:\/\/learnlearn.uk\/binary\/counting-in-binary\/\"> like we did last lesson<\/a>.<\/p>\n<p><strong>Example &#8211; hello<\/strong><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-82\" src=\"https:\/\/learnlearn.uk\/binary\/wp-content\/uploads\/sites\/11\/2017\/01\/ascii-hello-example.png\" alt=\"ascii-hello-example\" width=\"822\" height=\"188\" \/><\/p>\n<p><strong>ASCII Table<\/strong><\/p>\n<p><strong><span style=\"color: #ff0000;\">DO NOT USE THE HEX COLUMN!!!<\/span><\/strong><\/p>\n<div id=\"attachment_83\" style=\"width: 1290px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/learnlearn.uk\/binary\/wp-content\/uploads\/sites\/11\/2017\/01\/ASCII-Table-wide.svg_.png\"><img aria-describedby=\"caption-attachment-83\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-83 size-full\" src=\"https:\/\/learnlearn.uk\/binary\/wp-content\/uploads\/sites\/11\/2017\/01\/ASCII-Table-wide.svg_.png\" alt=\"Click to enlarge\" width=\"1280\" height=\"851\" \/><\/a><p id=\"caption-attachment-83\" class=\"wp-caption-text\">Click to enlarge<\/p><\/div>\n<p>ASCII Table<\/p>\n\n<\/div><h2 class=\"tabtitle\">Binary &gt; Text<\/h2>\n<div class=\"tabcontent\">\n\n<h3>Converting Binary to Text<\/h3>\n<p>Converting from binary to text is nice and simple. You simply convert each binary number to a decimal number and then look up that number on the ASCII table.<\/p>\n<p><a href=\"http:\/\/learnlearn.uk\/binary\/wp-content\/uploads\/sites\/11\/2017\/01\/ascii-goodbye-example.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-86\" src=\"https:\/\/learnlearn.uk\/binary\/wp-content\/uploads\/sites\/11\/2017\/01\/ascii-goodbye-example.png\" alt=\"ascii-goodbye-example\" width=\"826\" height=\"193\" \/><\/a><\/p>\n\n<\/div><h2 class=\"tabtitle\">Practice<\/h2>\n<div class=\"tabcontent\">\n\n<div class=\"arconix-column-one-half\">\n<p><strong>Convert these text examples to binary:<\/strong><\/p>\n<p>a. dog<\/p>\n<p>b. cat<\/p>\n<p>c. mouse<\/p>\n<\/div>\n<div class=\"arconix-column-one-half\">\n<p><strong>Convert these binary examples to text:<\/strong><\/p>\n<p>d.\u00a001100101 01100111 01100111<\/p>\n<p>e.\u00a001101000 01100001 01101101<\/p>\n<p>f.\u00a001100011 01101000 01101001 01110000 01110011<\/p>\n<\/div>\n\n<\/div><h2 class=\"tabtitle\">Limitations of ASCII<\/h2>\n<div class=\"tabcontent\">\n\n<h3>Limitation of ASCII<\/h3>\n<div class=\"arconix-list\" data-arconix-icon=\"fa-chevron-circle-right\" data-arconix-color=\"black\">\n<ul>\n<li>ASCII can only be used save text that uses the roman alphabet ( mainly English) so it cannot be used for Arabic, Chinese, Cyrillic, etc.<\/li>\n<li>Doesn&#8217;t include any special characters (like wingdings)<\/li>\n<\/ul>\n<\/div>\n<p>Because of these limitations new formats were introduced (such as UFT and Unicode). These allowed computers to use millions of different characters, alphabets and special characters (such as emojis, non-roman alphabets and mathematical symbols.<\/p>\n<p>&nbsp;<\/p>\n\n<\/div><h2 class=\"tabtitle\">Plan<\/h2>\n<div class=\"tabcontent\">\n\n<p><a href=\"https:\/\/docs.google.com\/presentation\/d\/1mN-9w37lY52QMfOTLkSsZVEwdF57grnR3G7yFVp6NP8\/edit?usp=sharing\" target=\"_blank\" rel=\"noopener\">Lesson Slides Show<\/a><\/p>\n<p><strong>Prep<\/strong><\/p>\n<p>Download and print 30 copies of the ASCII table.<\/p>\n<p><strong>Starter<\/strong><\/p>\n<p><a href=\"https:\/\/docs.google.com\/presentation\/d\/1CDIA469H4-5y1d8Oj_mNdaGT-rp4jHh3aU_QM4hewDA\/edit?usp=sharing\">Lesson board starter<\/a><\/p>\n<p>If students finish before others get them to do the online starter.<\/p>\n<p>Hand out ASCII table to students while they fill in starter.<\/p>\n<p><strong>Demo<\/strong><\/p>\n<p>Intro ASCII to students by comparing to Morse code and then walk through the process of converting a simple word to binary on the board.<\/p>\n<p><strong>Practice<\/strong><\/p>\n<p>Get the students to write the first 5 letters of their name in binary.<\/p>\n<p>If the finish get students to have a go at the online\u00a0practice.<\/p>\n<p><strong>Learning Log<\/strong><\/p>\n<p>Get students to fill out learning log for lesson 3. When they reach the ASCII limitations bit, stop the class and elicit answers.<\/p>\n<p><strong>Plenary<\/strong><\/p>\n<p><a href=\"https:\/\/play.kahoot.it\/#\/k\/29f4f955-4899-43f8-b697-d3152e31d6b9\">Lesson review Kahoot<\/a><\/p>\n<p>&nbsp;<\/p>\n<\/div><\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Converting text\u00a0to binary When computers were first invented most text was represented in binary using the ASCII (American Standard Code for\u00a0 Information Interchange). Converting text to ASCII formatted binary is a simple process. You simply look up the decimal value for the character in the ASCII table below, and then convert that value from decimal&hellip;&nbsp;<a href=\"https:\/\/learnlearn.uk\/ibcs\/text-representation-binary\/\" class=\"\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Text Representation in Binary<\/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>Text Representation in Binary - 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\/text-representation-binary\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Text Representation in Binary - IB Computer Science\" \/>\n<meta property=\"og:description\" content=\"Converting text\u00a0to binary When computers were first invented most text was represented in binary using the ASCII (American Standard Code for\u00a0 Information Interchange). Converting text to ASCII formatted binary is a simple process. You simply look up the decimal value for the character in the ASCII table below, and then convert that value from decimal&hellip;&nbsp;Read More &raquo;Text Representation in Binary\" \/>\n<meta property=\"og:url\" content=\"https:\/\/learnlearn.uk\/ibcs\/text-representation-binary\/\" \/>\n<meta property=\"og:site_name\" content=\"IB Computer Science\" \/>\n<meta property=\"article:modified_time\" content=\"2022-10-02T14:58:54+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/learnlearn.uk\/binary\/wp-content\/uploads\/sites\/11\/2017\/01\/ascii-hello-example.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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/learnlearn.uk\/ibcs\/text-representation-binary\/\",\"url\":\"https:\/\/learnlearn.uk\/ibcs\/text-representation-binary\/\",\"name\":\"Text Representation in Binary - IB Computer Science\",\"isPartOf\":{\"@id\":\"https:\/\/learnlearn.uk\/ibcs\/#website\"},\"datePublished\":\"2022-09-20T06:06:09+00:00\",\"dateModified\":\"2022-10-02T14:58:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/learnlearn.uk\/ibcs\/text-representation-binary\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/learnlearn.uk\/ibcs\/text-representation-binary\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/learnlearn.uk\/ibcs\/text-representation-binary\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"IB Computer Science\",\"item\":\"https:\/\/learnlearn.uk\/ibcs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Text Representation in Binary\"}]},{\"@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":"Text Representation in Binary - 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\/text-representation-binary\/","og_locale":"en_GB","og_type":"article","og_title":"Text Representation in Binary - IB Computer Science","og_description":"Converting text\u00a0to binary When computers were first invented most text was represented in binary using the ASCII (American Standard Code for\u00a0 Information Interchange). Converting text to ASCII formatted binary is a simple process. You simply look up the decimal value for the character in the ASCII table below, and then convert that value from decimal&hellip;&nbsp;Read More &raquo;Text Representation in Binary","og_url":"https:\/\/learnlearn.uk\/ibcs\/text-representation-binary\/","og_site_name":"IB Computer Science","article_modified_time":"2022-10-02T14:58:54+00:00","og_image":[{"url":"http:\/\/learnlearn.uk\/binary\/wp-content\/uploads\/sites\/11\/2017\/01\/ascii-hello-example.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/learnlearn.uk\/ibcs\/text-representation-binary\/","url":"https:\/\/learnlearn.uk\/ibcs\/text-representation-binary\/","name":"Text Representation in Binary - IB Computer Science","isPartOf":{"@id":"https:\/\/learnlearn.uk\/ibcs\/#website"},"datePublished":"2022-09-20T06:06:09+00:00","dateModified":"2022-10-02T14:58:54+00:00","breadcrumb":{"@id":"https:\/\/learnlearn.uk\/ibcs\/text-representation-binary\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/learnlearn.uk\/ibcs\/text-representation-binary\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/learnlearn.uk\/ibcs\/text-representation-binary\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"IB Computer Science","item":"https:\/\/learnlearn.uk\/ibcs\/"},{"@type":"ListItem","position":2,"name":"Text Representation in Binary"}]},{"@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":"Converting text\u00a0to binary When computers were first invented most text was represented in binary using the ASCII (American Standard Code for\u00a0 Information Interchange). Converting text to ASCII formatted binary is a simple process. You simply look up the decimal value for the character in the ASCII table below, and then convert that value from decimal&hellip;&nbsp;Read&hellip;","_links":{"self":[{"href":"https:\/\/learnlearn.uk\/ibcs\/wp-json\/wp\/v2\/pages\/58"}],"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=58"}],"version-history":[{"count":4,"href":"https:\/\/learnlearn.uk\/ibcs\/wp-json\/wp\/v2\/pages\/58\/revisions"}],"predecessor-version":[{"id":80,"href":"https:\/\/learnlearn.uk\/ibcs\/wp-json\/wp\/v2\/pages\/58\/revisions\/80"}],"wp:attachment":[{"href":"https:\/\/learnlearn.uk\/ibcs\/wp-json\/wp\/v2\/media?parent=58"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}