C
Programming and Technical
Programming
Basics
A 10-bit unsigned integer has the following range:
Options:
[1] 0 to 1000
[2] 0 to 1024
[3] 1 to 1025
[4] 0 to 1023
Read Solution (Total 15)
-
- [4] 0 to 1023
- 8 years agoHelpfull: Yes(5) No(1)
- [4 ]As the integer is unsigned so MSB would not be used to store sign bit ,to ensure that the number is negative or positive . so all 10 bits would to used to store the data bits . therefore ,the range would be 0 to 2^10-1 .
- 8 years agoHelpfull: Yes(2) No(0)
- [4] 0 to 1023 as total are 1024 starting from 0.
- 8 years agoHelpfull: Yes(2) No(0)
- 10 bit unsigned that means only postive values hence 2^10 =1024 so range will be 0-1023.
- 8 years agoHelpfull: Yes(1) No(0)
- 2 because unsigned start with 0
- 8 years agoHelpfull: Yes(0) No(1)
- 0 to 1024
- 8 years agoHelpfull: Yes(0) No(1)
- 4
because unsigned int range stats from 0 - 8 years agoHelpfull: Yes(0) No(0)
- [2] i think second one is the answer
- 8 years agoHelpfull: Yes(0) No(0)
- ans is 4th....2 ^10 -1=1023...so ans is 0 to 1023
- 7 years agoHelpfull: Yes(0) No(0)
- 0 to 1023.For n bit binary number,range will be 0 to 2^n-1.
- 7 years agoHelpfull: Yes(0) No(0)
- O-1033
i.e, 0 - 2^n-1 - 7 years agoHelpfull: Yes(0) No(0)
- o to 1024 becoz range
- 6 years agoHelpfull: Yes(0) No(0)
- 4. range of unsigned integer is2^n-1 hence for 10 bit it will be 1024. that is from 0 to 1023
- 5 years agoHelpfull: Yes(0) No(0)
- 0 to 1023 as 10 bit unsigned integer means 2^10=1024
- 4 years agoHelpfull: Yes(0) No(0)
- 1023.renge=(2^n)-1,so 1024-1=1023
- 4 years agoHelpfull: Yes(0) No(0)
C Other Question