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
How to enable SSH access using a GPG key for authentication
Are You Vested? And What It Means
3 Tick Granite Osrs
Walgreens Harry Edgemoor
Avonlea Havanese
Erika Kullberg Wikipedia
Costco The Dalles Or
Optimal Perks Rs3
Routing Number 041203824
Riegler & Partner Holding GmbH auf LinkedIn: Wie schätzen Sie die Entwicklung der Wohnraumschaffung und Bauwirtschaft…
CA Kapil 🇦🇪 Talreja Dubai on LinkedIn: #businessethics #audit #pwc #evergrande #talrejaandtalreja #businesssetup…
Skip The Games Norfolk Virginia
Rubfinder
Bbc 5Live Schedule
Stream UFC Videos on Watch ESPN - ESPN
PGA of America leaving Palm Beach Gardens for Frisco, Texas
Craigslist/Phx
Beau John Maloney Houston Tx
Free Online Games on CrazyGames | Play Now!
Cta Bus Tracker 77
Mahpeople Com Login
Gayla Glenn Harris County Texas Update
Ruse For Crashing Family Reunions Crossword
CVS Near Me | Columbus, NE
Used Safari Condo Alto R1723 For Sale
Arrest Gif
Is Holly Warlick Married To Susan Patton
Watson 853 White Oval
Doctors of Optometry - Westchester Mall | Trusted Eye Doctors in White Plains, NY
Radical Red Ability Pill
Nearest Ups Ground Drop Off
Shiny Flower Belinda
Pdx Weather Noaa
UPC Code Lookup: Free UPC Code Lookup With Major Retailers
Bad Business Private Server Commands
Los Amigos Taquería Kalona Menu
The Ride | Rotten Tomatoes
Page 5662 – Christianity Today
Cbs Fantasy Mlb
9 oplossingen voor het laptoptouchpad dat niet werkt in Windows - TWCB (NL)
20 bank M&A deals with the largest target asset volume in 2023
Armageddon Time Showtimes Near Cmx Daytona 12
All Obituaries | Sneath Strilchuk Funeral Services | Funeral Home Roblin Dauphin Ste Rose McCreary MB
Ucsc Sip 2023 College Confidential
Bustednewspaper.com Rockbridge County Va
Conan Exiles Tiger Cub Best Food
Mail2World Sign Up
Slug Menace Rs3
303-615-0055
March 2023 Wincalendar
Immobiliare di Felice| Appartamento | Appartamento in vendita Porto San
Att Corporate Store Location
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.