qnli question: During what war were the first digital computers invented? sentence: In World War II, mechanical analog computers were used for specialized military applications such as calculating torpedo aiming.