This visual execution shows how view and pure functions work in blockchain smart contracts. View functions can read state variables but cannot change them, while pure functions cannot read or change state and only use their input parameters. The example contract has a state variable x set to 10. The getX() function is view and returns x's value without changing it. The add() function is pure and returns the sum of two inputs without accessing state. The execution table traces calls to these functions, showing their actions and return values. Variables like x remain unchanged throughout. Key moments clarify why view functions cannot modify state and why pure functions cannot access state. The quiz tests understanding of return values, function steps, and rules about state modification. The snapshot summarizes the key rules for using view and pure functions in blockchain programming.