The correct answer is A. Step function.
A step function is a function that takes a value of 0 for inputs below a certain threshold and a value of 1 for inputs above that threshold. This is the same as the function described in the statement, where the perceptron outputs a 0 if the weighted sum of the inputs is below a certain value and a 1 if it is above that value.
The Heaviside function is a step function that takes a value of 0 for inputs below 0 and a value of 1 for inputs above 0. The logistic function is a sigmoid function that takes a value of 0 for inputs close to negative infinity and a value of 1 for inputs close to positive infinity. The perceptron function is a nonlinear function that is used in artificial neural networks. It is not a step function.