how do you represent the decimal 50 integer in binary?
110010
thanks
How many bits must be “flipped” (i.e., changed from 0 to 1 or from 1 to 0) in order to capitalize a lowercase ‘a’ that’s represented in ASCII?
1
a=97=1100001 and A=65=1000001
How do you represent the (decimal) integer 50 in, oh, “hexadecimal,” otherwise known as base-16? Recall that decimal is simply base-10, and binary is simply base-2. Infer from those base systems how to represent this one!
32 = 50 in hexadecimal
50 = 0011 0010 in binary now group each 4 bits and converts them into hexadecimal so 0011=3 and 0010 = 2 so 50 = 32 in hexadecimal hexadecimal conversion table is 0000 = 0 0001 = 1 0010 = 2 0011 = 3 0100 = 4 0101 = 5 0110 = 6 0111 = 7 1000 = 8 1001 = 9 1010 = A 1011 = B 1100 = C 1101 = D 1110 = E 1111 = F
Join our real-time social learning platform and learn together with your friends!