Hexadecimal - Units and data representation - OCR - GCSE Computer Science Revision - OCR - BBC Bitesize (2024)

Hexadecimal

In computer science, different number bases are used:

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

, also known as hex, is the third commonly used number system. It has 16 units (0-9) and the 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
Denary13
Binary1101
HexadecimalD
Denary14
Binary1110
HexadecimalE
Denary15
Binary1111
HexadecimalF

Hex is useful because large numbers can be represented using fewer digits. For example, colour values and MAC addresses are often represented in hex.

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

Hexadecimal to denary

Whereas denary place values are powers of 10, and binary place values are powers of 2, hex place values are powers of 16.

65,5364,096256161
65,536
4,096
256
16
1

Each place value can be represented by the units 0 through to F.

To convert hex to denary, simply take each place value that has a unit in it, and add them together.

65,5364,096256161
7C
65,536
4,096
256
167
1C

Result: (7 × 16) + (C × 1) = (7 × 16) + (12 × 1) = (112) + (12) = 124

Question

What would these hex numbers be in denary?

  • 11
  • 2B
  • FA

Denary to hexadecimal

The OCR specification requires you to be able to convert from denary to two-digit hex. To convert:

  • If the denary number is bigger than 16, divide it by 16. Take the hex equivalent of this result - this represents the first digit. Take the hex equivalent of the remainder - this represents the second digit.
  • If the denary number is smaller than 16, take the hex equivalent of the denary number.

Example - convert denary 22 to hex

16 goes into 22 once with 6 left over, so 22 ÷ 16 = 1 remainder 6

1 = hex 1

6 = hex 6

Result: 16

Example - convert 138 to hex

8 = hex 8

10 = hex A

Result: 8A

Converting between binary and hexadecimal

The simplest way to convert from binary to hex, and vice versa, is to convert to denary first.

Binary to hexadecimal

  1. Start at the rightmost digit and break the binary number up into groups of four digits. These are known as nibbles. If there are less than four digits, use just that number of digits for that group.
  2. Next, convert each group of four digits into denary.
  3. Convert each denary value into its hex equivalent.
  4. Put the hex digits together.

Example - 1101 to hex

1101 = denary 13

13 = hex D

Result: D

Example - 11000011 to hex

Break into groups of four - 1100 0011

1100 = denary 12 0011 = denary 3

12 = hex C 3 = hex 3

Result: C3

Example - 110011 to hex

Break into groups of four - 0011 0011. In this example, extra 0s are added at the highest values to create two groups of four bits.

0011 = denary 3 0011 = denary 3

3 = hex 3 3 = hex 3

Result: 33

Hexadecimal to binary

  1. Split the hex number into individual values.
  2. Convert each hex value into its denary equivalent.
  3. Next, convert each denary digit into binary, making sure you write four digits for each value.
  4. Combine all four digits to make one binary number.

Example - hex 28 to binary

2 = denary 2 8 = denary 8

2 = binary 0010 8 = binary 1000

Result: 00101000

Example - hex FC to binary

F = denary 15 C = denary 12

15 = binary 1111 12 = binary 1100

Result: 11111100

Question

What would these hex numbers be in binary?

  • 11
  • 2B
  • AA

Hexadecimal - Units and data representation - OCR - GCSE Computer Science Revision - OCR - BBC Bitesize (2024)

FAQs

How to revise OCR computer science GCSE? ›

To make big topics easier to digest, break them up. Students should avoid procrastination and distractions during revisions. Reading, summarising, and creating visual representations of key points help students understand a topic better. Quizzes and practice exams prove exam technique and knowledge.

How long is the OCR computer science GCSE? ›

How many exams are there? There are two exam papers at the end of the syllabus, one focusing on computer systems and one with a focus on computational thinking, algorithms and programming. Each paper lasts 1.5 hours and is worth 50% of the total GCSE.

Is OCR the hardest exam board GCSE? ›

So the “easiest” exam board to achieve a pass is OCR. It has the highest percentage of pupils (64.75%) who achieved a Grade 4 or higher. However, if you're aiming for the very top grades, Pearson Edexcel boasts the highest number of students (9.9%) achieving Grade 8 or Grade 9 results.

Is GCSE OCR computer science hard? ›

An exam board has admitted a controversial computing paper was “more difficult” this year, but top grades remained higher than pre-Covid levels after boundaries were lowered.

How hard is it to get a 9 in GCSE? ›

Grade 9 is generally awarded to those in the top 5% or 1 in 20 candidates. Know what you're aiming for and review back to your existing marks and what percentage score you need in the exam to score a 9.

What percentage of students get a 9 at GCSE computer science? ›

Here are the trends in the latest computing GCSE results for summer 2021. The proportion of grade 9 results achieved by students, equivalent to a high A* under the old GCSE system, rose to 11 per cent, compared to 8.6 per cent in 2020 and 3.6 per cent in 2019.

Is OCR or AQA science harder? ›

Here are the 2023 results statistics for the three largest exam boards. We'll look at pass rates (that's a 4 or above) for Maths, English and Science. Overall, AQA has the lowest pass rates (averaging at 77% across English, Maths and Science), while OCR has the highest average pass rates at 83.5%.

Does OCR count as a GCSE? ›

OCR Level 1 / Level 2. Cambridge National in. Studies. A Cambridge National qualification is the equivalent to a GCSE and gives you the chance to put your learning into practice, develop skills and build your confidence.

How many marks are there in OCR GCSE computer science? ›

Our GCSE (9-1) Computer Science consists of two components. Candidates must take both papers. The qualification is marked out of a total of 160 marks.

Is there coursework for OCR GCSE computer science? ›

GCSE Computer Science (OCR) Course Specification

The course consists of two externally assessed units, each worth 50% of the overall grade. There is also a coursework unit which gives students some excellent practical experience of programming, though it does not contribute to their overall grade directly.

Why is hexadecimal used in GCSE? ›

Hex is useful because large numbers can be represented using fewer digits. For example, colour values and MAC addresses are often represented in hex. Additionally, hex is easier to understand than binary. Programmers often use hex to represent binary values as they are simpler to write and check than when using binary.

How do you revise OCR? ›

Make a revision plan.

This is a great way to start. Keep the sessions in your revision plan to a maximum of 30 minutes each and vary the topics - don't keep repeating the ones you already know. Limit yourself to seven hours max of revision a day.

What is the website for OCR computer science revision? ›

KnowItAll Ninja is a premium e-learning website that covers a variety of subjects, including AQA & OCR GCSE Computer Science revision. We have been providing online learning courses to teachers and students for 7 years and are used by over 50,000 students.

Is OCR harder than AQA computer science? ›

Is OCR or AQA harder? No exam board should be easier or harder than another. While they have different paper structures and question styles, Ofqual ensures each exam board is the same in terms of difficulty.

What is the best way to revise for computer science A level? ›

Delve into A-Level Computer Science past papers to identify recurring patterns. Pay attention to the types of questions, the allocation of marks, and any particular themes emphasised. Knowing the lay of the land equips you to tailor your revision to the specific demands of the exam.

Top Articles
Is an S&P 500 Index Fund Your Best Retirement Investment? | The Motley Fool
How to Annotate | English Composition I
Katie Pavlich Bikini Photos
Gamevault Agent
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Free Atm For Emerald Card Near Me
Craigslist Mexico Cancun
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Doby's Funeral Home Obituaries
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Select Truck Greensboro
How To Cut Eelgrass Grounded
Pac Man Deviantart
Craigslist In Flagstaff
Shasta County Most Wanted 2022
Energy Healing Conference Utah
Testberichte zu E-Bikes & Fahrrädern von PROPHETE.
Aaa Saugus Ma Appointment
Geometry Review Quiz 5 Answer Key
Walgreens Alma School And Dynamite
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Dmv In Anoka
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Pixel Combat Unblocked
Umn Biology
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Rogold Extension
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Weekly Math Review Q4 3
Facebook Marketplace Marrero La
Nobodyhome.tv Reddit
Topos De Bolos Engraçados
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Holzer Athena Portal
Hampton In And Suites Near Me
Stoughton Commuter Rail Schedule
Bedbathandbeyond Flemington Nj
Free Carnival-themed Google Slides & PowerPoint templates
Otter Bustr
San Pedro Sula To Miami Google Flights
Selly Medaline
Latest Posts
Article information

Author: Melvina Ondricka

Last Updated:

Views: 5466

Rating: 4.8 / 5 (68 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Melvina Ondricka

Birthday: 2000-12-23

Address: Suite 382 139 Shaniqua Locks, Paulaborough, UT 90498

Phone: +636383657021

Job: Dynamic Government Specialist

Hobby: Kite flying, Watching movies, Knitting, Model building, Reading, Wood carving, Paintball

Introduction: My name is Melvina Ondricka, I am a helpful, fancy, friendly, innocent, outstanding, courageous, thoughtful person who loves writing and wants to share my knowledge and understanding with you.