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
Sati [7]
4 years ago
13

Which of these words could byte pair encoding compress the most?

Computers and Technology
1 answer:
nlexa [21]4 years ago
7 0

Answer:

My dad

Explanation:

You might be interested in
Let's write a simple markdown parser function that will take in a single line of markdown and be translated into the appropriate
Klio2033 [76]

Answer:

Here is the answer in Java with appropriate comments for understanding

Explanation:

import java.util.Scanner;

public class Hash {

public static void main(String[] args) {

System.out.print("Enter a string : ");

Scanner scanner = new Scanner(System. in);

String s = scanner. nextLine();   //read string

int k=s.lastIndexOf('#'),count=0;//find last occurence of # then take the next part

  String s2="",s3="";

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

  {

      if(s.charAt(i)=='#')

          count++;//count the occurence of # of level of heading h1,h2,h3,....

  }

  for(int j=k+1;j<s.length();j++)

  {

      s2+=s.charAt(j);//take the remainging string after #

  }

// System.out.println(k);

 

//System.out.println(count);

if(count<=6)//if it is valid heading

{

  s3="<h"+count+">"+s2+"</h"+count+">";

  System.out.println(s3);  

}

else

  System.out.println("Invalid header");

 

}

}

6 0
3 years ago
JAVA
barxatty [35]

Answer:

Answer is in the provided screenshot! This was a lot of fun to make!

Explanation:

We need to create a new Array which has to be the size of amount * original - as we now that we are going to have that many elements. Then we just iterate through all the values of the new array and set them equal to each of the elements in order.

Ignore the code in my main function, this was to print to the terminal the working code - as you can see from the output at the bottom!

5 0
3 years ago
Exercise 1-12 <br> This information is for Windsor, Inc. For the year ended December 31, 2017
Agata [3.3K]

Answer:

Please check the attachment.

Explanation:

Net change in cash, is the net increase in the cash from previous year which is 11900 here, and since the cash in hand is 17200, the net increment is 17200-11900 = 5300 from past year.

And the Cash forecast depends upon cash in hand, and which is 17200, and this is while disregarding future profit.

Rest of the details are in the file attached.

Download xlsx
8 0
3 years ago
Create an application that calculates and displays the amount of a homeowner's property tax. The tax is 1.35% of the property's
Valentin [98]

Answer:

a) Planning chart:

Create the form, and add two buttons, calculate and exit, and add two labels and two textboxes, as shown in the second image. Now code the buttons as shown in the image file, and debug. The required program is ready.

b) The design is as shown in the second image,

c) And the code for the windows form is also ready. Steps in brief. Open visual studio, Go to file menu and hit on New. Now choose Windows form from project type, and give the project name VB2017/chap02. Now code as explained in A, and as explained in images.

D) We just need to follow the plan to build the interface.

E) The code of exit button. Double click exit button to enter code-behind, and add this.Close(); And that's it, we have the project ready.

Explanation:

Please check the answer section.

And If you want Rounded off value, then you need to all below code in calc_click method. Double click on calc, and code behind will appear. Add the below code over there:

double tax = Convert.ToDouble((textBox1.Text)) * 5/100;

           double Roundedtax = Math.Round(tax, 2);

           textBox2.Text = Convert.ToString(Roundedtax);

           textBox2.Show();

           textBox3.Text = Convert.ToString(Convert.ToDouble(textBox1.Text) + Convert.ToDouble(textBox2.Text));

           textBox3.Show();

For dollar sign, add a label after each textbox, and change its text to $s.

5 0
3 years ago
Where can I watch jersey shore for free <br> Pls don’t say soap2day, any apps or something?
poizon [28]

Answer:

maybe try Y o u t u b e

Explanation:

sometimes they have full episodes of shoes on there for free

3 0
3 years ago
Other questions:
  • A cyberbully is someone who invades another person’s privacy by
    13·2 answers
  • The main purpose of a constructor is to initialize the data members at the moment that an object is created. true or false?
    8·1 answer
  • Graphic design has as its goal the communication of some __________ message to a group of people.
    6·1 answer
  • A student that earns a well qualified score on an ap exam would receive a ___
    13·1 answer
  • _______ view is used to size field names and controls and to apply formats.
    10·2 answers
  • Define foreign key. What is this concept used for?
    6·1 answer
  • Modify the statistics program from this chapter so that client programshave more flexibility in computing the mean and/ or stand
    8·1 answer
  • What type of expense generally covers performing and producing elements?
    11·1 answer
  • It is the "executable" phrase of Word<br>Wide Web with dynamic applications,?<br>​
    9·1 answer
  • Input header here<br>input paragraph 1 here
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!