Question

In: Computer Science

Convert these numbers from Decimal to Binary 111: 66: 252 11 20 Convert these numbers from...

  1. Convert these numbers from Decimal to Binary
    1. 111:
    2. 66:
    3. 252
    4. 11
    5. 20
  2. Convert these numbers from Binary to Decimal
    1. 00110110
    2. 11111000
    3. 00000111
    4. 10101010
  3. What is the Default Subnet mask of Class A IPV4
  4. What is the Default Subnet mask of Class B IPV4
  5. What is the Default Subnet mask of Class C IPV4
  6. What is the CIDR notation or / short handwriting of Subnet masks:
    1. Class A: /?. Explain the reason
    2. Class B: /? Explain the reason
    3. Class C: /? Explain the reason
  7. Identify which IPV4 class these IP belong to
    1. 6.0.0.0                Class?
    2. 120.0.0.0            Class?
    3. 130.30.0.0          Class?
    4. 199.100.1.0        Class?

Please choose the correct answer and add any additional information. Thanks :)

Solutions

Expert Solution

Hi, I would like to answer you with these questions , I hope you will get something new to learn and if so then please give the thums up to the answer and not wasting much time lets head towards the answers:

Decimal to Binary

  • 111 - 1101111
  • 66 - 111110
  • 252 - 11111100
  • 11 - 1011
  • 20 - 10100

Divide the number by 2 and you need to line up the remainder to get its binary

Binary to Decimal

  • 00110110 - 54
  • 11111000 - 248
  • 00000111 - 7
  • 10101010 - 170

The binary number is calculated as first digit is 20 then increasing 0 to 1 then 2 and so on and calculte the sum at last like in 00000111 20+21+22 = 1+2+4 = 7

Default Subnet Masks and their CIDR

  • Class A - 255.0.0.0 /8
  • Class B - 255.255.0.0 /16
  • Class C - 255.255.255.0 /24

The information which is used is that the 255 used block contains the network bits in the ip address rest with zero are host bit so Class A is like : 11111111:00000000:00000000:00000000 (N:H:H:H)

Identify the class of ip address

  • 6.0.0.0 - Class A
  • 120.0.0.0 - Class A
  • 130.0.0.0 - Class B
  • 199.100.1.0 - Class C

Ranges of ip addresses are as - Class A 0-127 ( face value ) Class B 128-191 Class C 192-223 After this there are for different other aspects Class D and E research and government uses.

So this was the explanation with the answers, Please give thums up to the answer and do comment for any queries

Thanks and Happy to help :)

HAPPY LEARNING


Related Solutions

Develop a python program to convert two decimal numbers (A and B) to binary numbers. You...
Develop a python program to convert two decimal numbers (A and B) to binary numbers. You should generate B complement signal (flip all the bits of Input B,
Convert a list of decimal numbers into their binary and hexadecimal equivalents Add the elements of...
Convert a list of decimal numbers into their binary and hexadecimal equivalents Add the elements of each of these lists to generate a total sum Print the lists, and the total sum of each value C++ contains some built-in functions (such as itoa and std::hex) which make this assignment trivial. You may NOT use these in your programs. You code must perform the conversion through your own algorithm. The input values are: 5 9 24 2 39 83 60 8...
Convert the following decimal numbers to binary (You may use as many binary digits as necessary)...
Convert the following decimal numbers to binary (You may use as many binary digits as necessary) 25610 246710 102310 2310 710 Convert the following binary numbers to hexadecimal 1101 0010 1101 1111 1100 0101 0010 1001 1000 0000 0000 0001 0001 1000 0000 0000 Given  bits, how many unsigned binary numbers can be represented? Given  bits, how many signed binary numbers can be represented using the two’s compliment method? In the two’s complement method, why is there one more negative number than...
Convert from hexadecimal to binary to decimal (PLEASE SHOW WORK) 1. B2 - binary: - decimal:...
Convert from hexadecimal to binary to decimal (PLEASE SHOW WORK) 1. B2 - binary: - decimal: 2. 37 - binary: - decimal: 3. 0A -binary: - decimal: 4. 11 - binary: - decimal:
1.convert the following numbers from decimal to binary assuming seven-bit twe's complement binary representation: a)49 b)...
1.convert the following numbers from decimal to binary assuming seven-bit twe's complement binary representation: a)49 b) -27 c)0 d) -64 e) -1 f) -2 g) what is the range for this computer as written in binary and in decimal? 2.convert the following numbers from decimal to binary assuming nine-bit twe's complement binary representation: a)51 b) -29 c) -2 d)0 e) -256 f) -1 g ) what is the range for this computer as written in binary and in decimal?
Convert the binary numbers to decimal. Show a single sample calculation for the first number (10010010)....
Convert the binary numbers to decimal. Show a single sample calculation for the first number (10010010). 0111 1111 1001 0110 0101 1100 1100 0111
Convert the following unsigned numbers to the requested form: 01100001 binary to: hex, and also decimal...
Convert the following unsigned numbers to the requested form: 01100001 binary to: hex, and also decimal Hex: Decimal: b) 136 decimal to: hex, and also binary Hex: Binary:
Write a program to convert the input numbers to another number system. 1. Decimal to Binary...
Write a program to convert the input numbers to another number system. 1. Decimal to Binary 2. Binary to Decimal 3. Hexadecimal to Decimal 4. Decimal to Hexadecimal 5. Binary to Hexadecimal 6. Hexadecimal to Binary The user will type in the input number as following: Binary number : up to 8 bits Hexadecimal number: up to 2 bytes Decimal number: Less than 256 As a result, print out the output after the conversion with their input numbers. The program...
(a) Convert the decimal numbers, 70 and -26 to binary in the signed 2’s complement system....
(a) Convert the decimal numbers, 70 and -26 to binary in the signed 2’s complement system. Make sure there are enough digits in the results to be able to perform arithmetic operations with these two numbers. (b) Perform in the signed 2’s complement system, (+70) + (-26) (c) Perform in the signed 2’s complement system, (-70) - (-26) (d) Perform in the signed 2’s complement system, (+70) + (+26)
Converting from Decimal to Binary The algorithm you will use in this assignment to convert from...
Converting from Decimal to Binary The algorithm you will use in this assignment to convert from base 10 to base 2 is: If the decimal number is zero, then the binary value is "0" Otherwise, start with an empty String to contain your binary value While your decimal number is not zero Get the remainder of what your current decimal number would be when divided by 2. Prepend this result to the front of your String. Divide your decimal number...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT