You will also use the Scientific view powers function to determine the number of hosts that can be addressed based on the number of host bits available.
In this lab, you will use the Windows 7 Calculator application Programmer view to convert between the binary, decimal, and hexadecimal number systems. The Calculator application also has advanced programming, scientific, and statistical capabilities. The Windows 7 version of Calculator includes a Standard view that can be used to perform basic arithmetic tasks such as addition, subtract, multiplication, and division. Microsoft provides a built-in Calculator application as part of the operating system. Network technicians use binary, decimal, and hexadecimal numbers when working with computers and networking devices.
Part 5: Convert MAC Addresses and IPv6 Addresses to Binary Background / Scenario Part 4: Determine the Number of Hosts in a Network Using Powers of 2 Part 3: Convert Host IPv4 Addresses and Subnet Masks into Binary Part 2: Convert between Numbering Systems Optional activities are designed to enhance understanding and/or to provide additional practice. Or, (10.16) 10 = (1010.00101) 2 (approx.Last Updated on Januby Admin 7.1.2.8 Lab – Using the Windows Calculator with Network Addresses Answers Lab – Using the Windows Calculator with Network Addresses ( Answers Version – Optional Lab)Īnswers Note: Red font color or gray highlights indicate text that appears in the instructor copy only. Now, to get the binary of the decimal number 10.16 we have to merge the two binary results. In this case, we have 5 digits as answer and the fractional part is still not 0 so, we stop here.Īlternatively, (0.16) 10 = (0.00101.) 2 We multiply 0.12 by 2 and take the integer part We multiply 0.56 by 2 and take the integer part We multiply 0.28 by 2 and take the integer part We multiply 0.64 by 2 and take the integer part We multiply 0.32 by 2 and take the integer part We multiply 0.16 by 2 and take the integer part Now, we will convert the fractional part 0.16 into binary. To find the binary we have to scan the remainder from bottom. The calculated remainder are as followed. Where, (base 10) means the number is in decimal number system and (base 2) means the number is in binary number system.Ĭonvert decimal number 10.16 into binary formįirst we convert the integer part 10 into binary.ĭividing 10 by 2 we will get 0 as remainder.ĭividing 5 by 2 we will get 1 as remainder.ĭividing 2 by 2 we will get 0 as remainder.Īs, dividend is less than 2 so, we will stop here and copy the dividend as the last remainder. To find the binary we have to scan the integer part from top The calculated integer part are as followed. Now the fractional part is 0 so, we stop here. We multiply 0.500 by 2 and take the integer part We multiply 0.250 by 2 and take the integer part We multiply 0.125 by 2 and take the integer partĪs, fractional part is not equal to 0 so we copy it to next step. Integer part is 0 which is less than 2 so, 0 (base 10) = 0 (base 2) Binary of 0.125 In some cases the fractional part will not become 0 so, for those scenarios we will stop after N digits, where N will be sufficiently large or given in the question.Ĭonvert decimal number 0.125 into binary formįirst we convert the integer part 0 into binary and then the fractional part. We perform this process till the fractional part becomes 0. To get the binary of the fractional part we have to multiple the fractional part by 2 and take the integer part before the decimal point as result and multiple the remaining fractional part by 2 again. Finally combine the two to get the result. Then covert the fractional part into binary form. So, to convert a floating point decimal number into binary form we have to first convert the integer part into binary form. The integer part of this number is 10 and the fractional part of the number is 0.16 and together they make up the number. For example, 10.16 is a floating point decimal number. An integer part which is to the left of the decimal point and a fractional part which is to the right of the decimal point. How to convert a decimal number having fractional part into Binary?Ī floating point decimal number consists of two parts. And it is most commmonly used in computers. So, any number that we use in our daily life is actually in decimal number system.Ī binary number system consists of only 2 digits: 0 and 1. In this tutorial we will learn to convert a decimal number which has fractional part into binary number.īefore we dive into the main topic lets talk a little about Decimal and Binary Number System that we are going to work with in this tutorial.Ī decimal number system consists of 10 digits: 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.