User login

Battleships: Searching Algorithms

Source Institutions

    Computer Science Unplugged

Add to listGo to activity
Battleships: Searching Algorithms

This activity explores the main algorithms that are used as the basis for searching on computers, using different variations on the game of battleships. This activity demonstrates three search methods for finding information in data: linear searching, binary searching and hashing. It also includes an optional introductory activity as well as a video showing a fun demonstration related to the same content.

Quick Guide

Preparation Time:
Under 5 minutes

Learning Time:
30 to 45 minutes

Estimated Materials Cost:
1 cent - $1 per group of students

Age Range:
Ages 8 - adult

Resource Types:
Activity, Demonstration, Game, Lesson/Lesson Plan

English, French, Greek, Italian, Polish, Portuguese, Russian, Turkish

Materials List (per group of students)


  • Engineering and Technology
    • Computing
      • Computer Science
    • Engineering
      • Computer Engineering
  • Mathematics
    • Algebra
      • Equations and Inequalities
    • Data Analysis and Probability
      • Data Analysis
      • Data Representation
    • Geometry
      • Plane Geometry
    • Number and Operations
    • Problem Solving
    • Reasoning and Proof
    • Representation

Informal Categories

  • Computers
  • Games


To use this activity, learners need to:

  • see
  • read
  • touch

Learning styles supported:

  • Involves teamwork and communication skills
  • Involves hands-on or lab activities


User Lists

This resource is part of these lists: