a.
Explanation of Solution
Finding binary numbers from 1 through 10:
Numbers | Binary numbers |
1 | 0000 0001 |
2 | 0000 0010 |
3 | 0000 0011 |
b.
Explanation of Solution
ASCII values for the letters from “B” through “K”:
Letters | ASCII values | Binary number |
B | 66 | 0100 0010 |
C | 67 | 0100 0011 |
D | 68 | 0100 0100 |
c.
Explanation of Solution
ASCII values for the letters from “b” through “k”:
Letters | ASCII values | Binary number |
b | 98 | 0110 0010 |
c | 99 | 0110 0011 |
d | 100 | 0110 0100 |
d.
Explanation of Solution
Steps to find internet checksum:
Step 1: Find ASCII value for the string.
Step 2: Find 8-bit binary number for the corresponding ASCII values.
Step 3: Add 16-bit numbers. If carry occurs, then wrap that around.
Step 4: Take 1’s complement for the final result to find out internet checksum.
For part (a) the internet checksum is calculated as follows:
Add all the 16-bit integers:
The above result doesn’t produce carry and therefore take 1’s complement.
1’s complement for “0001 1001 0001 1110” is “1110 0110 1110 0001”.
Therefore, internet checksum for the numbers 1 through 10 is “1110 0110 1110 0001”.
For part (b) the internet checksum is calculated as follows:
Add all the 16-bit integers:
The above result produces carry bit so carry forward it.
Now, take 1’s complement. 1’s complement for “0101 1111 0110 0100” is “1010 0000 1001 1011”.
Therefore, internet checksum for the letters “B” through “K” is “1010 0000 1001 1011”...
Want to see the full answer?
Check out a sample textbook solutionChapter 6 Solutions
Computer Networking: A Top-Down Approach (7th Edition)
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY