What is 55 using 8-bit unsigned binary?

Answer: 00110111

Thinking: Two possible ways of answering this question expected for A Level and even at GCSE, let's start with the most common.

- Method one - consider the column headers for binary numbers.

The question says we need 8 bits, so the column headers are: 128, 64, 32, 16, 6, 4, 2, 1. (Remember, you must start at one, right to left, and double at each increment, following the pattern of powers of two - post a question if you're struggling to do this)

Now, going right to left, fill in a one underneath each header if it can be used to make up the target number, 55. So, going left to right, 128 is too big, write a zero, 64 is too big, 32 is appropriate, so write a one, 16 is appropriate, and so on.

At the end, ensure the numbers add to the target. Here, 32+16+4+2+1 = 55.

- Method two - use remainder division. 

We will continually divide the number 55 by two, until we reach a result of zero. At each step, note the result of the division and the remainder, remember we're only using whole numbers here.

55/2 = 27 remainder 1

27/2 = 13 remainder 1

13/2 = 6 remainder 1

6/2 = 3 remainder 0

3/2 = 1 remainder 1

1/2 = 0 remainder 1, we have reached zero, so stop here.

Now, read back the remainders, bottom to top to give 110111. Remember the question asks for 8 bit signed binary, so add in two zeros on the left side, to make the number fit the requirement, giving our answer of 00110111.

- Note: the question asks for 8-bit unsigned binary. You may be wondering about the importance of the word unsigned. Remember, the use of signed/unsigned relates to how the number handles the sign (positive/negative) of the number. An unsigned number can only be positive, whereas a signed number can be either positive or negative, determined by the left-most bit (0 = positive, 1 = negative), if you are struggling with this, post a question.

Joseph C. GCSE Computing tutor, IB Computing tutor, A Level Computing...

4 months ago

Answered by Joseph, an A Level Computing tutor with MyTutor

Still stuck? Get one-to-one help from a personally interviewed subject specialist


Chris D. A Level Computing tutor, A Level Maths tutor, GCSE Maths tut...
View profile
£20 /hr

Chris D.

Degree: Computer Science (with placement) (Bachelors) - Bath University

Subjects offered: Computing, Physics+ 1 more


“First year Computer Science Student, University of BathA*A*A*A in A level Mathematics, Physics, Computing and History.I'd love to pass on my knowledge of my A level subjects to anyone who needs help!I have a wealth of resources an...”

PremiumDario P. A Level Computing tutor, Mentoring Computing tutor, IB Compu...
View profile
£30 /hr

Dario P.

Degree: Computer Science (Masters) - Manchester University

Subjects offered: Computing, Maths+ 3 more


“I am Computer Science Russell Group student with experience in research and industry and strong mathematical skills, I enjoy tutoring and helping students consolidate their knowledge.”

Kyle C. A Level Computing tutor, A Level Maths tutor, GCSE Physics tu...
View profile
£20 /hr

Kyle C.

Degree: Computer Science With Electronics (Bachelors) - Edinburgh University

Subjects offered: Computing, Physics+ 1 more


“Who am I?I am a student pursuing a Computer Science degree at the University of Edinburgh. I enjoy working on theatre lighting and am also a keen fencer which is where I initially started teaching by coaching younger fencers.Sessio...”

About the author

Joseph C. GCSE Computing tutor, IB Computing tutor, A Level Computing...
View profile

Joseph C.

Currently unavailable:

Degree: Computer Science (Bachelors) - Southampton University

Subjects offered: Computing, Psychology+ 1 more


“About Me: I'm a Computer Science student at the University of Southampton. I've always had a good mind for all thingslogic and problem solving, so it's no suprise my day to day work involves lots of programming and maths. I understan...”

You may also like...

Other A Level Computing questions

What is an OOP (Object Oriented Programming) language?

Project Euler Question 3: What is the largest prime factor of the number 600851475143?

How does a HDD (Hard drive disk) work?

What is the main difference between the Stack and the Queue abstract data types?

View A Level Computing tutors


We use cookies to improve our service. By continuing to use this website, we'll assume that you're OK with this. Dismiss