Consider two packet switches directly connected by a link of 5000 km,
propagation speed 2.5 X10^8 m/s and transmission rate 1 Mbps. How long does it take to move
a packet of length 1,000 bytes from one packet switch to the other packet switch? Generally,
how long does it take to move a packet of length L over a link of distance d, propagation speed
s, and transmission rate R bps?

Answers

Answer 1

The time that is required for the packet to move over the the distance d at the speed s is  0.028 seconds.

The speed that It would take to move it in transmission is given as 0.008 seconds.

How to solve for the required time

The details that we would have to solve the problem that we have here are given below

The distance = 5000 km, we convert to meters = 5000 * 1000

The speed of the propagation is given as (s) 2.5 x 108 m/s

The propagation delay is given as d / s

= 5000000 / 2.5 x 10^8

= 0.02 this is the value of the propagation

Next we have to find the length of the packet. L = 1000 bytes

this is equal to 8000 bits

The transmission rate is 1 Mbps = 1000000 bits

The transmission delay would be = L/R

= 8000 / 1000000

= 8 / 1000

= 0.008 seconds in transmission

The total required time that is to be gotten would be

Propagation + transmission

= 0.02 + 0.008

= 0.028

Read more on transmission rate here:

https://brainly.com/question/13013855

#SPJ1


Related Questions

Write a recursive function encode that takes two Strings as an input. The first String is the message
to be encoded and the second String is the key that will be used to encode the message. The function
should check if the key and message are of equal length. If they are not the function must return the
string “Key length mismatch!” Otherwise the function must get the ASCII value of each character in
the key string and check if it is divisible by 2 if it is then the respective character in the message will be
encoded by getting the ASCII value of that character and adding 5. If corresponding key character it is
not divisible by 2 then 3 is added instead.

Answers

A recursive function that encodes that takes two Strings as input. The first String is the message to be encoded and the second String is the key that will be used to encode the message is given below:

The Recursive Function in C++

// C++ program to decode a string recursively

// encoded as count followed substring

#include<bits/stdc++.h>

using namespace std;

// Returns decoded string for 'str'

string decode(string str)

{

   stack<int> integerstack;

   stack<char> stringstack;

   string temp = "", result = "";

   // Traversing the string

   for (int i = 0; i < str.length(); i++)

   {

       int count = 0;

       // If number, convert it into number

       // and push it into integerstack.

       if (str[i] >= '0' && str[i] <='9')

       {

           while (str[i] >= '0' && str[i] <= '9')

           {

               count = count * 10 + str[i] - '0';

               i++;

           }

           i--;

           integerstack.push(count);

       }

       // If closing bracket ']', pop element until

       // '[' opening bracket is not found in the

       // character stack.

       else if (str[i] == ']')

       {

           temp = "";

           count = 0;

           if (! integerstack.empty())

           {

               count = integerstack.top();

              integerstack.pop();

           }

           while (! stringstack.empty() && stringstack.top()!='[' )

           {

               temp = stringstack.top() + temp;

               stringstack.pop();

           }

           if (! stringstack.empty() && stringstack.top() == '[')

               stringstack.pop();

           // Repeating the popped string 'temo' count

           // number of times.

           for (int j = 0; j < count; j++)

               result = result + temp;

           // Push it in the character stack.

           for (int j = 0; j < result.length(); j++)

               stringstack.push(result[j]);

           result = "";

       }

       // If '[' opening bracket, push it into character stack.

       else if (str[i] == '[')

       {

           if (str[i-1] >= '0' && str[i-1] <= '9')

               stringstack.push(str[i]);

           else

           {

               stringstack.push(str[i]);

               integerstack.push(1);

           }

       }

       else

           stringstack.push(str[i]);

   }

   // Pop all the element, make a string and return.

   while (! stringstack.empty())

   {

       result = stringstack.top() + result;

       stringstack.pop();

   }

   return result;

}

// Driven Program

int main()

{

   string str = "3[b2[ca]]";

   cout << decode(str) << endl;

   return 0;

}

Read more about recursive functions here:

https://brainly.com/question/489759

#SPJ1

Write code that assigns valuesSum with the sum of all user inputs, while user input is less than 0. please help it keep saying im entering code wrong

Answers

Answer:

"""Write code that assigns values Sum

with the sum of all user inputs,

while user input is less than 0"""

sum = 0 #accumulator variable

# asks for user input converts to float number

num = float(input("Enter the next number to total(negative number to quit): "))  

# loop as long as number is 0 or positive

while (num >= 0):

   # add this number to accumulator sum

   sum += num      

   

   # since we are inside the loop we have to ask for the next one here

   num = float(input("Enter a number to total(negative number to quit): "))

                                                                           

print("Sum of all the numbers entered is ", sum)    

Explanation:

3.8.3 means that it is Python

Python code to compute sum as a running total and print it out as long as user does not enter a negative number

Accumulator variable sum keeps a running total

I have also attached a text file containing the code

Explain keyboard and it’s layout and how to type with a keyboard
List the function of keyboard in typing
Describe process of use of keyboard for typing

Answers

It depends on the country and the layout of the keyboard for example the French keyboard is different to the English keyboard. A keyboard's primary function is to act as an input device. Using a keyboard, a person can type a document, use keystroke shortcuts, access menus, play games and perform a variety of other tasks.



How do a write 19/19 as a whole number

Answers

As a whole number it is 1.0.

Answer:

1.0

Explanation:

You divide 19 by 19 and get 1

what is mouse spealing

Answers

Answer:

use a mouse to move or position a cursor on computer screen

Explanation:

mouse cursor

What would the code for this be?
The language used is Python.
Please help.

Answers

Python, one of the most popular programming languages in the world, has created everything from Netflix’s recommendation algorithm to the software that controls self-driving cars. Python is a general-purpose language, which means it’s designed to be used in a range of applications, including data science, software and web development, automation, and generally getting stuff done.

What is Python?

Python is a computer programming language often used to build websites and software, automate tasks, and conduct data analysis. Python is a general-purpose language, meaning it can be used to create a variety of different programs and isn’t specialized for any specific problems. This versatility, along with its beginner-friendliness, has made it one of the most-used programming languages today. A survey conducted by industry analyst firm RedMonk found that it was the second-most popular programming language

I hope this helped you!

computational thinking

Answers

Answer:

Computational Thinking (CP) is the mental skill to apply fundamental concepts and reasoning, derived from computing and computer science, to solve problems in all areas.

What is Computational Thinking?

Computational thinking is an interrelated set of skills and practices for solving complex problems, a way to learn topics in many disciplines, and a necessity for fully participating in a computational world.

Parallel computing is to distributed computing as multiple processors are to which of the following?

a - software

b- a tablet computer

c - multiple computers

d - single processor

Answers

Parallel computing is to distributed computing as multiple processors are to "single processor" (Option D).

What is the advantage of Parallel computing?

It is to be noted that Parallel computing on a single computer use many processors to execute work in parallel, whereas distributed parallel computing employs numerous computing devices to accomplish such tasks.

Parallel computing refers to the study, design, and execution of algorithms in order to solve a problem using many processors. The basic goal is to solve a problem quicker or larger issue in the same amount of time by sharing the work among many processors.

Parallel computing has the advantage of allowing computers to run code more effectively, saving time and money by sorting through "huge data" faster than ever before. Parallel programming can also handle more difficult issues by pooling resources.

One of the benefits of parallel processing is not autonomy. Parallel processing is a computer strategy in which discrete elements of a bigger difficult operation are divided and processed on many CPUs at the same time, saving processing time.

Learn more about parallel computing:
https://brainly.com/question/20769806
#SPJ1

What method of accessing a scaffold is unsafe and should never be used

Answers

Answer:

blocks, bricks, walk boards

Explanation:

case study on leading entrepreneur of goa

Answers

Answer:

goa is in india

Explanation:

100 POINTS! What are the essential parts of a mathematical function in spreadsheets? Select three options.

A. input parameters

B. variables

C. output value

D. expressions

E. name

Answers

Answer:

D.

Explanation:

It is to be noted that the essential parts of a mathematical function in spreadsheets are:

input parameters (Option A)variables (Option B)expressions (Option D).

What is a mathematical function?

A mathematical function is a rule that determines the value of a dependent variable based on the values of one or more relationships between the independent variable. A function can be represented in a variety of ways, including a table, a formula, or a graph.

When it comes to variables and spreadsheets, "it's garbage in garbage out." The computer has no way of knowing which variable is the right one to enter. This remains the solve prerogative of the Spreadsheet user, hence it's importance.

Learn more about Spreadsheets:
https://brainly.com/question/26919847
#SPJ1

Instructions
Write a program that prompts the user to input an integer and then outputs both the individual digits of the number and the sum of the digits.

For example, it should output the individual digits of:

3456 as 3 4 5 6
8030 as 8 0 3 0
2345526 as 2 3 4 5 5 2 6
4000 as 4 0 0 0
-2345 as 2 3 4 5



My code:

#include

using namespace std;

int main(int argc, char* argv[]){
// Write your main here

int a=0,b[100]={0},n=0,sum=0;

cin>>a;

while(a>0)
{

b[n]=a%10;

a/=10;

n++;

}

for(int i=n; i>0; i--)
{

printf("%d ",b[i-1]);

sum+=b[i-1];

}

printf(" Sum: %d ",sum);

cin.get(); cin.get();

return 0;

}

Problem:

The input needs to be -2345

and the output should result in

Sum: 0
but it's wrong,
the result of this code is 50%
and I don't know why, pls help

Answers

A program that prompts the user to input an integer and then outputs both the individual digits of the number and the sum of the digits is given below:

The Program

#include < iostream >

int main( int argc , char * argv [ ] )

{

   int number , digit , sum = 0;

   std : : cout < < " Enter number : " ;

   std : : cin  > > number ;

   while ( number > 0 )

   {

       digit = number % 10;

       std : : cout << digit << ' \ t ' ;

       sum = sum + digit ;

       number = number / 10 ;

   }

  std : : cout < < " Sum is : " < < sum < < std : : endl ;

return 0;

}

Your original code has the right ideas, but you will have to use the std to print out the output as used above and your output would be in individual numbers.

Read more about programming here:

https://brainly.com/question/23275071

#SPJ1

State two differents between website and webpage.​

Answers

Answer:

The webpage is a single document on the web using a unique URL, while a website is a collection of multiple webpages in which information on a related topic or another subject is linked together under the same domain address.

Explanation:

programming languages are used for giving instructions to computers

Answers

Programming languages are used for giving instructions to computers is a true statement.

Do programming languages give computer instructions?

Using computer programming languages, we can communicate with a computer in a language that it can understand.

There are numerous computer programming languages available that programmers can use to interact with a computer, just as there are numerous human-based languages.

Therefore, a programming language is seen as a set of rules that tends to  gives the computer instructions on what actions to take. There are a lot of programming languages; some examples are BASIC, COBOL, and others.

Learn more about Programming languages from

https://brainly.com/question/16936315
#SPJ1

programming languages are used for giving instructions to computers. True/false

can helpppppppppppppp​

Answers

Answer:

#include <stdio.h>

int main(){

   float score, totalScore = 0.0;

   int count = 1;

   

   printf("Enter marks for Student %d (or -1 to stop): ", count);

   scanf("%f", &score);

   while (score != -1){

       count++;

       totalScore += score;

       

       printf("Enter marks for Student %d (or -1 to stop): ", count);

       scanf("%f", &score);

       

   }

   printf("Number of students: %d\n", count-1);

   printf("Average: %.2f\n", totalScore/(count-1));

   

}

Explanation:

who can help me looping​

Answers

Answer:

See attachment

Explanation:

I have provided all 3 programs in the attached text file.

All of these are complete programs so I could test them myself

Hope that works for you

Question 11 Which one of the following is an infinite loop?
A. for i in range(-1):
print(i)
B. X=10
while x <= 10:
x=x-1
print (x)
C. for I in range (10):
print (I -10)
D. none of the above

Answers

Answer:

B.

x=10

while x <= 10:

    x=x-1

Explanation:

Since x starts at 10 and keeps decreasing, its value will be always less than 10 so the loop will never end

Which camera settings will cause the amount of light entering the lens to change?

Answers

Answer:

Aperture

Explanation:

Aperture controls the lens' diaphragm, which controls the amount of light traveling through the lens to the film plane.

innovative ways of sharing information that could be advantageous of

Answers


How do you share innovative ideas?
Find out what questions they have and answer them. Ask them what thoughts they have about starting and plug those into the vision you had for the idea. Give them total freedom to reinvent the idea. Commit to helpfully watching over the co-creator's shoulder as they start to share ideas on moving forward

Parallel Computing and Distributed Computing
Sequential computing has been great, but computer scientists need every speed and storage advantage they can get. Clever computer scientists have found even more efficient ways to use computer hardware for certain types of problems.

parallel Computing
Parallel computing ​is the use of a computer that performs multiple instructions at the same time. The programs used for parallel computing must be designed so they can be broken down into smaller independent parts that each processor can work on.

Parallel computing uses multiple computing cores. A computing core​ is one processor in the CPU. Parallel computers will have many different processors in their CPUs instead of just one.

Speedup in Parallel Computing
The advantage of a parallel computing solution over a sequential computing solution can be measured in speedup. Speedup​ is the amount of time used to perform a task with sequential computation divided by the amount of time used to perform the same task with parallel computation.

For example, imagine that you run a program on a sequential computer and it takes 10 minutes to complete. Next, you run the same program on a parallel computer and it takes 5 minutes to complete. You would divide the 10 by the 5 and come up with a speedup of 2. This means your program is two times faster on a parallel computer.

Distributed Computing
Many computer problems are so complex that they take an extremely long time to run on one computer. Distributed computing​ is the use of multiple computers to solve a problem. Distributed computing is like parallel computing but with many different computers; parallel computing is the use of one computer with many different processors.

QUESTION:
A program takes 10 minutes to compute sequentially and has a speedup of 2 on a parallel computer, meaning it takes how many minutes. ??

Answers

Answer:

5 minutes

Explanation:

It is there in the section on Speedup in Parallel Computing

For example, imagine that you run a program on a sequential computer and it takes 10 minutes to complete. Next, you run the same program on a parallel computer and it takes 5 minutes to complete. You would divide the 10 by the 5 and come up with a speedup of 2

use flash fill to fill range c4:c20 after typing LongKT in cell C4 and Han in cell C5

Answers

To use flash fill to fill range c4:c20 after typing LongKT in cell C4 and Han in cell C5, the process are:

1. Key in the needed information.

2. Then also key in three letters as well as click on enter for flash fill

How do you flash fill a column in Excel?

In Excel will fill in your data automatically if you choose Data > as well as select Flash Fill.

When it detects a pattern, Flash Fill fills your data for you automatically. Flash Fill can be used, for instance, to split up first and last names from a single column or to combine first as well as the last names from two different columns.

Note that only Excel 2013 as well as later are the only versions that support Flash Fill.

Learn more about flash fill from

https://brainly.com/question/16792875
#SPJ1

why do we need to have multiple image file format​

Answers

Answer:

Explanation:

Each format represents a particular way of storing the data that makes up a file.

ROCK = 0 PAPER = 1 SCISSORS = 2 # Read random seed to support testing (do not alter) and starting credits
seed = int(input())
# Set the seed for random
random.seed(int(seed))

# Type your code here.

Answers

In this exercise we have to use the knowledge of computational language in python to write a code that Read random seed to support testing (do not alter) and starting credits seed = int(input()).

Writting the code:

import random

ROCK = 0

PAPER = 1

SCISSORS = 2

# Read random seed to support testing (do not alter) and starting credits

seed = int(input())

# Set the seed for random

random.seed(int(seed))

# Type your code here.

player_1 = input()

player_2 = input()

rounds = 0

count = 0

win_count1 = 0

win_count2 = 0

while True:

   rounds = int(input())

   if rounds >= 1:

       break

   else:

       print("Rounds must be > 0")

print(player_1 + " vs " + player_2 + " for " + str(rounds) + " rounds")

while count < rounds:

   p1 = random.randint(0, 2)

   p2 = random.randint(0, 2)

   if p1 == p2:

       print("Tie")

   elif p1 == ROCK:

       if p2 == SCISSORS:

           print(player_1 + " wins with rock")

           win_count1 = win_count2 + 1

       else:

           print(player_2 + " wins with paper")

           win_count2 = win_count2 + 1

       count = count + 1

   elif p1 == PAPER:

       if p2 == ROCK:

           print(player_1 + " wins with paper")

           win_count1 = win_count1 + 1

       else:

           print(player_2 + " wins with scissors")

           win_count2 = win_count2 + 1

       count = count + 1

   elif p1 == SCISSORS:

       if p2 == PAPER:

           print(player_1 + " wins with scissors")

           win_count1 = win_count1 + 1

       else:

           print(player_2 + "wins with rock")

           win_count2 = win_count2 + 1

       count = count + 1

print(player_1 + " wins " + str(win_count1) + " and " + player_2 + " wins " + str(win_count2))

See more about python at brainly.com/question/18502436

#SPJ1

How is blockchain different from traditional database models?


Blockchain can lead to increased transparency and trust in data, ultimately driving more innovation, improved productivity, and quality.


Blockchain prohibits transparency by redefining the fundamental nature of business ecosystems and business flows.


Blockchain provides multiple versions of the data that can be kept by individual entities.


Blockchain increases innovation; however, it decreases productivity and quality.


I don't know this yet.

Answers

The difference between blockchain and traditional database models is that:  C. Blockchain provides multiple versions of the data that can be kept by individual entities.

What is a database?

A database simply refers to an organized and structured collection of data that're stored on a computer system as a backup and they're usually accessed electronically.

What is a blockchain?

A blockchain can be defined as a digital and dynamic financial system that is designed and developed to be used in recording and maintaining transactions that are associated with or made through the use of a bitcoin, usually as a database.

In this context, we can infer and logically deduce that unlike the traditional database models, blockchain is designed and developed to provide multiple versions of financial transactions (data), and they can also be kept by individual business entities.

Read more on blockchain here: brainly.com/question/25700270

#SPJ1

3) Which of the following would not impact the digital divide?
Expansion of free wifi connectivity in major cities
Legislation allowing communications companies to charge per website for access
O Less sharing of the work we produce
A decline in the price of internet access

Answers

A factor which would not impact the digital divide is: less sharing of the work we produce.

What is the digital divide?

The digital divide simply refers to a terminology which is used to describe the gap (vacuum) which typically exist between the group of people (the information rich and the information poor) who have unrestricted access to digital technology and those who are unable to access it.

This ultimately implies that, a digital divide is mostly influenced by the fact that legislation allow communications firms to charge end users (customers) per website for access and some parents being fond of limiting the amount of time their children spend using computing devices or the Internet.

Read more on digital divide here: https://brainly.com/question/14896873

#SPJ1

transferring data from a local computer to a remote computer is referred to as what?​

Answers

Answer: uploading

Explanation:

it’s referred as uploading when you move data from one to another

cann anyone helppppp?​

Answers

Answer:

#include <stdio.h>

int main(){

   int limit;    

   int i;

   printf("Enter the limit: ");

   scanf("%d", &limit);

   for (int i = 1; i < limit+1 ; i++){

       for (int j = 1; j < i + 1; j++){

           printf("%d", j);

       }

       printf("\n");

   }

   return 0;

}

Explanation:

What happens when the condition is met in this program?
on start
set count to
while
do
count
play sound ba ding
change count by
pause 1000 ms
OA. The count is changed by 2.
OB. The count starts over.
C. A sound effect is played.
OD. The game pauses for 2 seconds.

Answers

In the given program, if the condition is met, the sound effect will be played. The correct option is C.

What is programming?

The development of individual pieces of software that allow the entire system to function as a single unit is referred to as systems programming.

Many layers are involved in system programming, including the operating system (OS), firmware, and development environment.

A "While" Loop is used to iterate over a specific block of code until a condition is met.

In the given scenario, the condition is that when the number is less or equal to 2, then the sound effect will be played else, the program will reset.

Thus, the correct option is C.

For more details regarding programming, visit:

https://brainly.com/question/11023419

#SPJ1

Answer:

C. a sound affect is played

trust me i just did it

2.3.2

Explanation:

What is one of the FIRST things people at an advertising agency do when they are planning a new ad campaign?

A.
find the right images and symbols to get the message across

B.
decide which consumers they will target

C.
pick a new product name and a new slogan or catchphrase

D.
select the right music for the ad campaign

Answers

Answer: decide which consumers they will target

Someone who creates a new product to sell and takes on all of the risks
and responsibility
An entrepreneur
An accountant
A venture capitalist
A corporation

Answers

Answer: an entrepreneur

Other Questions
1.2 With reference to the relevant constitutional law authorities, succinctly explain the difference between parliamentary sovereignty and constitutional supremacy from a South African perspective, with particular emphasis on the role of the judiciary in democratic South Africa. His recipe makes 12 hamburger sliders, but he wants to make 78 sliders. The recipe calls for 1 pound of ground beef to make 12 hamburger sliders. Michael has 7 pounds of ground beef. Does he have enough to make 78 sliders? All real number that are less than -3 or greater then or equal to 5 Geometry help please How does bicycling build fitness? Which sentence best explains the statement writing is rewriting a. The best writing typically requires multiple edits and correcting Which choice best describes the presentation of the interactions between the two characters from the beginning of the third paragraph through the end of the passage ("Now ... assume")?(A) A confrontation is initiated but does not become a conflict.(B) A disagreement is expressed articulately and finally resolved.(C) A series of accusations are consistently met with anger and defiance(D) A challenge is issued but does not result in a competition.(E) A list of complaints leads to proposals of remedies. this is not a function True False I will gib brainlyest or whatever. A cannonball is launched from the top of a 35m cliff at an angle of 11.2 degrees above the horizontal with a velocity of 153m/s. Find:a. How far it goesb. How high it goesc. How long it's in the aird. Its final velocity in a 4.00 l pressure cooker, water is brought to a boil. if the final temperature is 115.0 c at 3.20 atm, what quantity in moles of steam are in the cooker? I need help with this please :D So I know that the units for product B is 5, what about products A and C ? The financial statements of Friendly Fashions include the following selected data (in millions): ($ in millions except share data)20212020 Sales$9,343$10,434 Net income$230$748 Stockholders' equity$1,760$2,240 Average Shares outstanding (in millions) 640 - Dividends per share$0.33 - Stock price$8.10 - Required: Calculate the following ratios for Friendly Fashions in 2021. (Enter your Dividend yield and Price-earning ratio values to 2 decimal places. Enter your answers in millions (i.e. 5,500,000 should be entered as 5.5).) Consider the function f(x) = -2/3x +5.What is ( 1/2 ) ? Object A has a density of 2.6 g/cm. What is the mass of 36.5 cm of object A in units of g In 1988, a _______ 60 feet long and 22 feet wide was discovered off the coast of Sicily and dates back within two centuries of The Odyssey. In 2008, it was discovered to match the descriptions in The Odyssey. Find the missing integer that makes the following addition statement true. + 3 = 2+3=2 Use the drawing tools to form the correct answer on the number lineGraph the solution set to this inequality.-2(x + 6) > -4x given: P(A) = 0.45, P(B) = 0.65, and P(A and B) = 0.35. Find:P (A or B)P(A OR B) ( line on top) P(A|B) P(B|A) Which of the options below is the most effective conclusion to the essay?Western doctors only want to sell you pills and keep you coming back for more. Acupressure proves you dont need drugs, you only need to listen to your body.Before trying acupressure, the patient found it hard to shower, change his clothes, eat, reach for his wallet, close the car door, or even pet the dog. Afterwards, he was able to do these everyday tasks. It seems that acupressure can be help people who havent found relief from traditional western medicine.Western medicine cant always cure pain. Many Americans report great results for pain and stress relief from acupressure. For people struggling with these conditions, acupressure might be a surprisingly effective answer to their problems.To sum up, acupressure is a type of treatment invented in China. It applies pressure to tense muscles to relieve pain, cure tension, and make people feel more comfortable with their body. It might not work for everyone but some people say it has helped them regain motion.