Numerical Representation

1. Which of the following is the binary representation of the decimal number 13?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

2. What is the minimum number of bits required to represent the decimal number 100 in binary?

Explanation

Explanation

Explanation

Explanation

3. Which of the following C statements shifts the value of n right by 1 bit?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

4. What is the decimal value of the binary number 10110?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

5. Which of the following is NOT a valid binary number?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

6. Which C operator is used to perform a bitwise AND operation?

Explanation

Explanation

Explanation

Explanation

7. What is the result of 5 & 3 in C?

Explanation

Explanation

Explanation

Explanation

8. Which of the following best describes the purpose of shifting bits to the left in binary representation?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

9. Which of the following is the binary representation of the decimal number 255?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

10. Which of the following is true about the minimum number of bits required to represent a number n in binary?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation