TK Study

Software Engineering › Learn step by step › Y11 Programming Fundamentals

Item 79 of 426 · Year 11: Programming Fundamentals, 33 of 69

Binary search

Term Check

Jump to a topic
  1. Exam format, question types and command words (46)
  2. Year 11: Programming Fundamentals (69)
  3. Year 11: The Object-Oriented Paradigm (33)
  4. Year 11: Programming Mechatronics (29)
  5. Year 12: Secure Software Architecture (57)
  6. Year 12: Programming for the Web (59)
  7. Year 12: Software Automation (35)
  8. Year 12: The Software Engineering Project (47)
  9. Diagrams and modelling tools (18)
  10. Python, SQL, pseudocode and CSS patterns (33)

See every item in the sequence

Definition

A search on a SORTED list that checks the middle item and discards half the list each time (a divide and conquer method).

Example: Binary search needs sorted data; each step halves the search space.

Check this one: Not named in the syllabus; it appears in past SDD questions.

Found in: past SDD papers.

Where you'll use it in the test

Syllabus area: Y11 Programming Fundamentals.

Question types it can appear in

  • Multiple choice: Pick the option that matches the definition or example.
  • Code reading: Code or algorithm reading: interpret a fragment and state its output or purpose.
  • Pseudocode: Use it correctly in the exam pseudocode editor.
  • Short answer: Define, outline or explain it and tie it to the scenario.

Where it has appeared in the paper

The Software Engineering Project (Part D). Part letters follow each paper’s own layout.

Related past questions

How to use it

A model sentence

General advice, built from the definition and example above

“A search on a SORTED list that checks the middle item and discards half the list each time (a divide and conquer method).” Then apply it: Binary search needs sorted data; each step halves the search space.

In a short answer, give the definition in your own words first, then tie it to the situation in the question. Do not copy the example above unless it fits the scenario.

Command words used with it

General advice

No linked question shows the command word for this term. Across the past pseudocode and short answer questions in this bank the words used most are: Explain, Outline, Describe, Compare, Classify, Analyse. Check the actual word in your question.

Go deeper

Check yourself

Explain “Binary search” in one sentence, give an example, and name a question type that could test it.

Reveal the answer

A search on a SORTED list that checks the middle item and discards half the list each time (a divide and conquer method).

Example: Binary search needs sorted data; each step halves the search space.

Could be tested as: Multiple choice, Code reading, Pseudocode, Short answer.

Quick multiple choice

Binary search can only be used when the list is:

  1. Shorter than 10 items
  2. Made of strings
  3. Sorted
  4. Unsorted
Show the answer

C

Binary search repeatedly halves a sorted list. Linear search works on any list.

Source: original (written for this study pack; not a NESA question). Open it in the multiple-choice bank.