The correct answer is B. IS A<10.

A diamond-shaped box in a flowchart represents a decision point. The decision is made based on the value of a variable or expression. If the condition is true, the path on the right side of the diamond is followed. If the condition is false, the path on the left side of the diamond is followed.

In option A, S = B - C, S is assigned the value of B minus C. This is not a decision, so it would not be written within a diamond-shaped box.

In option B, IS A<10, the program will check if the value of A is less than 10. If it is, the path on the right side of the diamond will be followed. If it is not, the path on the left side of the diamond will be followed. This is a decision, so it would be written within a diamond-shaped box.

In option C, PRINT A, the value of A will be printed to the screen. This is not a decision, so it would not be written within a diamond-shaped box.

In option D, DATA X,4Z, data is stored in the variable X with the value 4Z. This is not a decision, so it would not be written within a diamond-shaped box.

Therefore, the correct answer is B.