\$Vi\$ can take two values either logic 0 or logic 1. How will output \$Vo\$ vary with \$Vi\$ in this opamp configuration?
simulate this circuit – Schematic created using CircuitLab
It is is an inverting amplifier so output will be \$Vo=-\dfrac{R1}{R2}Vi\$ for large voltage gain.
But \$R2=0\$. So \$Vo\$ is tending to infinity.
So for logic 1, the output is -15V as that is the maximum supply voltage supplied to the opamp.
Similarly for logic 0, the output should be -15V only.
But when I simulated the circuit I got output 0 for logic 0. I don't know why.