A Novel Framework Of Exception Handling For Semantic Errors Detected In Mathematical And Computational Tools

Download

Volume 2 Issue 2 2021

Author(s):

Aurangzeb Magsi
Shah Abdul Latif University

Zulfiqar Ali Shar
Shah Abdul Latif University

Prof. Dr. Noor Ahmed Shaikh
Shah Abdul Latif University

Dr. Samina Rajper
Shah Abdul Latif University

Abstract Exceptional handling is a mechanism provide by programming languages to handle some unexpected scenarios/ errors during the program compilation and continue to precede program execution. Some semantic errors which can’t be handled by exception handling produce inappropriate results after program compilation. However, in order to deal with this issue and obtain accurate results, programmers must develop a code to reduce error ration in likewise scenarios. In this paper we introduce an extended exceptional handling framework developed in Java programming language and define the flow of the developed model. Five classes namely Plus, Minus, Division, Multiplication and Remainder are addedin the extended model to handle respective arithmetic exceptions with eight data types such as Byte, Short, Int, Long, Float, Double, Char and String. For experimentation, the developed package i.e. ZAB is imported on two software programs. To measure the complexity of the developed package, we use Cyclomatic Complexity (CC) method and calculated it for all the five classes. The calculation show that CC for Class Plus, Minus and Multi is V(G)=6.ForClassDivision and Reminder,V(G)=2 and respectively. Comparative analysis is done on the calculated results of each class and acquired output of the CC during experimentation show less complexity of Division Class. The Compatibility of Package ZAB isolates and handles semantic errors to reduce compile/run time errors commotion
Keywords Exceptional Handling, Computational Tools, Semantic Error
Year 2021
Volume 2
Issue 2
Type Research paper, manuscript, article
Recognized by Higher Education Commission of Pakistan, HEC
Category Y
Journal Name ILMA Journal of Technology & Software Management
Publisher Name ILMA University
Jel Classification --
DOI -
ISSN no (E, Electronic) 2709-2240
ISSN no (P, Print)
Country Pakistan
City Karachi
Institution Type University
Journal Type Open Access
Manuscript Processing Blind Peer Reviewed
Format PDF
Paper Link https://ijtsm.ilmauniversity.edu.pk/arc/Vol2/i2/pdf/1.pdf
Page 1-9