Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Digital Literacy Computer Basics Computer Basics Binary

00001000

what is the answer?

2 Answers

Hi there,

Since there is only one 1 in the byte, we only have to count its position from the right, which is 4. This means that the answer is 2^3 = 8. Since all the other bits have a value of 0 we can ignore them and find the value of the bit with the value of 1. In this case the answer is 8.

Sarah Finet , it's done, you answer is worthy of the best answer. :)

thanks you so much for helping :)

consider up voting and making my answer best answer so that it can help others too.

Happy coding!

Thanks for the support appreciated!