Answer:
This is not true
Explanation:
The optimal Huffman code is used to encrypt and compress text files. It uses fixed-length code or variable-length code for encryption and compression of data.
The professor's character code is similar to Huffman's variable-length coding which uses variable length od binary digits to represent the word strings. The file size of the text file above is;
= 6 x 1 + 2 x 2 + 3 x 2 + 2 x 2 + 8 x 1 = 28 bits
This would be the same for both cases.
The encrypt would be the problem as the encoded and decoding of the characters B and E may cause an error.
Answer:
The program using do-while loop defined as follows:
Program:
#include <stdio.h> //include header file
int main() //defining main method
{
int i = 0; //defining integer variable i and assign value.
//defining do-while loop
do
{
printf("%d", ++i); //print value
}while (i<5); //check condition
return 0;
}
Output:
12345
Explanation:
Output of given program:
In the given program, it will not print any value because in while loop semi colon is used which is not valid.
Program Explanation:
In the above C language program header file is included, which provides features to use basic function then the main method is defined inside this method an integer variable "i" declare, that holds a value which is "0". In this method, the do-while loop is defined. In the do section, we print value and in the while block checks the condition which is i is less than 5.
Answer: Compatibility
Explanation:
According to the question, the given products are offering compatibility with the customers needs and the priorities of the consumers. The customers comparability means the degree of the product that fit between customers expectation and the capability of serving by the operation team.
The customers expectation mainly reflected both the present and the past evaluation of the products and the user experience. The compatibility of the customers needs is to meet the quality, value and the service of the product.
Answer:
1) Standalone machine
2) Local
3) Either Wide area network(WAN) or a web
Done your first 3