A machine on a 10 Mbps network is regulated by a token bucket algorithm with a fill rate of 3 Mbps. The bucket is initially filled to capacity at 3MB. How long can the machine transmit at the full 10 Mbps capacity

Answers

Answer 1
2+4= this gbhfchgcjdxbhdch is correct

Related Questions

What is the quick key to highlighting a column?
Ctrl + down arrow
Ctrl + Shift + down arrow
Right-click + down arrow
Ctrl + Windows + down arrow

Answers

The quick key to highlighting a column is the Ctrl + Shift + down arrow. Thus, option (b) is correct.

What is column?

The term column refers to how data is organized vertically from top to bottom. Columns are groups of cells that are arranged vertically and run from top to bottom. A column is a group of cells in a table that are vertically aligned. The column is the used in the excel worksheet.

The quick key for highlighting a column is Ctrl + Shift + down arrow. To select downward, press Ctrl-Shift-Down Arrow. To pick anything, use Ctrl-Shift-Right Arrow, then Ctrl-Shift-Down Arrow. In the Move/Highlight Cells, the was employed. The majority of the time, the excel worksheet was used.

As a result, the quick key to highlighting a column is the Ctrl + Shift + down arrow. Therefore, option (b) is correct.

Learn more about the column, here:

https://brainly.com/question/3642260

#SPJ6

Answer:

its (B) ctrl+shift+down arrow

hope this helps <3

Explanation:

Cloud computing gives you the ability to expand and reduce resources according to your specific service requirement.

a. True
b. False

Answers

Answer:

a. True

Explanation:

Cloud computing can be defined as a type of computing that requires shared computing resources such as cloud storage (data storage), servers, computer power, and software over the internet rather than local servers and hard drives.

Generally, cloud computing offers individuals and businesses a fast, effective and efficient way of providing services.

In Computer science, one of the most essential characteristics or advantages of cloud computing is rapid elasticity.

By rapid elasticity, it simply means that cloud computing gives you the ability to expand and reduce resources according to your specific service requirement because resources such as servers can be used to execute a particular task and after completion, these resources can then be released or reduced.

Some of the examples of cloud computing are Google Slides, Google Drive, Dropbox, OneDrive etc.

Write a method named coinFlip that accepts as its parameter a string holding a file name, opens that file and reads its contents as a sequence of whitespace-separated tokens. Assume that the input file data represents results of sets of coin flips. A coin flip is either the letter H or T, or the word Heads or Tails, in either upper or lower case, separated by at least one space. You should read the sequence of coin flips and output to the console the number of heads and the percentage of heads in that line, rounded to the nearest whole number. If this percentage is 50% or greater, you should print a "You win!" message; otherwise, print "You lose!". For example, consider the following input file: H T H H T Tails taIlS tAILs TailS heads HEAds hEadS For the input above, your method should produce the following output: 6 heads (50%) You win!

Answers

Answer:

Here is the JAVA program:

import java.io.*;

import java.util.*;

public class Main {

public static void main(String[] args) throws FileNotFoundException{ //the start of main() function body, it throws an exception that indicates a failed  attempt to open the file

Scanner input = new Scanner(new File("file.txt")); //creates a Scanner object and a File object to open and scan through the file.txt    

coinFlip(input);    } //calls coinFlip method

public static void coinFlip(Scanner input) { //coinFlip method that accepts as its parameter a string input holding a file name

while(input.hasNextLine()) { //iterates through the input file checking if there is another line in the input file

Scanner scan = new Scanner(input.nextLine()); //creates a Scanner object

int head = 0; // stores count of number of heads

int count = 0; //stores count of  total number of tokens

while(scan.hasNext()) { //iterates through the sequence checking if there is another sequence in the input file

String token= scan.next(); // checks and returns the next token

if (token.equalsIgnoreCase("H")||token.equalsIgnoreCase("Heads")) { //compares H or Heads with the tokens in file ignoring lower case and upper case differences

           head++;                } //if a token i.e. any form of heads in file matches with the H or Heads then add 1 to the number of heads

           count++;            } //increment to 1 to compute total number of counts

double result = Percentage(head, count); //calls Percentage method passing number of heads and total counts to compute the percentage of heads

System.out.println(head + " heads " + "(" + result +"%)"); // prints the number of heads

if(result >= 50.00) { //if the percentage is greater or equal to 50

System.out.println("You win!");} //displays this message if above if condition is true

else //if the percentage is less than 50

{System.out.println("You lose!");}  }    } //displays this message if above if condition is false

public static double Percentage(int h, int total) { //method to compute the percentage of heads

double p = (double)h/total* 100; // divide number of heads with the total count and multiply the result by 100 to compute percentage

return p;    } } //returns result

Explanation:

The program is well explained in the comments mentioned with each line of the above code. I will explain how the method coinFlip  works.

Method coinFlip accepts a string holding a file name as its parameter. It opens that file and reads its contents as a sequence of tokens. Then it reads and scans through each token and the if condition statement:

if (token.equalsIgnoreCase("H")||token.equalsIgnoreCase("Heads"))

checks if the each token in the sequence stored in the file is equal to the H or Heads regardless of the case of the token. For example if the first token in the sequence is H then this if condition evaluates to true. Then the head++ statement increments the count of head by 1. After scanning each token in the sequence the variable count is also increased to 1.

If the token of the sequence is HeAds then this if condition evaluates to true because the lower or upper case difference is ignored due to equalsIgnoreCase method. Each time a head is found in the sequence the variable head is incremented to 1.

However if the token in the sequence is Tails then this if condition evaluates to false. Then the value of head variable is not incremented to 1. Next the count variable is incremented to 1 because this variable value is always incremented to 1 each time a token is scanned because count returns the total number of tokens and head returns total number of heads in the tokens.

Percentage method is used to return the percentage of the number of heads in the sequence. It takes head and count as parameters (h and total). Computes the percentage by this formula h/total* 100. If the result of this is greater than or equal to 50 then the message  You win is displayed otherwise message You lose! is displayed in output.

Other Questions
PLEASE HELP FOR REAL In exercises 22 24 , describe how the change affects the surface area of the right prism or right cylinder . The sum of three consecutive multiples of 7 is 777 find these multiples Why are G proteins known as guanine nucleotide-binding protein? Terrell has been refusing to go to school. Bronfenbrenner suggests that the problem has been aggravated by poor communication between the school and Terrells parents. This illustrates the operation of the:_____. a. chronosystem.b. exosystem.c. macrosystem.d. mesosystem. If xy = 1 what is the arithmetic mean of x and y in terms of y? Please show work as detailed as possible 9. En ejercicios anteriores has sustituido el CD yel al por el pronombre correspondiente perode forma eparada. Ahora SUSTITUYE conjuntamente ambas funciones. Estan en cursiva.1-Eva y Ana compraron una corbata a Felipe.2-He regalado un libro de cuentos a tu hermanita.3-Jaime resolvi los ejercicios a sus compaeros.4- El padre prohibi a su hijo que cogiera el coche.5-El dependiente mostr las corbatas a Eva y Ana Jess receives a $15000 salary for working as an engineer. If Jess has to spend $6000 of her salary on expenses each year, then what percent of Jess's money does she have to spend? Round your answer to the nearest whole number if necessary. the unit of energy is a derived unit What is the center of the circle with the equation (x+4)2 + (y - 2)2 = 16? Calculate the molarity of a solution containing 29g of glucose (C 6 H 12 O 6 ) dissolved in 24.0g of water. Assume the density of water is 1.00g/mL. Scientists are able to reproduce certain plants and animals by cloning them in laboratories. The diagram shows the steps of cloning using tissue cultures. Do you think cloning is a form of asexual reproduction? Explain your answer using evidence from the diagram The size of a television screen is given as 95 cm, correct to the nearest 5 cm.Write down the upper bound of the size of the television screen. Margarita, age 30, used to work 80 hours a week as a corporate lawyer. this year she quit her job to take care of her five-month-old daughter. she is currently not looking for a job. the survey conducted by the bureau of labor statistics will count margarita today as choose one:a. not in the labor force.b. not in the working-age population.c. a discouraged worker.d. employed.e. unemployed. in a polynomial function of degree 5, what is the maximum number of extreme that could be possible? (please explain with the answer if possible!) What were Malcolm's and Ravi's maximum speeds? Which of the following is equivalent to 2i(6 7i)? asap!!~~~~~~A line passes through point (6, 1) and is parallel to the equationy= 2x 5. What's the equation of the line?Question 25 options:y= 2x 13y=12{"version":"1.1","math":"\(\frac{1}{2}\)"}x+ 3y= 12{"version":"1.1","math":"\(\frac{1}{2}\)"}x 1y= 2x+ 5click on picture for a, b, c ,or d Which location is least likely to experience a volcanic eruption? . an island hot spot, such as the island of Hawaii B. Hamilton County on the plains of central Texas . a convergent boundary, as in the Ring of Fire D a volcanic island arc, such as the Aleutian Arc in Alaska Does the following sentence use coordination, subordination, both, or neither?The cartoon strip also shows Calvin's acrimonious relationship with Suzie Derkins, the little girl who lives next door.O A. coordinationO B. bothO C. subordinationOD. neither According to the Surgeon General, adults should get at least 2.5 hours of moderate-intensity exercise per week to garner substantial health benefits. a. True b. False