{"id":211806,"date":"2025-05-05T07:59:32","date_gmt":"2025-05-05T07:59:32","guid":{"rendered":"https:\/\/learnexams.com\/blog\/?p=211806"},"modified":"2025-05-05T07:59:34","modified_gmt":"2025-05-05T07:59:34","slug":"the-decimal-number-28-would-be-written-in-binary-as","status":"publish","type":"post","link":"https:\/\/www.learnexams.com\/blog\/2025\/05\/05\/the-decimal-number-28-would-be-written-in-binary-as\/","title":{"rendered":"The decimal number 28 would be written in binary as"},"content":{"rendered":"\n<p>The decimal number 28 would be written in binary as <\/p>\n\n\n\n<p>a) 11100 <\/p>\n\n\n\n<p>b) 00111 <\/p>\n\n\n\n<p>c) 10110 <\/p>\n\n\n\n<p>d) 01011 <\/p>\n\n\n\n<p>The octal number 62 would be written in decimal as a) A12 b) F35 c) 50 d) 98 The hexadecimal number C4 would be written in decimal as a) 21 b) 48 c) 182 d) 196<\/p>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-ast-global-color-6-color\"><strong>The correct answer and explanation is :<\/strong><\/mark><\/p>\n\n\n\n<p>Let&#8217;s solve each of the three number conversion questions and then provide a clear explanation.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>1. The decimal number 28 in binary is:<\/strong><\/h3>\n\n\n\n<p>To convert <strong>28<\/strong> from <strong>decimal to binary<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>28 \u00f7 2 = 14, remainder <strong>0<\/strong><\/li>\n\n\n\n<li>14 \u00f7 2 = 7, remainder <strong>0<\/strong><\/li>\n\n\n\n<li>7 \u00f7 2 = 3, remainder <strong>1<\/strong><\/li>\n\n\n\n<li>3 \u00f7 2 = 1, remainder <strong>1<\/strong><\/li>\n\n\n\n<li>1 \u00f7 2 = 0, remainder <strong>1<\/strong><\/li>\n<\/ul>\n\n\n\n<p>Reading remainders from bottom to top: <strong>11100<\/strong><\/p>\n\n\n\n<p>\u2705 <strong>Correct Answer: a) 11100<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2. The octal number 62 in decimal is:<\/strong><\/h3>\n\n\n\n<p>Octal is base-8. To convert <strong>62 (octal)<\/strong> to <strong>decimal<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>$6 \\times 8^1 + 2 \\times 8^0 = 48 + 2 = 50$<\/li>\n<\/ul>\n\n\n\n<p>\u2705 <strong>Correct Answer: c) 50<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>3. The hexadecimal number C4 in decimal is:<\/strong><\/h3>\n\n\n\n<p>Hexadecimal is base-16. In hex, <strong>C = 12<\/strong>, so:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>$12 \\times 16^1 + 4 \\times 16^0 = 192 + 4 = 196$<\/li>\n<\/ul>\n\n\n\n<p>\u2705 <strong>Correct Answer: d) 196<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udd0d Explanation (300 words)<\/h2>\n\n\n\n<p>Understanding how number systems work is essential in computing and digital electronics. Let&#8217;s break it down:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Binary (Base-2)<\/strong><\/h3>\n\n\n\n<p>Binary uses only two digits: <strong>0<\/strong> and <strong>1<\/strong>. Each digit represents a power of 2. To convert a decimal number like <strong>28<\/strong> to binary, divide it repeatedly by 2 and record the remainders. Reading these remainders in reverse gives us the binary number. For 28, the binary form is <strong>11100<\/strong>, which means:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>$1\u00d72^4 + 1\u00d72^3 + 1\u00d72^2 + 0\u00d72^1 + 0\u00d72^0 = 28$<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Octal (Base-8)<\/strong><\/h3>\n\n\n\n<p>The octal system uses digits from <strong>0 to 7<\/strong>. To convert an octal number like <strong>62<\/strong> to decimal, expand it using powers of 8:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>$6\u00d78^1 + 2\u00d78^0 = 48 + 2 = 50$<\/li>\n<\/ul>\n\n\n\n<p>Octal is especially useful in computing because it shortens binary representations (3 binary digits per octal digit).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Hexadecimal (Base-16)<\/strong><\/h3>\n\n\n\n<p>Hex uses digits <strong>0\u20139<\/strong> and letters <strong>A\u2013F<\/strong> (where A=10 to F=15). It&#8217;s a compact form to represent binary data (4 binary digits per hex digit). For <strong>C4<\/strong>, we convert:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>C = 12, so $12\u00d716^1 + 4\u00d716^0 = 192 + 4 = 196$<\/li>\n<\/ul>\n\n\n\n<p>This method is widely used in memory addressing and color codes in web development.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h3>\n\n\n\n<p>Each system serves a specific purpose in computing. Binary is foundational, octal and hexadecimal provide compact alternatives, and understanding conversions between them is vital for programming, data encoding, and hardware design.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The decimal number 28 would be written in binary as a) 11100 b) 00111 c) 10110 d) 01011 The octal number 62 would be written in decimal as a) A12 b) F35 c) 50 d) 98 The hexadecimal number C4 would be written in decimal as a) 21 b) 48 c) 182 d) 196 The [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[25],"tags":[],"class_list":["post-211806","post","type-post","status-publish","format-standard","hentry","category-exams-certification"],"_links":{"self":[{"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/posts\/211806","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/comments?post=211806"}],"version-history":[{"count":0,"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/posts\/211806\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/media?parent=211806"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/categories?post=211806"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/tags?post=211806"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}