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
NARA [144]
2 years ago
8

Suppose the length of each packet is L bits. Also, assume the path from a server to a client includes N links each of rate R (i.

e., there are N-1 routers between the server and the client).a. With store-and-forward packet switching, what is the end-to-end delay to transmit one packet over the N links (ignoring propagation, processing, and queueing delays)?b. What is the delay if the server sends P such packets back-to-back over the N links?

Computers and Technology
1 answer:
nignag [31]2 years ago
3 0

Answer:

Attached is the solution

You might be interested in
Write a program that prompts the user to enter in a postive number. Only accept positive numbers - if the user supplies a negati
marusya05 [52]

Answer:

The c++ program to check prime numbers is shown below.

#include <iostream>

using namespace std;

int main() {

   int num, prime=0;

   do

   {

       cout<<"Enter a positive number."<<endl;

       cin>>num;

       if(num<1)

       {

           cout<<"Invalid number. Enter a positive number"<<endl;

           cin>>num;

       }

   }while(num<1);

   

   if(num==1 || num==2 || num==3)

       cout<<num<<" is a prime number."<<endl;

   else if(num%2 == 0)

       cout<<num<<" is not a prime number."<<endl;

   else

   {

       for(int k=3; k<num/2; k++)

       {

           if(num%k == 0)

               prime++;

       }    

   if(prime>1)

       cout<<num<<" is not a prime number."<<endl;

   else

       cout<<num<<" is a prime number."<<endl;

   }

}

OUTPUT

Enter a positive number.

-7

Invalid number. Enter a positive number

0

Enter a positive number.

79

79 is a prime number.

Explanation:

The user input is validated for positivity. A do while loop along with an if statement is implemented for verification.

do

   {

       cout<<"Enter a positive number."<<endl;

       cin>>num;

       if(num<1)

       {

           cout<<"Invalid number. Enter a positive number"<<endl;

           cin>>num;

       }

   }while(num<1);

The test for prime number is done by using multiple if else statements.

If user inputs 1, 2, or 3, message is displayed.

Else If user inputs an even number, message is displayed for not prime. This is done by taking modulo of the number upon division by 2.

Else if user inputs neither an even number nor a number less than 3, the modulus of the number is taken with divisors beginning from 3 up to half of the input number.

For this, an integer variable prime is initialized to 0. A number can be completely divisible by itself or by its factors.

If the number is divisible by any of the divisors, value of variable prime is increased by 1. If value of prime is greater than 1, this means that the user input is divisible by more than one divisor. Hence, the given number is not a prime number.

5 0
3 years ago
What method parses its string argument to determine whether the string can be converted to a number?
den301095 [7]
The correct answer is: Tryparse method
6 0
2 years ago
Where are domain user passwords stored?
seropon [69]

Answer:a)Local Database

Explanation: Local database is the type of the application database storage that is responsible for storing of the data locally in accordance with the application. It uses the SDF files for the processing and these files don't require much effort such as installing of any particular server for the database.They are considered as not highly secure databases.Therefore,the correct option is option(a).

8 0
3 years ago
Helppppp meeee eeeeeee eee
zlopas [31]

Answer:

Thats the gas petal i believe so the accelerator

Explanation:

3 0
2 years ago
Read 2 more answers
Explain why a CPU’s speed is affected by the number of buses.
Irina-Kira [14]

The Effect of the Motherboard's Bus Speed on CPU Speed:

 

 

A computer motherboard's bus speed has no effect on the installed CPU's speed. In a computer, the motherboard and the CPU are two separate components and do not alter how well the other one performs. However, the user experience is measured in how well the two perform together.

 

 

CPU

The CPU, or the computer's main processor, has a factory-determined operating speed. The processor's speed can be altered through the motherboard's BIOS settings on some computers. Hardware compatibility errors aside, the CPU's speed is not altered by any other part of the computer. However, the CPU is the fastest part of the computer and often gets held up by other hardware that can't keep up. CPUs handle all the computer's computational work outside of major graphical work performed by the GPU.

 

 

 

 

 

 

 

 

Bus

The motherboard's bus is the part of the device that transfers data between parts. The term "bus speed" refers to how quickly the system bus can move data from one computer component to the other. The faster the bus, the more data it can move within a given amount of time. The system's "Front Side Bus" connects the CPU to the computer's "Northbridge," which handles communication between the computer's RAM and the processor. This is the fastest part of the bus and handles the computer's most vital workload.

 

 

 

Bus Feeds the CPU

The CPU itself is pointless unless it has data to process; the bus’s job is to get that data to the CPU. The bus does not increase or decrease the CPU's speed but handles that data that flows in and out of the device, which plays a key role in how well the CPU performs. This is the point where the Bus can affect the CPU's performance output -- the CPU works in a cyclical process, with data going in and out of the device on a timed interval. If the CPU doesn't have any data to work with in a cycle, it wastes a cycle and doesn't process any data.

 

Insufficient Bus

An insufficient bus speed could leave a computer's CPU hanging as it waits for more information to process. This creates a "bottleneck," or the point at which one part of the computer slows down performance for another part of the system. If the bus is too slow, the CPU will waste a substantial amount of cycles and the computer user would perceive this as slower performance.

 

 

Sufficient Bus

A motherboard that has a sufficient or excessive bus speed for the CPU will offer the optimal performance speed. If the bus is fast enough, the CPU will consistently have new data to process ready to go when it completes a cycle. While the process isn't perfect and there always being unused cycles, a sufficient bus speed helps maximize how many of those cycles are used.

<span>Source: http://smallbusiness.chron.com/effect-motherboards-bus-speed-cpu-speed-70907.html</span>

8 0
2 years ago
Other questions:
  • Yesterday Hunter's laptop screen appeared to go black. The laptop was still running, but he could not see the desktop or any gra
    9·1 answer
  • A commonly used font style is _____. superscript periwinkle times new roman point
    7·1 answer
  • Write the method public static doublell quizAverages (double (1 scores). which takes a 2D array of doubles that represent quiz s
    11·1 answer
  • When selecting text in word, holding down the ctrl key while clicking the mouse button will select the?
    15·1 answer
  • The ________ phase in a project involves documenting lessons learned from the project, so that the experience is useful to other
    13·1 answer
  • \Read the sentence.
    12·1 answer
  • An
    9·1 answer
  • The linear programming ingredient or blending problem model allows one to include not only the cost of the resource, but also th
    14·1 answer
  • Which of the following statement is False? 1 point Context free language is the subset of context sensitive language Regular lan
    5·1 answer
  • State any three reasons why users attach speakers to your computer​
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!