{"id":2321,"date":"2020-12-21T13:37:44","date_gmt":"2020-12-21T13:37:44","guid":{"rendered":"https:\/\/themindpalace.in\/?p=2321"},"modified":"2021-08-26T05:38:44","modified_gmt":"2021-08-26T05:38:44","slug":"language-of-computers-binary","status":"publish","type":"post","link":"https:\/\/themindpalace.in\/index.php\/2020\/12\/21\/language-of-computers-binary\/","title":{"rendered":"Language of Computers &#8211; Binary"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The digital computer is a digital system that performs various computational tasks. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Generally the word digital means:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>recording or <strong>showing information in the form of numbers<\/strong>, esp. 0 and 1<\/li><li><strong>showing information as whole numbers<\/strong> rather than in another form such as a picture, graph, etc.<\/li><li>of relating to, or using calculation by numerical methods or by <span style=\"text-decoration: underline;\">discrete units<\/span> (different, unique, and separate units).<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-pullquote\"><blockquote><p>The decimal digits 0, 1, 2, &#8230;, 9, for example, provide 10 discrete values.<\/p><\/blockquote><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Here the word digital implies a system that can be used by a computer and other electronic equipment, in which <strong>information is sent and received in electronic form as a series of the numbers 1 and 0<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The first electronic digital computers, developed in the late 1940s, were used primarily for numerical computations. In this case, the discrete elements are the digits (ie., 0, 1,2&#8230;9). From this application, the term digital computer has emerged.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In practice, digital computers function more reliably if only two values are used. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Computers don&#8217;t understand <\/strong>words or numbers the way we humans do. In the end, everything in the computer is represented by a binary electrical signal that registers data in one of two states: ON or OFF<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Any instructions you give to the computer gets converted to binary. Later gets stored, processed within the system. Output again will be presented in the format we humans can understand.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This ON or OFF usaually represented with two numbers 0 and 1. <\/p>\n\n\n\n<figure class=\"wp-block-pullquote\"><blockquote><p>It&#8217;s called binary numbers as it has only two numbers in this system.<\/p><\/blockquote><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Digital computers use the binary number system, which has two digits: 0 and 1. A binary digit is called a bit.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In digital computers, information is represented in groups of bits.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>A group of eight bits is called a byte.<\/li><li>Most computer memories use words whose number of bits is a multiple of 8.<\/li><li>Thus a 16-bit word contains two bytes, and<\/li><li>a 32-bit word is made up of four bytes.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">It is customary to refer to the number of words (or bytes) in a memory with one of the letters <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1 KB<\/strong> (kilobyte) is 2<sup>10<\/sup> = <strong>1024 bytes<\/strong>, <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1 MB<\/strong> (megabyte) is 2<sup>20<\/sup> = <strong>1024 Kilo bytes<\/strong>, <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1 GB<\/strong> (gigabyte) is 2<sup>30<\/sup> = <strong>1024 Mega bytes<\/strong>, etc.,<\/p>\n\n\n\n<figure class=\"wp-block-pullquote\"><blockquote><p>By using various coding techniques, groups of bits can be made to represent not only binary numbers but also other discrete symbols, such as decimal digits or letters of the alphabet.<\/p><\/blockquote><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">By judicious use of binary arrangements and by using various coding techniques, the groups of bits are used to develop complete sets of instructions for performing various types of computations.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In contrast to the common decimal numbers that employ the base 10 system, binary numbers use a base 2 system with two digits: 0 and 1.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The decimal equivalent of a binary number can be found by expanding it into a power series with a base of 2. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, the binary number <strong>1001011 <\/strong>represents a quantity that can be <strong>converted to a decimal number by multiplying each bit by the base 2 raised to an integer power<\/strong> as follows:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>binary base positions<\/td><td>2<sup>6<\/sup>=64<\/td><td>2<sup>5<\/sup>=32<\/td><td>2<sup>4<\/sup>=16<\/td><td>2<sup>3<\/sup>=8<\/td><td>2<sup>2<\/sup>=4<\/td><td>2<sup>1<\/sup>=2<\/td><td>2<sup>0<\/sup>=1<\/td><\/tr><tr><td>given binary number<\/td><td>1<\/td><td>0<\/td><td>0<\/td><td>1<\/td><td>0<\/td><td>1<\/td><td>1<\/td><\/tr><tr><td>multiply base positions with the respective binary digit<\/td><td>1&#215;64=64<\/td><td>0x32=0<\/td><td>0x16=0<\/td><td>1&#215;8=8<\/td><td>0x4=0<\/td><td>1&#215;2=2<\/td><td>1&#215;1 =1<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Total sum is 64+0=0+8+0+2+1 = 75<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-pullquote\"><blockquote><p>Thus the seven bits 1001011 represent a binary number whose decimal equivalent is 75. <\/p><\/blockquote><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, <strong>this same group of seven bits represents the letter K<\/strong> when used in conjunction with a binary code for the letters of the alphabet. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It may also represent a control code for specifying some decision logic in a particular digital computer. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In other words, groups of bits in a digital computer are used to represent many different things. <\/p>\n\n\n\n<figure class=\"wp-block-pullquote\"><blockquote><p>This is similar to the concept that the same letters of an alphabet are used to construct different languages, such as English and French.<\/p><\/blockquote><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Similarly, first few decimal equivalent for binary is given below.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th class=\"has-text-align-center\" data-align=\"center\" scope=\"col\">Decimal<br>number<\/th><th class=\"has-text-align-center\" data-align=\"center\" scope=\"col\">Binary<br>number<\/th><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">0<\/td><td class=\"has-text-align-center\" data-align=\"center\">0<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">1<\/td><td class=\"has-text-align-center\" data-align=\"center\">1<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">2<\/td><td class=\"has-text-align-center\" data-align=\"center\">10<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">3<\/td><td class=\"has-text-align-center\" data-align=\"center\">11<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">4<\/td><td class=\"has-text-align-center\" data-align=\"center\">100<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">5<\/td><td class=\"has-text-align-center\" data-align=\"center\">101<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">6<\/td><td class=\"has-text-align-center\" data-align=\"center\">110<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">7<\/td><td class=\"has-text-align-center\" data-align=\"center\">111<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">8<\/td><td class=\"has-text-align-center\" data-align=\"center\">1000<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">9<\/td><td class=\"has-text-align-center\" data-align=\"center\">1001<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">10<\/td><td class=\"has-text-align-center\" data-align=\"center\">1010<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">11<\/td><td class=\"has-text-align-center\" data-align=\"center\">1011<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">12<\/td><td class=\"has-text-align-center\" data-align=\"center\">1100<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">13<\/td><td class=\"has-text-align-center\" data-align=\"center\">1101<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">14<\/td><td class=\"has-text-align-center\" data-align=\"center\">1110<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">15<\/td><td class=\"has-text-align-center\" data-align=\"center\">1111<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Next<\/strong>:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Memory and binary data<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Computers don\u2019t understand words or numbers the way we humans do. In the end, everything in the computer is represented by a binary electrical signal that registers data in one of two states: ON or OFF<\/p>\n<p>Any instructions you give to the computer gets converted to binary. Later gets stored, processed within the system. Output again will be presented in the format we humans can understand.<\/p>\n<p>This ON or OFF usaually represented with two numbers 0 and 1. <\/p>\n","protected":false},"author":2,"featured_media":2398,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[293,475,2],"tags":[284,294,283],"class_list":["post-2321","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computer-science-applocations","category-posts-in-english","category-information-technology","tag-bca-syllubus","tag-binary-basics","tag-computer-organisation-architecture"],"cp_meta_data":{"_edit_lock":["1629956324:2"],"_last_editor_used_jetpack":["block-editor"],"_edit_last":["2"],"_heateor_sss_meta":["a:2:{s:7:\"sharing\";i:0;s:16:\"vertical_sharing\";i:0;}"],"_jetpack_related_posts_cache":["a:1:{s:32:\"8f6677c9d6b0f903e98ad32ec61f8deb\";a:2:{s:7:\"expires\";i:1785349494;s:7:\"payload\";a:0:{}}}"],"_thumbnail_id":["2398"]},"jetpack_featured_media_url":"https:\/\/themindpalace.in\/wp-content\/uploads\/2020\/12\/binary.jpg","jetpack-related-posts":[{"id":2251,"url":"https:\/\/themindpalace.in\/index.php\/2020\/12\/12\/computer-organisation-architecture\/","url_meta":{"origin":2321,"position":0},"title":"Computer Organisation &#038; Architecture","author":"The Mind","date":"December 12, 2020","format":false,"excerpt":"Summary on organisation and architecture of computer The original purpose of building computers was computing. Without this, most of the computing disciplines today would be a branch of theoretical mathematics. Summary Computer Architecture describes what the computer does.Computer Organization describes how it does it. A computer system, like any system,\u2026","rel":"","context":"In &quot;BCA&quot;","block_context":{"text":"BCA","link":"https:\/\/themindpalace.in\/index.php\/category\/information-technology\/computer-science-applocations\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/12\/Relationship_between_Computer_Architecture_and_Computer_Organisation.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/12\/Relationship_between_Computer_Architecture_and_Computer_Organisation.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/12\/Relationship_between_Computer_Architecture_and_Computer_Organisation.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/12\/Relationship_between_Computer_Architecture_and_Computer_Organisation.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":320,"url":"https:\/\/themindpalace.in\/index.php\/2020\/06\/28\/computers-for-beginners-part-3\/","url_meta":{"origin":2321,"position":1},"title":"Computers for Beginner&#8217;s -Part 3","author":"Nancy Diana","date":"June 28, 2020","format":false,"excerpt":"Functional Classification of computers Computers are classified into 3 types depending on their functionality and data processing Analog, Digital, & Hybrid Computers Analog computers Analog computer Image source Daderot - Own work, CC0, Link Analog computers handle or process information which is of physical nature or quantity Example temperature, Pressure\u00a0\u2026","rel":"","context":"In &quot;English Medium&quot;","block_context":{"text":"English Medium","link":"https:\/\/themindpalace.in\/index.php\/category\/posts-in-english\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/06\/work1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/06\/work1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/06\/work1.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/06\/work1.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/06\/work1.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/06\/work1.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":87,"url":"https:\/\/themindpalace.in\/index.php\/2020\/05\/28\/computers-for-beginners-part-2\/","url_meta":{"origin":2321,"position":2},"title":"Computers for Beginners \u2013 Part 2","author":"The Mind","date":"May 28, 2020","format":false,"excerpt":"Assembled parts of a PC Ramesh kannan5005 \/ CC BY-SA Know the parts of your computer Computer hardware includes the physical parts of a computer, such as a case, central processing unit (CPU), monitor, keyboard, computer data storage, graphics card, sound card, speakers, and motherboard. By contrast, the software is\u2026","rel":"","context":"In &quot;English Medium&quot;","block_context":{"text":"English Medium","link":"https:\/\/themindpalace.in\/index.php\/category\/posts-in-english\/"},"img":{"alt_text":"Assembled parts of a PC","src":"https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/05\/800px-Assembledparts.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/05\/800px-Assembledparts.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/05\/800px-Assembledparts.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/05\/800px-Assembledparts.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":48,"url":"https:\/\/themindpalace.in\/index.php\/2020\/05\/28\/computers-for-beginners-part-1\/","url_meta":{"origin":2321,"position":3},"title":"Computers for Beginners &#8211; Part 1","author":"The Mind","date":"May 28, 2020","format":false,"excerpt":"What is a Computer IBM Personal Computer Federigo Federighi \/ CC BY-SA (https:\/\/creativecommons.org\/licenses\/by-sa\/4.0) By definition, a computer is an electronic digital device which can process, store and display the information The computer's original function is calculation. It is incredibly fast at mathematicalaccounting - what would take a human, hours to\u2026","rel":"","context":"In &quot;English Medium&quot;","block_context":{"text":"English Medium","link":"https:\/\/themindpalace.in\/index.php\/category\/posts-in-english\/"},"img":{"alt_text":"IBM Personal Computer","src":"https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/05\/800px-IBM_Personal_Computer_1981.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/05\/800px-IBM_Personal_Computer_1981.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/05\/800px-IBM_Personal_Computer_1981.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/05\/800px-IBM_Personal_Computer_1981.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":358,"url":"https:\/\/themindpalace.in\/index.php\/2020\/07\/04\/smart-phone-part-1\/","url_meta":{"origin":2321,"position":4},"title":"Smart Phones- Part 1","author":"Nancy Diana","date":"July 4, 2020","format":false,"excerpt":"Smartphones are a great portal for knowledge, but when people do not know how to use them, those very devices do more harm to the inner wellbeing of a person, young and old alike. Smartphones Image by Gerd Altmann from Pixabay Nowadays smartphones offer advanced features such as the internet,\u2026","rel":"","context":"In &quot;English Medium&quot;","block_context":{"text":"English Medium","link":"https:\/\/themindpalace.in\/index.php\/category\/posts-in-english\/"},"img":{"alt_text":"Smartphones","src":"https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/07\/smartphone.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/07\/smartphone.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/07\/smartphone.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/07\/smartphone.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/07\/smartphone.jpg?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/07\/smartphone.jpg?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":1445,"url":"https:\/\/themindpalace.in\/index.php\/2020\/10\/23\/electrical-appliances-in-everyday-life\/","url_meta":{"origin":2321,"position":5},"title":"ELECTRICAL APPLIANCES IN EVERYDAY LIFE","author":"Nancy Diana","date":"October 23, 2020","format":false,"excerpt":"Summary of electrical appliances in every day life Summary Electrical appliance is one of the basic components of a circuit which makes use of electricity. we make use of electricity to take care of our needs There are electrical appliances which make our work easy and comfortable for examples electric\u2026","rel":"","context":"In &quot;7th Class&quot;","block_context":{"text":"7th Class","link":"https:\/\/themindpalace.in\/index.php\/category\/ncert-school-syllabus\/7th-class-ncert-syllabus\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/10\/Slide1-24.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/10\/Slide1-24.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/10\/Slide1-24.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/themindpalace.in\/wp-content\/uploads\/2020\/10\/Slide1-24.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/themindpalace.in\/index.php\/wp-json\/wp\/v2\/posts\/2321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/themindpalace.in\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/themindpalace.in\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/themindpalace.in\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/themindpalace.in\/index.php\/wp-json\/wp\/v2\/comments?post=2321"}],"version-history":[{"count":21,"href":"https:\/\/themindpalace.in\/index.php\/wp-json\/wp\/v2\/posts\/2321\/revisions"}],"predecessor-version":[{"id":2406,"href":"https:\/\/themindpalace.in\/index.php\/wp-json\/wp\/v2\/posts\/2321\/revisions\/2406"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/themindpalace.in\/index.php\/wp-json\/wp\/v2\/media\/2398"}],"wp:attachment":[{"href":"https:\/\/themindpalace.in\/index.php\/wp-json\/wp\/v2\/media?parent=2321"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/themindpalace.in\/index.php\/wp-json\/wp\/v2\/categories?post=2321"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/themindpalace.in\/index.php\/wp-json\/wp\/v2\/tags?post=2321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}