answer.
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
stepan [7]
2 years ago
8

Given a link with a maximum transmission rate of 18 Mbps. Only two computers, X and Y, wish to transmit starting at time t = 0 s

econds. Computer X sends fileX (1 MiB) and computer Y sends fileY (340 KiB), both starting at time t = 0. Computer X gets the transmission medium first, so Computer Y must wait. For the following calculations, assume maximum transmission rate during transmission. Suppose that entire files are sent as a stream (no packets, no multiplexing). At what time (t = ?) would File Y finish transmitting?
Computers and Technology
1 answer:
puteri [66]2 years ago
3 0

Answer:

<u>t = 0.620 seconds</u>

Explanation:

The files are being sent as a stream so first FileX will transmit over the 18Mbps connection and then FileY will follow.

Computer X transmits FileX (1 MiB) over a 18Mbps connection. So,

<u>18 Mbps means 18 x 10^6 bits are transmitted in 1 second</u>.

Now we need to convert the file size of FileX into bits because the transmission rate is given in bits per second.

<u>1 MiB = 1.049 x 10^6 B</u> and <u>1 B (Byte) = 8 b (bits)</u>

So,

1 MiB = 1.049 x 10^6 x 8 b  

    = <u>8392000 bits </u>

Calculating the time taken for FileX to transmit:

18 x 10^6 bits take 1s to transmit so

8392000 bits will take: 8392000/18x10^6 = <u>0.466 seconds</u>

t1 = 0.466 seconds

Now Computer Y will start transmitting FileY (340 KiB). Converting the file size from Kibibytes to bits:

<u>1 KiB = 1024 B</u> so, 340 KiB = 340 x 1024 = 348160 B

Now convert Bytes into bits:

348160 x 8 = <u>2785280 bits</u>

Sending these bits over the 18Mbps connection will require:

2785280/18 x 10^6 = <u>0.154 seconds</u>.

t2 = 0.154 seconds

Computer Y has finished transmission. The total time taken can be calculated by adding both the transmission times t1 and t2.

t = t1 + t2

 =0.466 + 0.154

t = 0.620 seconds  

You might be interested in
Which XXX and YYY correctly output the smallest values? Vector user Vals contains integers (which may be positive or negative).
liubo4ka [24]

Answer:

The answer is "minVal - userVals.at(0); /userVals.at(i) < minVal  "

Explanation:

In the question, it uses minVal instead of XXX to hold the very first arra(userVal) element, and rather than YYY you choose a conditional statement to check which integer is lower than minVal to index of loop increment. It changes the value of the minVal if the condition is valid. It's completely different if we talk about another situation.

3 0
1 year ago
The hostel in which you plan to spend the night tonight offers very interesting rates, as long as you do not arrive too late. Ho
faust18 [17]

Answer:

Answered below

Explanation:

// Python implementation

incrementAmount = 5

basePrice = 10

price = 0

arrivalHour = int(input("Enter arrival hour 0-12: ")

if arrivalHour < 0 or arrivalHour > 12:

print ("Invalid hour")

if arrivalHour == 0:

price = basePrice

else:

price = arrivalHour * incrementAmount

totalPrice = price + basePrice

if totalPrice > 53:

totalPrice = 53

print ("Your bill is $totalPrice")

4 0
2 years ago
What output is produced by the following program segment? Why? (Recall that name.charAt(i) is the i-th character in the string,
vekshin1

Answer:

The output is:

R

M

N

Explanation:

The code snippet print the beginning letter of each word in the given name.

In the for loop snippet:

first the program check if startWord is true and it is true, then it print the value of the character at index 0. Then it check if value of character is empty. If it is empty, startWord is initialized to true else it is initialized to false.

The loop only print a character when the value of i are 0, 8 and 11 which are also the beginning character of a word.

8 0
2 years ago
Annabeth has been using a public cloud to store and access her documents. Which drawback of a public cloud should she be aware o
Flura [38]

<u><em>i just to the test on Plato and it said that A. accessibility is wrong  the correct answer is d  security #homeschoolrocks</em></u>

5 0
2 years ago
Your southern region is not doing very well. You want to know why, so you ask for a special report showing the numbers for the s
Mila [183]

Answer:

D) Comparative

Explanation:

Comparative report is an analytical approach to report writing, where the aim is to determine the performance or contribution of individual constituents.

6 0
2 years ago
Other questions:
  • In what year were graphical user interfaces (GUIs) pioneered? 1969 1974 1991 2001
    12·2 answers
  • Which act was used to penalize Sara? Sara was found to be in possession of a controlled substance for which she had no justifica
    5·1 answer
  • Suppose Dave drops a watermelon off a high bridge and lets it fall until it hits the water. If we neglect air resistance, then t
    12·1 answer
  • If a stadium pays $20,000 for labor and $13,000 for parking, what is the stadium's profit margin if the game generates $206,000
    7·2 answers
  • What is the name of the program file that you can enter in the Windows search or Run box to execute Event Viewer? What process i
    12·1 answer
  • NOTE: in mathematics, division by zero is undefined. So, in C++, division by zero is always an error. Given a int variable named
    9·1 answer
  • 1. Used ____________ must be hot drained for 12 hours or crushed before disposal.
    15·1 answer
  • Write a loop to populate the list user_guesses with a number of guesses. The variable num_guesses is the number of guesses the u
    13·1 answer
  • A Security team is working with a client to evaluate the security of data and IT functions that are most critical to the operati
    13·1 answer
  • Jason Chang is creating photos of his restaurant for a new website. Some of the photos of the staff have red eye, others are bad
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!