The answer is:<span>deployment descriptor (DD)</span>
<span>I presume the 2 at the end of the formula is a typo (as the 2 and half will cancel each other out if it means to multiply by 2)
pseudocode excludes it: float s0 = 12.0
float v0 = 3.5
float a = 9.8
float t = 10
s = s0 + v0 * t + (a * t) / 2 Output(s) </span>
Answer:
int result=max(population1,population2);
printf("%d",result);
Explanation:
in above result variable holds the largest value of two variables population1 and population2.Printf displays that largest value.
int result=max(population1,population2);
in above expression , right hand side we are calling max function and on the left hand side we are saving the return value of the function in result variable
Answer:
#include <stdio.h>// inclusion of header file.
int main()// definition of main function.
{
int Quotient,divisor; // declare the two numbers for operation.
scanf("%d %d",&Quotient,&divisor); // take the user inputs by scanf() function.
printf("The division result of the number = %f",Quotient/divisor);
// print statement to print the division.
return 0; // return statement.
}
Output:
- If the user input is 10 and 9 then the output is 1.
- If the user input is 4 and 2 then the output is 2.
Explanation:
- Firstly there is a file inclusion which helps to understand the input and output function
- Then we declare two variables of integer type which take a value of integer type.
- Then there is a scanf statement which takes the input from the user. The '%d' format specifies that the value is in an integer value.
- Then there is a print statement that gives the divisor in floating value. The division operation is written in the printf statement which is used to print the value. '%f' display the value in decimal value.
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: