MCQOPTIONS
Saved Bookmarks
| 1. |
lf a variable can take only integral values from 0 to n, where n is an integer, then the variable can be represented as a bit-field whose width is ( the log in the answers are to the base 2, and [log n] means the floor of log n) |
| A. | [log(n)] + 1 bits |
| B. | [log (n-1)]+1 bits |
| C. | [log (n+1)] + 1 bits |
| D. | None of the above |
| Answer» E. | |