SUNY Geneseo Department of Computer Science


Undecidability, Part 2

{Date}

CSci 141, Spring 2005
Prof. Doug Baldwin

Return to List of Lectures

Previous Lecture


Misc

Interest Questionnaires

Practice Final is on the Web

Final

Questions?

Undecidability

Is this problem undecidable: Given a method, M, does M's declaration start with the correct Java syntax (i.e., an access qualifier (public, etc.) followed by a result type followed by a name, etc.)?

How about this: Given two value-producing methods, M1 and M2, do they always return the same values (i.e., are they equivalent)?

        int reference()
            return 0

        int paradox()
            if areEquivalent(paradox, reference)
                return 1
            else
                return 0

(No More Lectures)