{"id":225324,"date":"2025-06-04T06:58:56","date_gmt":"2025-06-04T06:58:56","guid":{"rendered":"https:\/\/learnexams.com\/blog\/?p=225324"},"modified":"2025-06-04T06:58:58","modified_gmt":"2025-06-04T06:58:58","slug":"convert-the-following-binary-numbers-to-hexadecimal-and-decimal","status":"publish","type":"post","link":"https:\/\/www.learnexams.com\/blog\/2025\/06\/04\/convert-the-following-binary-numbers-to-hexadecimal-and-decimal\/","title":{"rendered":"Convert the following binary numbers to hexadecimal and decimal"},"content":{"rendered":"\n<p>Convert the following binary numbers to hexadecimal and decimal: (a) 1.10010, (b) 110.010. Explain why the decimal answer in (b) is 4 times that in (a).<\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-ast-global-color-1-color\">The Correct Answer and Explanation is:<\/mark><\/strong><\/p>\n\n\n\n<p>Let&#8217;s first convert the binary numbers to <strong>decimal<\/strong> and <strong>hexadecimal<\/strong>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">(a) <strong>Binary: 1.10010<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Decimal Conversion:<\/h4>\n\n\n\n<p>We split the binary number into its <strong>integer<\/strong> and <strong>fractional<\/strong> parts:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Integer part: <code>1<\/code> = 1\u00d720=11 \\times 2^0 = 1<\/li>\n\n\n\n<li>Fractional part: <code>.10010<\/code><br>=1\u00d72\u22121+0\u00d72\u22122+0\u00d72\u22123+1\u00d72\u22124+0\u00d72\u22125= 1 \\times 2^{-1} + 0 \\times 2^{-2} + 0 \\times 2^{-3} + 1 \\times 2^{-4} + 0 \\times 2^{-5}<br>=0.5+0+0+0.0625+0= 0.5 + 0 + 0 + 0.0625 + 0<br>=0.5625= 0.5625<\/li>\n<\/ul>\n\n\n\n<p><strong>Decimal Result:<\/strong> 1+0.5625=1.56251 + 0.5625 = 1.5625<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Hexadecimal Conversion:<\/h4>\n\n\n\n<p>Group the binary digits from the point outward:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Binary: <code>1.10010<\/code> \u2192 Pad to 4 bits after and before the point: <code>0001.1001 0000<\/code><br>\u2192 Integer part: <code>0001<\/code> = 1<br>\u2192 Fractional part: <code>1001<\/code> = 9 (Hex)<br>\u2192 (Next digit <code>0000<\/code> = 0, but not significant beyond 4 bits)<\/li>\n<\/ul>\n\n\n\n<p><strong>Hexadecimal Result:<\/strong> 1.9161.9_{16}<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">(b) <strong>Binary: 110.010<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Decimal Conversion:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Integer part: <code>110<\/code> = 1\u00d722+1\u00d721+0\u00d720=4+2+0=61 \\times 2^2 + 1 \\times 2^1 + 0 \\times 2^0 = 4 + 2 + 0 = 6<\/li>\n\n\n\n<li>Fractional part: <code>.010<\/code><br>=0\u00d72\u22121+1\u00d72\u22122+0\u00d72\u22123=0+0.25+0=0.25= 0 \\times 2^{-1} + 1 \\times 2^{-2} + 0 \\times 2^{-3} = 0 + 0.25 + 0 = 0.25<\/li>\n<\/ul>\n\n\n\n<p><strong>Decimal Result:<\/strong> 6+0.25=6.256 + 0.25 = 6.25<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Hexadecimal Conversion:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Binary: <code>110.010<\/code> \u2192 Pad to: <code>0110.0100<\/code><br>\u2192 Integer part: <code>0110<\/code> = 6<br>\u2192 Fractional part: <code>0100<\/code> = 4<\/li>\n<\/ul>\n\n\n\n<p><strong>Hexadecimal Result:<\/strong> 6.4166.4_{16}<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Why is (b) 4 times (a)?<\/h3>\n\n\n\n<p>From the decimal results:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>(a) = 1.5625<\/li>\n\n\n\n<li>(b) = 6.25<\/li>\n\n\n\n<li>1.5625\u00d74=6.251.5625 \\times 4 = 6.25<\/li>\n<\/ul>\n\n\n\n<p>This happens because of the structure of binary numbers.<\/p>\n\n\n\n<p>Let\u2019s analyze:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>(a): <code>1.10010<\/code><\/li>\n\n\n\n<li>(b): <code>110.010<\/code><\/li>\n<\/ul>\n\n\n\n<p>If we shift <strong>all bits<\/strong> of (a) <strong>left by two places<\/strong> (i.e., multiply by 22=42^2 = 4), we get:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>1.10010 \u00d7 2^2 = 110.010\n<\/code><\/pre>\n\n\n\n<p>This is the exact value of (b). So, shifting left by 2 bits (which multiplies by 4 in binary) shows that (b) is 4 times (a).<\/p>\n\n\n\n<p><strong>Conclusion:<\/strong> In binary, each left shift by one bit multiplies the number by 2. Shifting 1.10010 left two places gives 110.010, thus explaining why (b) = 4 \u00d7 (a).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/learnexams.com\/blog\/wp-content\/uploads\/2025\/06\/learnexams-banner7-157.jpeg\" alt=\"\" class=\"wp-image-225325\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Convert the following binary numbers to hexadecimal and decimal: (a) 1.10010, (b) 110.010. Explain why the decimal answer in (b) is 4 times that in (a). The Correct Answer and Explanation is: Let&#8217;s first convert the binary numbers to decimal and hexadecimal. (a) Binary: 1.10010 Decimal Conversion: We split the binary number into its integer [&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-225324","post","type-post","status-publish","format-standard","hentry","category-exams-certification"],"_links":{"self":[{"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/posts\/225324","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=225324"}],"version-history":[{"count":0,"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/posts\/225324\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/media?parent=225324"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/categories?post=225324"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/tags?post=225324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}