Hello everyone(adsbygoogle = window.adsbygoogle || []).push({});

I am enrolled in a AP Computer Science course. Currently we are learning about bits and bytes. Could someone please explain the concept of bits and bytes. For example, here are some questions that I have tried doing:

1. 16-bit binary numbers can be used to represent all non-negative integers from 0 to 2^16 - . I know that is is true, but why?

2. Design a method for representing the state of a tic-tac-toe board in computer memory. Can you fit your representation in three bytes?

I know that a tic-tav-toe board has 9 squares. However I become stuck after this.

Any help would greatly be appreciated.

Thanks

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Bits and Bytes

Loading...

Similar Threads - Bits Bytes | Date |
---|---|

Does alpha channel really need 8-bits? | Jan 10, 2018 |

General Question on 32- and 64- bit systems | Aug 11, 2017 |

How fast can hackers crack 128 bit file encryption? | Jul 7, 2016 |

Binary, base 2, bits, and coin flips | Dec 9, 2015 |

Bits and bytes | Feb 21, 2014 |

**Physics Forums - The Fusion of Science and Community**