Chat with our AI personalities
101 = 5
No, -5 is not an irrational number. Irrational numbers are numbers that cannot be represented as the quotient of two integers. Since -5 is already an integer, it is rational.
Well, honey, to represent months of the year, you need at least 4 bits because you've got 12 months in a year, and you need 4 bits to represent numbers from 0 to 15. So, technically, you could do it with just 4 bits, but if you want to be fancy, you could use 5 bits for a more efficient representation.
5 bits, since 2 to the power 5 equals 32.
120