{"id":5622,"date":"2017-12-25T14:25:18","date_gmt":"2017-12-25T14:25:18","guid":{"rendered":"https:\/\/www.testingdocs.com\/questions\/?p=5622"},"modified":"2024-09-29T16:42:22","modified_gmt":"2024-09-29T16:42:22","slug":"binary-to-decimal-number-converter-flowchart","status":"publish","type":"post","link":"https:\/\/www.testingdocs.com\/questions\/binary-to-decimal-number-converter-flowchart\/","title":{"rendered":"Binary to Decimal Number Converter Flowchart"},"content":{"rendered":"<h2>Binary to Decimal Number Converter Flowchart<\/h2>\n<p>Let&#8217;s create a Binary to Decimal Number Converter flowchart using the RAPTOR application.\u00a0Let&#8217;s understand the binary code.<\/p>\n<h2>Binary Code<\/h2>\n<p>Binary code is a system of representing text, computer instructions, or any other data using a two-symbol system, consisting of &#8220;0&#8221; and &#8220;1&#8221;<\/p>\n<p>A binary unit is known as a \u201cbit\u201d (short for binary digit). It is the smallest unit of digital information that a computer can understand. It is stored in a series of zeros(0) and ones(1). A digital computer thinks by relying on zeros and ones for all information.<\/p>\n<h2>Decimal Number<\/h2>\n<p>Decimal numbers are numbers represented in the <strong>base-10<\/strong> numeral system, which is the most common system used in everyday life. This system uses <strong>ten digits.<\/strong><\/p>\n<p>0, 1, 2, 3, 4, 5, 6, 7, 8, and 9.<\/p>\n<p>Unlike the decimal system (base-10) that uses ten digits (0-9), binary code uses only two digits: 0 and 1.<\/p>\n<h2>Example<\/h2>\n<p>Let&#8217;s convert a simple binary code into a decimal number.<\/p>\n<p>Binary = 101<\/p>\n<p>Decimal =\u00a0 1*2^2 + 0*2^1 + 1*2^0<\/p>\n<p>= 4 + 0 + 1<\/p>\n<p>= 5<\/p>\n<p>&nbsp;<\/p>\n<h2>Video Tutorial<\/h2>\n<p>&nbsp;<\/p>\n<p><iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/hUJC8WzS3KA?si=0akD0DoUwFHqiE6Z\" width=\"550\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_start\">\ufeff<\/span><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<h2>Pseudocode<\/h2>\n<pre>START\r\nDim digit\r\nDim quotient\r\nDim bNumber\r\nDim dNumber\r\nDim i\r\n\r\nPROMPT \"Enter binary number=\"\r\nInput bNumber \r\ndNumber = 0\r\nquotient = bNumber\r\ni = 0\r\nDo Until quotient = 0\r\ndigit = quotient Mod 10\r\nquotient = floor(quotient \/ 10)\r\ndNumber = dNumber + (digit * 2 ^ i)\r\ni = i + 1\r\nLoop\r\nOutput \"Given Binary number=\" + bNumber\r\nOutput \"Equivalent Decimal Number=\" + dNumber\r\n\r\nEND<\/pre>\n<h3><\/h3>\n<h2>Binary to Decimal Number Flowchart<\/h2>\n<p>The Raptor flowchart converts binary to decimal numbers.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5630\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/binary-to-decimal-number-converter-flowchart1.png\" alt=\"binary to decimal number converter flowchart1\" width=\"1031\" height=\"995\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/binary-to-decimal-number-converter-flowchart1.png 1031w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/binary-to-decimal-number-converter-flowchart1-300x290.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/binary-to-decimal-number-converter-flowchart1-1024x988.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/binary-to-decimal-number-converter-flowchart1-768x741.png 768w\" sizes=\"auto, (max-width: 1031px) 100vw, 1031px\" \/><\/p>\n<h3><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5631\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/binary-to-decimal-number-converter-2.png\" alt=\"\" width=\"902\" height=\"995\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/binary-to-decimal-number-converter-2.png 902w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/binary-to-decimal-number-converter-2-272x300.png 272w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/binary-to-decimal-number-converter-2-768x847.png 768w\" sizes=\"auto, (max-width: 902px) 100vw, 902px\" \/><\/h3>\n<h3><\/h3>\n<h2>Sample Output<\/h2>\n<p>The sample output of the flowchart:<\/p>\n<p>Given Binary number=10111<br \/>\nEquivalent Decimal Number=23<\/p>\n<h2><\/h2>\n<h2>Flowchart Examples<\/h2>\n<ul>\n<li><strong><a href=\"https:\/\/www.testingdocs.com\/raptor-flowchart-examples\/\">https:\/\/www.testingdocs.com\/raptor-flowchart-examples\/<\/a><\/strong><\/li>\n<\/ul>\n<h2>Raptor Tutorial<\/h2>\n<p>Raptor Tutorials on this website can be found at<\/p>\n<ul>\n<li><a href=\"https:\/\/www.testingdocs.com\/raptor-a-flowchart-tool\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.testingdocs.com\/raptor-a-flowchart-tool\/<\/a><\/li>\n<\/ul>\n<p>RAPTOR official website<\/p>\n<ul>\n<li><a href=\"https:\/\/raptor.martincarlisle.com\/\" target=\"_blank\" rel=\"noopener\">https:\/\/raptor.martincarlisle.com\/<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Binary to Decimal Number Converter Flowchart Let&#8217;s create a Binary to Decimal Number Converter flowchart using the RAPTOR application.\u00a0Let&#8217;s understand the binary code. Binary Code Binary code is a system of representing text, computer instructions, or any other data using a two-symbol system, consisting of &#8220;0&#8221; and &#8220;1&#8221; A binary unit is known as a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[187],"tags":[19],"class_list":["post-5622","post","type-post","status-publish","format-standard","hentry","category-flowchart","tag-raptor","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"_links":{"self":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/5622","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/comments?post=5622"}],"version-history":[{"count":14,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/5622\/revisions"}],"predecessor-version":[{"id":24319,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/5622\/revisions\/24319"}],"wp:attachment":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/media?parent=5622"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/categories?post=5622"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/tags?post=5622"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}