Hexadecimal - Binary and data representation - Edexcel - GCSE Computer Science Revision - Edexcel - BBC Bitesize (2024)

Hexadecimal

In computer science, different number bases are used:

  • is base 10, which has ten symbols (0-9)
  • is base 2 , which has two symbols (0-1)

, also known as hex, is the third commonly-used number system and is base 16. It has 16 symbols - 0-9 and the capital letters A, B, C, D, E and F.

DenaryBinaryHexadecimal
000000
100011
200102
300113
401004
501015
601106
701117
810008
910019
101010A
111011B
121100C
131101D
141110E
151111F
Denary0
Binary0000
Hexadecimal0
Denary1
Binary0001
Hexadecimal1
Denary2
Binary0010
Hexadecimal2
Denary3
Binary0011
Hexadecimal3
Denary4
Binary0100
Hexadecimal4
Denary5
Binary0101
Hexadecimal5
Denary6
Binary0110
Hexadecimal6
Denary7
Binary0111
Hexadecimal7
Denary8
Binary1000
Hexadecimal8
Denary9
Binary1001
Hexadecimal9
Denary10
Binary1010
HexadecimalA
Denary11
Binary1011
HexadecimalB
Denary12
Binary1100
HexadecimalC
Denary14
Binary1110
HexadecimalE
Denary15
Binary1111
HexadecimalF

Hexadecimal is useful because large numbers can be represented using fewer digits. For example, colour values and are often represented in hexadecimal.

Additionally, hexadecimal is easier to understand than binary. Programmers often use hexadecimal to represent binary values as they are simpler to write and check than when using binary.

Converting between binary and hexadecimal

The simplest way to convert from binary to hexadecimal, and vice versa, is to split the binary number into nibbles (four ) first, then convert each nibble to hexadecimal. A nibble can hold 16 values in its 4 bits so is useful for converting hexadecimal.

Binary to hexadecimal

  1. Start at the rightmost digit and break the binary number into nibbles.
  2. Next, convert each nibble into hexadecimal
  3. Put the hexadecimal digits together.

Example: 11000011 to hexadecimal

Break into nibbles: 1100 0011.

1100 = hexadecimal C and 0011 = hexadecimal 3. Remember, this is hexadecimal base 16 symbol 3, not denary symbol 3.

Result: C3

Example: 00110011 to hexadecimal

Break into nibbles: 0011 0011.

0011 = hexadecimal 3 and 0011 = hexadecimal 3

Result: 33

Hexadecimal to binary

  1. Split the hexadecimal number into individual digits.
  2. Convert each hexadecimal digit into its binary equivalent (a nibble).
  3. Combine the nibbles to make one binary number.

Example: hexadecimal 28 to binary

2 = binary 0010 and 8 = binary 1000

Result: 00101000

Example: hexadecimal FC to binary

F = binary 1111 and C = binary 1100

Result: 11111100

Question

What would these hexadecimal numbers be in binary?

  1. 11
  2. 2B
  3. AA

Hexadecimal - Binary and data representation - Edexcel - GCSE Computer Science Revision - Edexcel - BBC Bitesize (2024)
Top Articles
Summary of the Accessible Canada Regulations
Mutual Fund Volatility Ranking, India | Advisorkhoj
This website is unavailable in your location. – WSB-TV Channel 2 - Atlanta
Ffxiv Act Plugin
Bild Poster Ikea
Lexi Vonn
I Make $36,000 a Year, How Much House Can I Afford | SoFi
Goodbye Horses: The Many Lives of Q Lazzarus
Rabbits Foot Osrs
More Apt To Complain Crossword
Crime Scene Photos West Memphis Three
Which Is A Popular Southern Hemisphere Destination Microsoft Rewards
Keurig Refillable Pods Walmart
The Connecticut Daily Lottery Hub
Oro probablemente a duna Playa e nomber Oranjestad un 200 aña pasa, pero Playa su historia ta bay hopi mas aña atras
272482061
Rams vs. Lions highlights: Detroit defeats Los Angeles 26-20 in overtime thriller
Grayling Purnell Net Worth
Vandymania Com Forums
Georgetown 10 Day Weather
Sea To Dallas Google Flights
U Of Arizona Phonebook
Exl8000 Generator Battery
Munis Self Service Brockton
Www.craigslist.com Austin Tx
Apartments / Housing For Rent near Lake Placid, FL - craigslist
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Kirk Franklin Mother Debra Jones Age
What Is a Yurt Tent?
Expression Home XP-452 | Grand public | Imprimantes jet d'encre | Imprimantes | Produits | Epson France
Ewg Eucerin
Home Auctions - Real Estate Auctions
Autotrader Bmw X5
Southern Democrat vs. MAGA Republican: Why NC governor race is a defining contest for 2024
Jennifer Reimold Ex Husband Scott Porter
School Tool / School Tool Parent Portal
Ewwwww Gif
Reborn Rich Ep 12 Eng Sub
Toonily The Carry
RALEY MEDICAL | Oklahoma Department of Rehabilitation Services
Vision Source: Premier Network of Independent Optometrists
What Is Kik and Why Do Teenagers Love It?
Seminary.churchofjesuschrist.org
Exploring the Digital Marketplace: A Guide to Craigslist Miami
Grizzly Expiration Date Chart 2023
Streameast Io Soccer
Ups Customer Center Locations
Yosemite Sam Hood Ornament
Egg Inc Wiki
Washington Craigslist Housing
Uncle Pete's Wheeling Wv Menu
Fishing Hook Memorial Tattoo
Latest Posts
Article information

Author: Sen. Ignacio Ratke

Last Updated:

Views: 6763

Rating: 4.6 / 5 (56 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Sen. Ignacio Ratke

Birthday: 1999-05-27

Address: Apt. 171 8116 Bailey Via, Roberthaven, GA 58289

Phone: +2585395768220

Job: Lead Liaison

Hobby: Lockpicking, LARPing, Lego building, Lapidary, Macrame, Book restoration, Bodybuilding

Introduction: My name is Sen. Ignacio Ratke, I am a adventurous, zealous, outstanding, agreeable, precious, excited, gifted person who loves writing and wants to share my knowledge and understanding with you.