Ask
your own question, for FREE!
Computer Science
28 Online
OpenStudy (anonymous):
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!
Still Need Help?
Join the QuestionCove community and study together with friends!
OpenStudy (anonymous):
This kind of conversion is buit in to most highlevel languages. In python there's a hex function - and oct and bin. Moreover the int function can convert these representations back to numbers, given a base. >>> print hex(50) 0x32 >>> print hex(16 * 16 - 1) 0xff >>> print int(hex(16 * 16 - 1), 16) 255 See more here: http://docs.python.org/library/functions.html
OpenStudy (anonymous):
you can create your own program for such convertions.. it's quite simple
Can't find your answer?
Make a FREE account and ask your own questions, OR help others and earn volunteer hours!
Join our real-time social learning platform and learn together with your friends!
Join our real-time social learning platform and learn together with your friends!
Latest Questions
ShadowKid3:
So, I made this character I'm thinking of making mini animations with. Any sugges
4 hours ago
7 Replies
0 Medals
luhbabyliyahh:
How you all feeling? You wanna come back and check on the site and like 2025 type
7 hours ago
36 Replies
0 Medals
alyviahwillis:
if anyone has any questions feel free to DM me... I don't mind at all.
8 hours ago
0 Replies
0 Medals
alyviahwillis:
hey yall so how are yall doing today? also if you need someone to talk to let me
8 hours ago
13 Replies
2 Medals
Juss1Jordan:
Sometimes losing a friendship that meant the world to you means that God was keeping you out of things he KNEW you wouldn't be able to handle, God block cer
8 hours ago
5 Replies
1 Medal
Bbygirl15:
Por quu00e9 es difu00edcil agradarle a tu mejor amigo cuando a u00e9l le agradast
11 hours ago
6 Replies
0 Medals