3.3. Binary and Its Advantages — CS160 Reader (2024)

Binary means “two states.” The two states are sometimes called “1” and “0”, or called “true” and “false”, or called “on” and “off”. The essential characteristic is that a single binary device can be in just one of two possible states.

A good example is a toggle switch, such as a light switch. You can turn it on or off but not (in normal operation) anything else. A light switch holds one bit of information.

3.3. Binary and Its Advantages — CS160 Reader (1)3.3. Binary and Its Advantages — CS160 Reader (2)3.3. Binary and Its Advantages — CS160 Reader (3)

A light dimmer is not a binary device: it has many positions between off and fully on. If you want a light dimmer to be set to 25%, you must carefully adjust it.

There are many advantages to binary. Here are four (somewhat overlapping) important reasons for using binary:

3.3. Binary and Its Advantages — CS160 Reader (4)
  1. Binary devices are Simple and easy to build

    An on/off switch is simple and easy to build. An on/off switch moves two pieces of metal together or moves them apart. A light dimmer must gradually and smoothly change the current that reaches the light. It has more components that an on/off switch and must be carefully assembled. An accurate dimmer (where 25% means exactly 25%) is even harder to build.

    The same is true for the tiny devices inside of a silicon chip. On/off switches are relatively easy to fabricate. The devices are cheap, small, and reliable, and millions of them fit into a small area.

  2. Binary signals are Unambiguous (which gives them noise immunity)

    It is easy to look at a digital signal that is only supposed to be on or off and decide which it is supposed to be. Even if there is a bit of noise, we should be able to clearly tell what the signal is supposed to be

  3. Flawless copies can be made of binary data

    Remember this picture?

    3.3. Binary and Its Advantages — CS160 Reader (5)

    Imagine now we are trying to copy the red signal but produce the grey one. When we attempt to read the copy, we can easily tell what the signal was supposed to be and restore it to the correct value. Because any noise introduced with a copy can be immediately filtered out, we can copy the information as many times as needed without worrying about the errors compounding. This is essential in a computer system, where bit patterns (patterns of one and zero, or on and off) are copied back and forth between the processor and memory millions of times a second. The copies have to be perfect.

  4. Anything that can be represented with some sort of pattern can be represented with a binary pattern

    It might seem hard right now to imagine how we could represent things as diverse as numbers, music, images and text can all be represented by just “on” and “off”. But we will learn tricks for converting anything that can be represented as any kind of pattern using just these two values.

Self Check

    Q-1: What does binary mean?

  • Binary means "containing a computer."
  • Binary means "having only two states."
  • Binary means "having a discrete number of values."
  • Binary does have a discrete number of values, but the correct answer is more specific
  • Binary means "using electronics to do arithmetic."
  • We can have binary values represented by things other than electrical signals

    Q-2: Which of the following are advantages of building computers out of binary devices?

  • Binary devices are simple and easy to build.
  • This is true.
  • Binary signals are unambiguous.
  • This is true.
  • Binary devices are much faster than analog devices.
  • There is nothing inherently faster about a binary signal than an analog one.
  • Binary signals can be copied flawlessly.
  • This is true.

Materials on this page adapted with permission from from:
Introduction to Computer Science using Java by Bradley Kjell (CC BY-NC 3.0)

You have attempted of activities on this page

3.3. Binary and Its Advantages — CS160 Reader (2024)
Top Articles
How to become a truly excellent gift giver
How to transfer crypto into a bank account – AskWallet.io
Xre-02022
Shoe Game Lit Svg
Terrorist Usually Avoid Tourist Locations
From Algeria to Uzbekistan-These Are the Top Baby Names Around the World
La connexion à Mon Compte
Victoria Secret Comenity Easy Pay
Produzione mondiale di vino
Top Golf 3000 Clubs
Daniela Antury Telegram
3656 Curlew St
4Chan Louisville
Best Food Near Detroit Airport
Walmart Windshield Wiper Blades
272482061
Craigslist Edmond Oklahoma
Kitty Piggy Ssbbw
Extra Virgin Coconut Oil Walmart
Michigan cannot fire coach Sherrone Moore for cause for known NCAA violations in sign-stealing case
List of all the Castle's Secret Stars - Super Mario 64 Guide - IGN
Inter-Tech IM-2 Expander/SAMA IM01 Pro
Daylight Matt And Kim Lyrics
Silive Obituary
Bjerrum difference plots - Big Chemical Encyclopedia
Canvasdiscount Black Friday Deals
Amerisourcebergen Thoughtspot 2023
Cognitive Science Cornell
Margaret Shelton Jeopardy Age
Star Wars Armada Wikia
Usa Massage Reviews
Ullu Coupon Code
Chelsea Hardie Leaked
Halsted Bus Tracker
Joplin Pets Craigslist
Family Fare Ad Allendale Mi
Games R Us Dallas
Kazwire
Newsweek Wordle
Best Restaurants West Bend
LumiSpa iO Activating Cleanser kaufen | 19% Rabatt | NuSkin
Memberweb Bw
Autozone Battery Hold Down
Searsport Maine Tide Chart
St Anthony Hospital Crown Point Visiting Hours
Espn Top 300 Non Ppr
Wood River, IL Homes for Sale & Real Estate
Okta Login Nordstrom
Read Love in Orbit - Chapter 2 - Page 974 | MangaBuddy
Round Yellow Adderall
Craigs List Sarasota
Duffield Regional Jail Mugshots 2023
Latest Posts
Article information

Author: Carmelo Roob

Last Updated:

Views: 6271

Rating: 4.4 / 5 (45 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Carmelo Roob

Birthday: 1995-01-09

Address: Apt. 915 481 Sipes Cliff, New Gonzalobury, CO 80176

Phone: +6773780339780

Job: Sales Executive

Hobby: Gaming, Jogging, Rugby, Video gaming, Handball, Ice skating, Web surfing

Introduction: My name is Carmelo Roob, I am a modern, handsome, delightful, comfortable, attractive, vast, good person who loves writing and wants to share my knowledge and understanding with you.