The present disclosure relates to a method and apparatus for automatically generating choices for an answer to a mathematical multiple-choice question, and an electronic device and a storage medium. The method comprises: acquiring stem information of a mathematical multiple-choice question, carrying out step-by-step calculation according to the stem information, and recording the step-by-step calculation process; obtaining a first result according to the step-by-step calculation process, and taking the first result as the correct choice for the mathematical multiple-choice question; and carrying out a catastrophe operation on the step-by-step calculation process, obtaining a second result according to a catastrophe operation result, and taking the second result as an incorrect choice for the mathematical multiple-choice question. In the present disclosure, a catastrophe operation can be carried out on a step-by-step stem operation process according to the stem of a mathematical multiple-choice question to automatically generate choices for an answer.
展开▼