Converting between number bases using binary - Fundamentals of data representation - AQA - GCSE Computer Science Revision - AQA - BBC Bitesize (2024)

Converting between number bases using binary

Binary to decimal

The system is and has just two symbols, 0 and 1. The first eight binary place values are:

1286432168421
128
64
32
16
8
4
2
1

To convert binary to , simply take each place value that has a 1, and add them together.

Example - binary number 1111100

1286432168421
01111100
1280
641
321
161
81
41
20
10

Result - (0 × 128) + (1 × 64) + (1 × 32) + (1 × 16) + (1 × 8) +

(1 × 4) + (0 × 2) + (0 × 1) = 124

Question

What would these binary numbers be in decimal?

  • 1001
  • 10101
  • 11001100

Decimal to binary

To convert from decimal to binary, start by subtracting the biggest place value possible from the decimal number, then place a 1 in that place value column. Next, subtract the second biggest place value possible, and place a 1 in the column. Repeat this process until zero is reached. Finally, place a 0 in any empty place value columns.

Example - decimal number 84

  • First set up the columns of binary place values.
1286432168421
128
64
32
16
8
4
2
1
  • 64 is the biggest place value that can be subtracted from 84. Place a 1 in the 64 place value column and subtract 64 from 84, which gives 20.
1286432168421
1
128
641
32
16
8
4
2
1
  • 16 is the biggest place value that can be subtracted from 20. Place a 1 in the 16 place value column and subtract 16 from 20, which gives 4.
1286432168421
11
128
641
32
161
8
4
2
1
  • 4 is the biggest place value that can be subtracted from 4. Place a 1 in the 4 place value column and subtract 4 from 4, which gives 0.
1286432168421
111
128
641
32
161
8
41
2
1
  • Place a 0 in each remaining empty place value column.
1286432168421
01010100
1280
641
320
161
80
41
20
10

Result - 84 in decimal is 01010100 in binary.

To check that this is right, convert the binary back to decimal:

(0 × 128) + (1 × 64) + (0 × 32) + (1 × 16) + (0 × 8) + (1 × 4) +

(0 × 2) + (0 × 1) = 84

Another way to convert a decimal number to binary is to divide the starting number by two. If it divides evenly, the binary is 0. If it does not and there is a remainder, the binary digit is 1. Finally, reverse the digits and you have the correct number.

Question

What would these decimal numbers be in binary?

  • 12
  • 42
  • 188

This table illustrates the relationship between decimal and binary numbers, from 0 up to 255.

Converting between number bases using binary - Fundamentals of data representation - AQA - GCSE Computer Science Revision - AQA - BBC Bitesize (1)

Binary is also used within . To find out more, see the computer systems study guide.

Converting between number bases using binary - Fundamentals of data representation - AQA - GCSE Computer Science Revision - AQA - BBC Bitesize (2024)
Top Articles
The benefits and importance of aptitude tests in your career
Card Activation: Frequently Asked Questions
Jack Doherty Lpsg
Will Byers X Male Reader
Po Box 7250 Sioux Falls Sd
Wizard Build Season 28
Craigslist Cars And Trucks For Sale By Owner Indianapolis
Lost Ark Thar Rapport Unlock
Soap2Day Autoplay
Riegler & Partner Holding GmbH auf LinkedIn: Wie schätzen Sie die Entwicklung der Wohnraumschaffung und Bauwirtschaft…
shopping.drugsourceinc.com/imperial | Imperial Health TX AZ
Robot or human?
Cooking Fever Wiki
Alejos Hut Henderson Tx
Google Feud Unblocked 6969
Craftology East Peoria Il
How do I get into solitude sewers Restoring Order? - Gamers Wiki
Byui Calendar Fall 2023
Satisfactory: How to Make Efficient Factories (Tips, Tricks, & Strategies)
Ahn Waterworks Urgent Care
Cbssports Rankings
Universal Stone Llc - Slab Warehouse & Fabrication
Best Boston Pizza Places
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Wsbtv Fish And Game Report
Spiritual Meaning Of Snake Tattoo: Healing And Rebirth!
13301 South Orange Blossom Trail
Gillette Craigslist
Is Henry Dicarlo Leaving Ktla
The Collective - Upscale Downtown Milwaukee Hair Salon
Orange Park Dog Racing Results
Remnants of Filth: Yuwu (Novel) Vol. 4
Ugly Daughter From Grown Ups
Blush Bootcamp Olathe
Dentist That Accept Horizon Nj Health
Otis Offender Michigan
Where Do They Sell Menudo Near Me
Ni Hao Kai Lan Rule 34
Helloid Worthington Login
Restored Republic December 9 2022
3496 W Little League Dr San Bernardino Ca 92407
Trap Candy Strain Leafly
Topos De Bolos Engraçados
Wasmo Link Telegram
Cl Bellingham
Atu Bookstore Ozark
Nu Carnival Scenes
Myapps Tesla Ultipro Sign In
Quest Diagnostics Mt Morris Appointment
When Is The First Cold Front In Florida 2022
Famous Dave's BBQ Catering, BBQ Catering Packages, Handcrafted Catering, Famous Dave's | Famous Dave's BBQ Restaurant
Latest Posts
Article information

Author: Arielle Torp

Last Updated:

Views: 5614

Rating: 4 / 5 (41 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Arielle Torp

Birthday: 1997-09-20

Address: 87313 Erdman Vista, North Dustinborough, WA 37563

Phone: +97216742823598

Job: Central Technology Officer

Hobby: Taekwondo, Macrame, Foreign language learning, Kite flying, Cooking, Skiing, Computer programming

Introduction: My name is Arielle Torp, I am a comfortable, kind, zealous, lovely, jolly, colorful, adventurous person who loves writing and wants to share my knowledge and understanding with you.