Answer
a) 1
b) 0
c) 0
d) 0
Work Step by Step
The truth values of $Q(x, y)$ are 1 only if $x$ is the capital of $y$.
a) Q(Denver, Colorado)=1
b) Q(Detroit, Michigan)=0. Lansing is the capital.
c) Q(Massachusetts, Boston)=0. Massachusetts is a state, and Boston is its capital city.
d) Q(New York, New York)=0. Albany is the capital of New York.