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

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...
Convert the decimal number, 315.56 into binary form?
Convert the decimal number, 315.56 into binary form?
i need to convert decimal to twos complement binary and then add the binary digits but...
i need to convert decimal to twos complement binary and then add the binary digits but I am unable to do it. I am only allowed to use string, can anyone help me out please. i need the code urgently. #include #include #include #include using namespace std; string reverse(string s) { string x = ""; for (long i = s.length() - 1; i >= 0; i--) { x += s[i]; } return x; } string twosComplementStringsAddition(string A, string B) {...
Convert the following binary number to dotted decimal format. 11000000100110010000100101011001
Convert the following binary number to dotted decimal format. 11000000100110010000100101011001
(6 pts) Convert the data representation given below • Convert 10110111 unsigned binary representation, to decimal...
(6 pts) Convert the data representation given below • Convert 10110111 unsigned binary representation, to decimal representation. • Convert 01100000101110000001010111111000 the binary representation to a hexadecimal representation. • Convert 0xBAAADA55 hexadecimal representation, to a binary representation. 2. (8 pts) Complete the following arithmetic operations in two’s complement representation. What are the values of the carry flag and the overflow flag? (Assume a six-bit system) • 31 + 11 • 13 – 15 • (-2) x (-16) • (-15) ÷ 5
Convert the following numbers to 8-bit binary and 8-bit hexadecimal: a) 20 b) 78 c) -25...
Convert the following numbers to 8-bit binary and 8-bit hexadecimal: a) 20 b) 78 c) -25 d) -96 Convert the following hexadecimal numbers to binary and decimal assuming two's compliment format: a) 0x56 b) 0x14 c) 0xF8 d) 0xCC MUST DO ALL PROBLEMS AND SHOW ALL WORK!!!!
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT