Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3801126
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T14:00:00+00:00 2026-05-19T14:00:00+00:00

I’m brushing up on my software testing theory and came across an interesting phenomenon

  • 0

I’m brushing up on my software testing theory and came across an interesting phenomenon called the Oracle problem. I’ve picked up bits and pieces as to what the problem alludes to but haven’t yet pieced it all together.

One rather dark version of the problem goes a little something like this:
An island has 100 inhabitants. Each of the inhabitants has either green or blue eyes. None of the inhabitants are allowed to communicate with each other to let them know what color eyes they have, nor are there any reflective surfaces in which the inhabitants can see their own eye colors. Basically everyone knows what color eyes everyone has but none of them know what color eyes they themselves have. The rule on the island is that if you find out that you have blue eyes you must kill yourself. The island’s population remains stable until one day an oracle arrives and tells the inhabitants that some people on the island have blue eyes.

The question is what happens to the people?

An answer I found is that 100 days later the last person on the island kills themselves.

I have no clue how this makes sense and I was hoping that someone could help relate this problem back to software testing. Thanks for coming on the journey and I look forward to some interesting responses.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T14:00:01+00:00Added an answer on May 19, 2026 at 2:00 pm

    First, to understand the puzzle, add one detail: if you find out that you have blue eyes, you commit suicide at midnight, in privacy. Nobody knows you’re dead until morning. Now try a few versions of the problem with fewer people:

    1. There is only one inhabitant. The oracle arrives and says “there is at least one inhabitant with blue eyes”. The outcome should be obvious.
    2. There are two inhabitants. Again, the oracle says “there is at least one inhabitant with blue eyes. Try to figure out what might happen. Is it possible that neither of them dies on the first night?
    3. Now try three inhabitants, same pronouncement from the oracle.
    4. Now three, but the oracle says “there are at least two inhabitants with blue eyes”.

    And so on. You may have noticed that the oracle must have an interesting property for this to work: it is truthful, and everybody knows about this property. This means that everyone knows that everyone knows that the oracle is truthful, and everyone knows it, and so on. The fact of a death is also common knowledge: if Sam dies in the night, everyone knows that he killed himself, and everyone knows that everyone else knows it, and so on.

    So what does this have to do with software testing? I don’t consider it a very good analogy, but the idea is that you can test a piece of software against something, some standard, to see if it gives the correct answer. The standard might be another piece of software, or the same software in a previous run, or theoretical results, or whatever. But how do we know the standard is correct? It would be really good to have a standard which is correct, and which everyone knows is correct, and which everyone knows everyone knows is correct, and so on.

    EDIT:
    P.S.: there may be some confusion because in computer science the term “oracle” also refers to a theoretical device that can solve problems which a Turing machine cannot solve, such as the Halting Problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
Seemingly simple, but I cannot find anything relevant on the web. What is the
Does anyone know how can I replace this 2 symbol below from the string
this is what i have right now Drawing an RSS feed into the php,
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.