Answer:
code = 010100000001101000101
Explanation:
Steps:
The inequality yields , where M = 16. Therefore,
The second step will be to arrange the data bits and check the bits. This will be as follows:
Bit position number Check bits Data Bits
21 10101
20 10100
The bits are checked up to bit position 1
Thus, the code is 010100000001101000101
Answer:
price float(price)
Explanation:
There are four basic type of data type use in the programming to declare the
variable.
1. int: it is used for integer values.
2. float: it is used for decimal values.
3. char: it is used for character values
4. Boolean: it is used for true or false.
in the question, the one option contain the data type float (price float(price)). So, it store the value in decimal.
price int(price): it store the value in integer.
price decimal(price): it is wrong declaration of variable. their is no data type in the programming which name is decimal.
price price(decimal): it is wrong declaration of variable. their is no data type in the programming which name is price.