exam questions

Exam ANS-C00 All Questions

View all questions & answers for the ANS-C00 exam

Exam ANS-C00 topic 1 question 260 discussion

Exam question from Amazon's ANS-C00
Question #: 260
Topic #: 1
[All ANS-C00 Questions]

Convert the following IPv4 address in presented in binary form, into dotted decimal form 10101100.01111011.00001101.10011101.

  • A. 172.123.13.157
  • B. 173.13.13.157
  • C. 172.122.13.15
  • D. 172.124.13.57
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
An IPv4 address in dotted decimal format is constructed using binary arithmetic. In binary arithmetic, each bit within a group represents a power of two.
Specifically, the first bit in a group represents 2 to the power of 0, the second bit represents 2 to the power of 1, the third bit represents 2 to the power of 2, and so on. Binary format is simple because each successive bit in a group is exactly twice the value of the previous bit.
The first octet is 128 + 32 + 8 + 4 = 172
The second octet 64 + 32 + 16 + 8 + 2 + 1 = 123

The third octet 8 + 4 + 1 = 13 -
The fourth octet is 128 + 16 + 8 + 4 + 1 = 157
Reference:
https://en.wikipedia.org/wiki/IPv4

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
eeghai7thioyaiR4
Highly Voted 3 years, 8 months ago
Meh Let's do some eliminations The 4th value is 10011101, that starts with 1 then 00, so it is something greater that 128 (but not much) : this rules out answers C (15 < 128) and B (57 < 128) The second value, 01111011, starts with 0 then 1, so less than 128, but more than 64 This rules out answer B : 13 < 64 So, the answer is A: 172.123.13.157
upvoted 6 times
jithin1234
3 years, 7 months ago
Answer is A
upvoted 1 times
...
...
rb39
Most Recent 3 years, 5 months ago
A - by checking the first bit, 0 -> even number, 1 -> odd number. So odd-even-even-even -> A
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...