Describe the process of a binary search.

A binary search requires a ordered list. The search first finds the data entry in the middle of the list, and checks whether it is larger or smaller than the data it is looking for. It then removed half the list creating a sublist. The process will repeat until the data it checks is equal to the data it is searching for.

Eg: "1 2 4 5 6 7 10" and we are searching for 6

First look at middle number "5" which is smaller than 6 so we remove that half of the list leaving "6 7 10" then we look at 7 which is larger than 5, so we remove that half of the list leaving "6" we then check 6 and have found the number we were looking for.

Michael T. A Level Maths tutor, GCSE Maths tutor, A Level Computing t...

1 year ago

Answered by Michael, an A Level Computing tutor with MyTutor

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


£30 /hr

Michelangelo M.

Degree: MMath Mathematics with Placement (Masters) - Bath University

Subjects offered:Computing, Maths+ 4 more

Further Mathematics

“Mathematics student at the University of Bath, willing to help you love this subject and improve your grades.”

£22 /hr

Jay L.

Degree: Computer Science (Masters) - Bristol University

Subjects offered:Computing, Maths+ 1 more


“About me: Hi, I’m Jay, a first year Computer Science student at the University of Bristol! I am here to help students prepare for their exams (GCSE, AS/A Level etc) in Maths and Computing. My teaching style can vary depending on how y...”

£26 /hr

Lauren G.

Degree: Technology Enhanced Learning (Masters) - Durham University

Subjects offered:Computing, Physics+ 2 more


“Hello! I'm currently a Master's student studying Technology Enhanced Learning at Durham University. I completed my undergrad last year in Natural Sciences with Maths and Computer Science, also from Durham.  I am very passionate about ...”

About the author

Michael T.

Currently unavailable: for new students

Degree: MMath (Masters) - Durham University

Subjects offered:Computing, Physics+ 1 more


“About Me: I am currently studying Mathematics at Durham University. Maths can sometimes be intimidating, but it's that which makes it so rewarding when it all starts to make sense. I have been teaching in one form or another since 13...”

You may also like...

Posts by Michael

∫ log(x) dx

Describe a queue data structure.

Describe a stack data structure.

Describe the process of a binary search.

Other A Level Computing questions

Why are bit patterns often displayed in hexadecimal notation instead of binary notation?

What is the denary equivalent of the hexadecimal number A7?

Describe a stack data structure.

What is the difference between simplex, half duplex and full duplex?

View A Level Computing tutors

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