Project 2: X definition

In Project 2’s background it’s not clear what is the output x when valid=0, it only defines x when valid=1. Should I assume that x=0 when valid=0?

x is undefined when \mathit{valid} = 0.
We will not check the value of x when \mathit{valid} = 0.