A framework for general discrete probability calculations | Digital Library | PAMCET | PAMCET