STARTING OUT WITH Python

Starting Out With Python

Authors: Tony Gaddis
ISBN: 9780132576376
Edition: 2
Chapter: Introduction To Computers And Programming
Exercise: Short Answer
Question: 2

 

Question by Ncb on 26 Feb, 2019 at 02:41 PM

What number does a bit that is turned on represent? What number does a bit that is turned off represent?

Answer by Trueman on 26 Feb, 2019 at 02:41 PM

In computer systems, a bit that is turned on represents the number 1. A bit that is turned off represents the number 0. This relates to the binary numbering system. In the binary numbering system or binary system, all numeric values are written as sequences of 0s and 1s.

An example of a binary number is written as follows

100011101

0 0

Discussions

Post the discussion improve the above solution.