1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
-BARSIC- [3]
3 years ago
10

Johnny just set up a TCP connection with a web server in Chicago, Illinois, claiming he is coming in with a source IP address th

at clearly belongs to a network in Copenhagen, Denmark. In exam- ining the session logs, you notice that he was able to complete the three-way handshake for this connection in 10 milliseconds. How can you use this information to prove Johnny is lying?
Computers and Technology
1 answer:
wariber [46]3 years ago
7 0

Answer:

Assuming that the distance from Chicago Illinois to Copenhagen Denmark is 4200 miles and the speed of light is 186,400 miles per second;

The time difference 10 milliseconds in the session log and the calculated time of 22.5 milliseconds.

Explanation:

The TCP three way handshake connection time is determined by the distance between the connecting hosts and the speed of the link.

If the distance between the hosts is 4200 miles and the link speed is an assumed speed of light 186,400 miles per second, the TCP session time is;

Time = distance/ speed

Time = 4200 / 186400

Time = 0.0225 seconds. = 22.5 milliseconds

But Johnny's TCP session time is 10 milliseconds, therefore Johnny is lying about the source IP address from Copenhagen Denmark.

You might be interested in
Write a static method middleValue that takes three int parameters, and returns a int . It should return the middle value of the
anygoal [31]

We use if-else structure to check the each possible scenario and return the median accordingly in the middleValue() method. The main is also provided so that you can test the method.

Comments are used to explain the each line.

You may see the output in the attachment.

public class Main

{

public static void main(String[] args) {

   

    //call the method for different scenarios

    System.out.println(middleValue(1, 2, 3));

    System.out.println(middleValue(1, 3, 2));

    System.out.println(middleValue(2, 1, 3));

    System.out.println(middleValue(2, 3, 1));

    System.out.println(middleValue(3, 1, 2));

    System.out.println(middleValue(3, 2, 1));

 

}

       //method that takes three int and returns an int

public static int middleValue(int n1, int n2, int n3) {

    //set the median as n1

    int median = n1;

   

    //check the situation where the n1 is the highest

    //if n2 is greater than n2 -> n1 > n2 > n3

    //if not -> n1 > n3 > n2

    if(n1 > n2 && n1 > n3){

        if(n2 > n3)

            median = n2;

        else

            median = n3;

    }

   

    //check the situation where the n2 is the highest

    //if n3 is greater than n1 -> n2 > n3 > n1

    //if not -> n2 > n1 > n3

    //note that we set the median as n1 by default, that is why there is no else part

    else if(n2 > n1 && n2 > n3){

        if(n3 > n1)

            median = n3;

    }

   

    //otherwise, n3 is the highest

    //if n2 is greater than n1 -> n3 > n2 > n1

    //if not -> n3 > n1 > n2

    //note that we set the median as n1 by default, that is why there is no else part

    else{

        if(n2 > n1)

            median = n2;

    }

   

    return median;

}

}

You may see another if-else question at:

brainly.com/question/13428325

6 0
3 years ago
PLEASE HELP!! TIMED Select the corect answer. You try to enter your name to a cell that accepts a numeric value What error would
Nitella [24]

Answer:

B. #VALUE

Explanation:

Occurs if one of the variables in your formula is of the wrong type (e.g. text value when a numeric value is expected).

7 0
4 years ago
Read 2 more answers
It is a minor cereal of importance only in West Africa where it is eaten in place of rice during during famines. Used for salads
steposvetlana [31]
This is a list of notable dishes found in African cuisine, a generalized term collectively referring to the cuisines of Africa. The continent of Africa is the second-largest landmass on Earth, and is home to hundreds of different cultural and ethnic groups. This diversity is also reflected in the many local culinary traditions in terms of choice of ingredients, style of preparation, and cooking techniques.
8 0
3 years ago
Between the div tags below, type the code for a link to the second.html page. Use "Go to the Second Page" as the link text
marysya [2.9K]

A code for a link to the second.html page is given by <div>Go to the Second Page</div>.

<h3>What is a div tag?</h3>

A div tag is an abbreviation for division tag and it can be defined as a type of HTML tag that is designed and developed to break (divide) a webpage into several elements with their respective layout attributes.

In this scenario, a code for a link to the second.html page is given by <div>Go to the Second Page</div>.

<u>Note:</u> "Go to the Second Page" serves as the link text.

Read more on div tag here: brainly.com/question/14075748

#SPJ1

4 0
2 years ago
Which of these statements are true of verifying that a program’s code is fixed? Check all of the boxes that apply.
aksik [14]

Answer:

Its C.

Explanation:

hope it helps !

mark me brainliest :))

7 0
3 years ago
Read 2 more answers
Other questions:
  • List three ways you can help someone who is being bullied in of just being a bystander​
    8·1 answer
  • How it print media used? ​
    9·1 answer
  • __________________ are evaluations of a network
    6·1 answer
  • A(n) _____ can be used to reveal a competitor’s program code, which can then be used to develop a new program that either duplic
    9·1 answer
  • Which factor helps drive globalization?
    9·1 answer
  • An automated search feature used by search engines to find results that match your search terms is called a spider or _______. A
    15·2 answers
  • Whats the best way to get into a computers programming to get past firewalls
    15·2 answers
  • D. What is the work of the following features:<br>1. Foot note​
    10·1 answer
  • Which of the following statements about networking IS CORRECT? A. Networking is only for professionals in certain careers. B. Ne
    14·2 answers
  • In every programming language, when you access data stored in an array, you must use a ____ containing a value that accesses mem
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!