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
Mrrafil [7]
3 years ago
8

Lossless and lossy are the two (2) universally known categories of compression algorithms. Compare the two (2) categories of alg

orithms, and determine the major advantages and disadvantages of each. Provide one (1) example of a type of data for which each is best suited.
Computers and Technology
2 answers:
Romashka-Z-Leto [24]3 years ago
8 0

Answer:

The lossy compression method is also known as irreversible compression and is beneficial if the quality of the data is not your priority. It slightly degrades the quality of the file or data but is convenient when one wants to send or store the data. This type of data compression is used for organic data like audio signals and images. The algorithm use in Lossy compression include: Transform coding, DCT, DWT, fractal compression, RSSMS.

The Lossless compression method is also known as reversible compression and is capable of reconstituting the original form of the data. The quality of the data is not compromised. This technique allows a file to restore its original form. Lossless compression can be applied to any file format can improve the performance of the compression ratio. The algorithm use in Lossless compression include: RLW, LZW, Arithmetic encoding, Huffman encoding, Shannon Fano coding.

Advantage of Lossy compression: Lossy compression can achieve a high level of data compression when compared to lossless compression.

Advantage of Lossless compression: Lossless compression doesn’t degrade the quality of data during compression

Disadvantage of Lossy compression: Lossy compression degrades the quality of the data during compression

Disadvantage of Lossless compression: Lossless compression has less data holding capacity when compared to lossy method

Example of type of data for Lossless compression: Text

Example of type of data for Lossy compression: Audio

Explanation:

stepan [7]3 years ago
7 0

Answer:

Lossless retains the file size while lossy algorithm discards excess files size or parts.

Explanation:

Compression algorithms are algorithms used to minimise the file size of a large file format. It is handy for maximising available disk space and reduce upload and download time of these files. Lossless and lossy are two types of compression algorithms.

Lossless algorithm is used to compress a file, but yet retains the structure of the original file or data. It is used where an identical file from the original is favourable and is used in archives.

Lossy is the opposite of lossless because it discards excess parts of a file. It is used in compressing audio files like MP3.

You might be interested in
How do you measure the capacity of speed and memory of computer system<br>Explain.​
jeka94
Im sorry i just need points
3 0
3 years ago
A hotel salesperson enters sales in a text file. Each line contains the following, separated by semicolons: the name of the clie
timama [110]

Answer:

see explaination

Explanation:

Java code

//Header file section

import java.util.Scanner;

import java.io.*;

//main class

public class SalesTestDemo

{

//main method

public static void main(String[] args) throws IOException

{

String inFile;

String line;

double total = 0;

Scanner scn = new Scanner(System.in);

//Read input file name

System.out.print("Enter input file Name: ");

inFile = scn.nextLine();

FileReader fr = new FileReader(new File(inFile));

BufferedReader br = new BufferedReader(fr);

System.out.println("Name \t\tService_Sold \tAmount \tEvent Date");

System.out.println("=====================================================");

line = br.readLine();

//Each line contains the following, separated by semicolons:

//The name of the client, the service sold

//(such as Dinner, Conference, Lodging, and so on)

while(line != null)

{

String temp[] = line.split(";");

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

{

System.out.print(temp[i]+"\t");

if(i == 1)

System.out.print("\t");

}

//Calculate total amount for each service category

total += Double.parseDouble(temp[2]);

System.out.println();

line = br.readLine();

}

//Display total amount

System.out.println("\nTotal amount for each service category: "+total);

}

}

inputSale.txt:

Peter;Dinner;1500;30/03/2016

Bill;Conference;100.00;29/03/2016

Scott;Lodging;1200;29/03/2016

Output:

Enter input file Name: inputSale.txt

Name Service_Sold Amount Event Date

=====================================================

Peter Dinner 1500 30/03/2016

Bill Conference 100.00 29/03/2016

Scott Lodging 1200 29/03/2016

Total amount for each service category: 2800.0

3 0
3 years ago
Does anyone know edhesive 4.3 question 1
navik [9.2K]

No

.................................. :)

5 0
2 years ago
Read 2 more answers
How can you make the drawing tools contextual tab appear
Anestetic [448]

Answer:

Following up on Stefan's repsonse, this means that first, from the Insert tab you need to insert a line or shape. Once you've inserted something, select it and the contextual tab DRAWING TOOLS - FORMAT will appear.

Explanation:

3 0
2 years ago
Read 2 more answers
Which of the following is the best subject line for an e-mail sent to co-workers about rescheduling a team meeting?
Ilya [14]
Reschedule the team meeting <span />
6 0
2 years ago
Other questions:
  • What file formats can you safely use in a video presentation
    14·1 answer
  • Karen has opened a new business and is using Google Display Ads to build awareness of her new products. How does Google Display
    6·1 answer
  • What is the relationship between a method and a function
    11·2 answers
  • Mathematical expression that might link numbers in cells
    14·1 answer
  • A Network Attached Storage device is good for _____.
    11·2 answers
  • E-mail messages, instant messages (IMs), or text messages sent and/or received within an organization a. are not included on a r
    9·1 answer
  • what is musical technology specifically, the origins of its genesis &amp; its importance to the baroque era
    6·1 answer
  • Question 1 of 10
    13·1 answer
  • The international system of units is very important to our worldwide science community because it is easier for scientists to sh
    12·1 answer
  • In order to see what the services status will be in a given runlevel, you would use what command?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!